You are not logged in.
Pages: 1
Topic closed
Hi everyone!
I have a webcam Logitech HD Webcam C525 fully functional with driver linux-uvc following the wiki. I can use it without problems in cheese or skype and more.
But I can't use it in both applications at the same time, the first application gets the webcam and the second application don't find the webcam, don't mind the order and the applications, it is like that only one application can use the webcam at the same time.
Is there any way to share the webcam between two or more applications?
Greetings!
Offline
I know there is software for Windows which creates a virtual webcam so multiple apps can access the same webcam simultaneously (kinda like what a sound server does, but for webcams). But I don't know whether something similar exists on Linux.
In theory it should be possible to have an application which reads from the original video device and creates multiple virtual devices so you can point each app to a separete virtual device. But I too couldn't find an existing implementation of this.
Offline
Thanks for the idea. I found something but is not complete working
Needed v4l2loopback and ffmpeg to achieve it
modprobe v4l2loopback devices=2
ffmpeg -f video4linux2 -s 800x600 -i /dev/video0 -codec copy -f v4l2 /dev/video1 -codec copy -f v4l2 /dev/video2
That create two virtual cameras and working with two instance of vlc. There's little delay in the image. But none of them was recognized by cheese or skype. I will keep researching about this.
Offline
Have any of you seen https://askubuntu.com/q/165727/1002900? It may answer this for you.
When using a forum, remember to tag the person you are responding to, in case they are not subscribed to the thread.
Offline
This thread is ten years old. Please do not necrobump.
Closing.
Offline
Pages: 1
Topic closed