Ask Your Question

Stream OpenCV output to a virtual camera

asked 2018-05-16 07:29:36 -0500

I am working on a OpenCV project manipulating a stream from camera. I want to be able to have a virtual camera to have my manipulated video so that I could use applications that can use a camera source to have my manipulated video stream. I read about V4l2loopback but it is only available on linux.

Is there anyway I could do that?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-05-16 09:28:47 -0500

berak gravatar image

updated 2018-05-16 09:30:56 -0500

unless you built opencv with gstreamer support (then you can use gstreamer pipelines with VideoWriter), it does not have any means to do so.

the easiest way would probably be to use an external app, ffmpeg / gstreamer / vlc to stream it to ip

edit flag offensive delete link more


I did build OpenCV with gstreamer support. Can you please point me in the right direction?

atalpha gravatar imageatalpha ( 2018-05-16 09:44:20 -0500 )edit

Question Tools

1 follower


Asked: 2018-05-16 07:29:36 -0500

Seen: 894 times

Last updated: May 16 '18