How to write / connect to a virtual webcam created by the V4L2loopback module?

I wrote an application that reads from a webcam and processes frames using OpenCV on linux. Now I want to transfer the output of my application to the virtual webcam created by the V4L2loopback module so that other applications can read it. I wrote an application using C. I'm not sure how to approach this. Could you give me some hints?

+5
source share
1 answer

I found the answer on the old page of the V4L2loopback module in Google code.

http://code.google.com/p/v4l2loopback/source/browse/test.c

newer link: https://github.com/umlaeute/v4l2loopback/blob/master/examples/test.c

.

+5

All Articles