question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

V4l2loopback does not work as a video input

See original GitHub issue

Description

I use OBS with a v4l2 loopback to be able to ‘chroma’ my background while video-chating. It is useful for me, it really gives me flexibility to share screen+video etc. I am unable to feed from the v4l2loopback to jitsi. The setup is working everywhere else, hangouts, googlemeet, skype web, and even webcamtests.com. Issue seems to match #1964

Current behavior

Jitsi refuses to accept the v4l2loopback input. It is not listed at the browser pop-up that asks for permissions. It can be listed in the settings within the chat-roomt, but it refuses to use it. I can see it advertised in the browser jsconsole in: [features/base/devices]

Expected Behavior

Being able to choose v4l2loopback as a video device.

Environment details

I am using Linux 5.5.8 with Firefox 73. It happens with other browsers (chromium) and linux versions.
OBS 24 and v4l2loopback-dkms 0.12.3. obs-v4l2sink as plugin.

Steps to reproduce

install all the above modprobe v4l2loopback exclusive_caps=1 obs»tools»v4l2sink start go to a room meet.jit.si the “dummy device” wont appear in the permission pop-up

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
dromercommented, Apr 1, 2020

For chromium you need to load the module with exclusive_caps=1

What I currently use: sudo modprobe v4l2loopback devices=1 video_nr=10 card_label="OBS Cam" exclusive_caps=1

[edit: ah you already are using this parameter. I ended up compiling obs + v4l2loopback + obs-v4l2sink from scratch because I wanted to root out anything to do with old versions. newer obs has nice features too]

3reactions
DavidScommented, Sep 17, 2020

Using the instance at https://meet.jit.si/ chromium now picks up the virtual webcam automatically. Firefox still doesn’t offer it to choose when asking for permission.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Trying to set up virtual webcam - it's not working | OBS Forums
sudo modprobe v4l2loopback 4-ls/dev/video* It gives me: /dev/video0 /dev/video1 /dev/video2 5-Open OBS, go in tools. See the option is not ...
Read more >
1622628 - v4l2loopback camera not detected by webRTC
I created a loopback video device with the latest v4l2loopback (compiled from ... As noted, it is working reliably in some sites but...
Read more >
v4l2loopback devices not showing in applications
3). I normally start the loopback device with the following: sudo modprobe v4l2loopback video_nr=99 card_label="OBS Video Source" exclusive_caps ...
Read more >
When using ffmpeg as producer I cannot see v4l2loopback ...
When I am using ffmpeg as a producer I am able to see the device in Firefox and Zoom but not in Chrome....
Read more >
Problem with creating a virtual camera with v4l2loopback
[ error ] ofGstUtils: gstHandleMessage(): embedded video playback halted for plugin, module capsfilter1 reported: Filter caps do not ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found