Questions tagged [v4l2loopback]

v4l2loopback is a linux kernel module to create virtual video devices.

43 questions
11
votes
1 answer

Why can multiple consumers access a *single* v4l2-loopback stream from a webcam

I recently needed a single webcam to be shared simultaneously by 3 applications (a web browser, a videoconferencing app, and ffmpeg to save the stream). It's not possible to simply share the /dev/video* stream because as soon as one application is…
justyn
  • 143
  • 7
8
votes
2 answers

Adding and removing v4l2-loopback devices?

I have different lxc containers running on my machine and a webcam is also attached. I want all of the lxc containers to access this camera. I came across 'v4l2-loopback' devices and found a way to add devices using; modprobe v4l2loopback…
beenum
  • 81
  • 1
  • 1
  • 2
8
votes
1 answer

How to create dummy webcam?

I would like to join some videoconference, but I don't own a webcam and the conference software requires one. So my question is, can I create a dummy one? I don't care what the cam will cast, I just need to appear to have one.
Pitel
  • 511
  • 1
  • 6
  • 13
5
votes
1 answer

How to create a v4l2 device that is a cropped version of a webcam?

I have a Logitech Webcam C930e on /dev/video0. I can use this for doing video conferences (e.g. jitsi). However, the video from this webcam is too high and too broad. I would like to have a "cropped" version of /dev/video0 that does not show the…
Markus
  • 301
  • 3
  • 9
4
votes
1 answer

v4l2loopback devices not showing in applications

I have been successfully using v4l2loopback, with v4l2sink in OBS, to "send" my obs preview panel output to Zoom. The v4l2loopback devices have recently stopped showing in Zoom, Firefox & Brave. However, I can confirm the loopback is viewable in…
3
votes
1 answer

Webcam stopped working after updating Arch Linux

I updated 2 days ago and my webcam stopped working. The following softwares do not detect my built-in webcam: Zoom Discord Chromium /dev/video is not present. /dev/video0 is not present. The camera works fine in MS Windows. I've…
ei2
  • 41
  • 1
  • 7
2
votes
0 answers

How to receive "v4l2-ctl --stream-to-host" stream from a machine on the same LAN on said host for use with, e.g., video conferencing software?

There is an example that streams a webcam to another computer by piping a V4L2 stream into netcat (v4l2-ctl --stream-to - | nc ), and this works, but it feels redundant when v4l2-ctl --stream-to-host [:] exists. I was able…
Alex
  • 121
  • 3
2
votes
0 answers

After having updated Fedora, v4l2loopback does not work anymore

After having upgraded from Fedora 33 to Fedora 34, it seems that v4l2loopback does not work anymore. I did install v4l2loopback-dkms from https://copr.fedorainfracloud.org/coprs/sentry/v4l2loopback/ and rebooted, but the problem persists. Now, I…
PaulS
  • 121
  • 2
2
votes
1 answer

How to best install v4l2loopback on Linux Mint?

I am trying to create a virtual webcam from OBS(26.1.1) so I can feed it to Zoom. I am Linux Mint 20.1 Cinnamon, version 4.8.6, Kernel 5.4.0-64-generic. I did: sudo apt-get install v4l2loopback-dkms sudo apt-get install v4l2loopback-utils but…
Karl Berggren
  • 33
  • 1
  • 3
2
votes
1 answer

modprobe: FATAL: Module v4l2loopback not found in directory

I run a debian 10 with kernel 5.9.0.0 I installed v4l2loopback from the official repo, as in sudo apt install v4l2*, which installed sudo apt install v4l2* Reading package lists... Done Building dependency tree Reading state information...…
arteteco
  • 31
  • 1
  • 1
  • 5
2
votes
1 answer

ffmpeg v4l2 driver changes framerate of Logitech c920 camera

I own a Logitech c920 camera which seems to be able to do at least 24fps for 1080p (although the specs say it should go up to 60), according to vlc -vvv --color v4l2:///dev/video0 --run-time 1 vlc://quit -I dummy -V dummy -A dummy for which I get…
Paulo Matos
  • 215
  • 2
  • 3
  • 12
2
votes
1 answer

Why are my colors separated/shifted when using obs/v4l2sink/v4l2loopback?

Im using OBS with v4l2sink and v4l2loopback to edit my video for a remote trainig. The preview in obs looks fine, but the video has some serious color shifts in any tool I try to display the v4l2loopack I'm directing the sink to. View from…
hd42
  • 121
  • 3
1
vote
1 answer

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 the add command of v4l2loopback-ctl but this is…
John
  • 11
  • 1
1
vote
1 answer

v4l2loopback /dev/video2 Not being created

Running: Arch Linux, using package "v4l2loopback-dkms" Software I'm trying to get running: https://github.com/fangfufu/Linux-Fake-Background-Webcam This software uses v4l2loopback, which I've setup a few times successfully. I have two files to load…
1
vote
2 answers

Error building v4l2-loopback driver on pi400

I'm trying to turn my phone webcam into a "fake webcam" for my raspberry pi 400, but I get an error: Anas@raspberrypi:~/Downloads/server/v4l2loopback $ make Building v4l2-loopback driver... make -C /lib/modules/`uname -r`/build…
1
2 3