Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OBS doesn't see V4L loopback devices as inputs #132

Closed
ali1234 opened this issue Sep 2, 2021 · 1 comment
Closed

OBS doesn't see V4L loopback devices as inputs #132

ali1234 opened this issue Sep 2, 2021 · 1 comment

Comments

@ali1234
Copy link

ali1234 commented Sep 2, 2021

How to reproduce:

  1. Install v4l2loopback-dkms
  2. sudo modprobe v4l2loopback max_buffers=2 exclusive_caps=1 video_nr=10 card_label="VirtualCam"
  3. Start a program such as backscrub which feeds the loopback: backscrub -c /dev/video0 -v /dev/video10 -m /usr/share/backscrub/models/selfiesegmentation_mlkit-256x256-2021_01_19-v1215.f16.tflite -d -d
  4. See the preview window from backscrub indicating that everything is working
  5. Open obs-studio
  6. Add a V4L2 capture source
  7. "VirtualCam" is not listed in the available sources
  8. Run mpv av://v4l2:/dev/video10 and see the virtual camera output. Close it.
  9. Run any other program that captures video such as Skype, Firefox etc and see that VirtualCamera is available.
@ali1234
Copy link
Author

ali1234 commented Sep 2, 2021

Source configuration not showing the VirtualCam input:

snap

What it looks like for someone who does all the above but using OBS 26.1.2 from Debian 11:

nonsnap

See floe/backscrub#105 for more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant