I'd like to be able to capture input from a webcam to to separate programs. One for VoIP, and one for capture.
The problem is - Linux will allow only one process to access a V4L2 device, so once I run the videochat, the capture will get black frames, if I start the capture program first, the videochat will get black frames.
How can I solve this? Is there a way to allow multiple processes to access a single /dev/video
device? Or maybe I can clone the /dev/video0
and create a /dev/video1
somehow?