Questions tagged [v4l2loopback]
v4l2loopback is a linux kernel module to create virtual video devices.
51 questions
1
vote
1
answer
62
views
Do v4l2loopback virtual video loopback devices support metadata streams?
I'm trying to attach timestamp metadata to the virtual loopback devices I've spun up. However, when I use the VIDIOC_QUERYCAP() ioctl (https://www.kernel.org/doc/html/v5.2/media/uapi/v4l/dev-meta.html)...
1
vote
0
answers
356
views
OBS Studio Virtual Camera: Failed to start streaming on '/dev/video2'
Distribution: Arch Linux
OBS Version: 31.0.3
Kernel Version: 6.14.2-arch1-1
v4l2loopback-utils Version: 0.14.0-1
vulkan-radeon Version: 25.0.3-1
> v4l2-ctl --list-devices
OBS Virtual Camera (...
2
votes
0
answers
247
views
UVC Simulated Webcam Not Recognized as USB Device on Raspberry Pi Zero 2W
I am trying to create a USB device that can be plugged in to a computer and will appear as a webcam, but instead of having a camera, it will stream video from an MP4 file on the device filesystem.
The ...
2
votes
1
answer
191
views
How can I mock up a screen share?
I can use v4l2loopback to create a dummy video device, Xephyr to create a nested X server in its own window, and a gst pipeline to link the two so that the contents of the Xephyr window appear as my ...
4
votes
2
answers
679
views
I want to write a script that simultaneously renders what's on my webcam to a window on my screen and records a video
I have tried a combination of:
v4l2loopback
ffmpeg
mpv
But either the web-cam view, or the web-cam record works, but never both together.
Can anyone provide a script that achieves this?
This is what ...
0
votes
1
answer
426
views
Using OBS with Virtual Camera on Debian Bookworm
I just installed OBS on Debian Bookworm and two things became apparent immediately:
"Screen Capture" only outputs a black screen.
There is no button under "Controls" for starting ...
1
vote
1
answer
118
views
Open v4l2loopback device with O_NONBLOCK
I'm writing a python library called linuxpy which supports V4L2.
One of the features is being able to open de V4L2 device in non blocking mode (O_NONBLOCK) to be cooperative with python async/await.
I ...
1
vote
1
answer
563
views
dkms install v4l2loopback-dc/2.1.2 fails
While updating my Archlinux packages with _ packman -Syu, I see that dkms fails to install modules:
(11/23) Install DKMS modules
==> dkms install --no-depmod v4l2loopback-dc/2.1.2 -k 6.8.5-arch1-1
...
0
votes
0
answers
1k
views
How to get v4l2loopback to work on Android, emulate webcam?
Several weeks, like WhatsApp web, 2chat API etc., Require one to scan a barcode on another device to active it.
To get around this on an Android one should be able to make a virtual webcam that is ...
0
votes
1
answer
332
views
Issues compiling V4L2loopback on raspberry pi bookworm
I installed the latest version of raspios, here is the uname -a
Linux raspberrypi 6.1.21+ #1642 Mon Apr 3 17:19:14 BST 2023 armv6l GNU/Linux
I git cloned V4l2loopback and tried compiling after ...
0
votes
0
answers
92
views
Replacing Phone Internal Camera with Video Footage using v4l2loopback
I'm currently exploring the possibility of replacing my phone's internal camera feed with video footage using v4l2loopback. My goal is to have applications on my phone use a predefined video as if it ...
0
votes
1
answer
234
views
Chromium cannot read camera: Dequeued v4l2 buffer contains invalid length #561
I installed the v4l2loopback kernel module on my machine and enabled it with sudo modprobe v4l2loopback exclusive_caps=1.
I created a camera on /dev/video0 with the rust bindings and started piping a ...
0
votes
1
answer
477
views
Internal Data Stream Error Reading v4l2 Virtual Cameras with Gstreamer Pipeline
I'm using v4l2loopback to create 2 virtual cameras that I can then stream an mp4 into and simultaneously read from those cameras with a gstreamer pipeline as if the mp4 was the video being recorded by ...
1
vote
1
answer
243
views
v4l2loopback-ctl version on debian packages
I would like to use v4l2loopback on a debian (Bookworm) machine. I've installed v4l2loopback-utils package (version 0.12.7-2) but when i run v4l2loopback-ctl --version the result is 0.6.
I need to use ...
0
votes
1
answer
228
views
Virtual Camera on OBS is Flipped
When I use the Virtual Camera on OBS with v4l2loopback it is flipping the video in the x-axis. Is there a way to reverse it back to normal?