Ask Your Question
0

Stream OpenCV output to a virtual camera

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

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
0

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

berak gravatar image

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

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

Comments

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 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 1,211 times

Last updated: May 16 '18