You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
I0000 00:00:1716634070.527626 12896 gl_context_egl.cc:85] Successfully initialized EGL. Major : 1 Minor: 5
I0000 00:00:1716634070.574726 12958 gl_context.cc:357] GL version: 3.2 (OpenGL ES 3.2 NVIDIA 535.171.04), renderer: NVIDIA GeForce RTX 3060/PCIe/SSE2
[ WARN:0@0.386] global cap.cpp:204 open VIDEOIO(V4L2): backend is generally available but can't be used to capture by name
Failed to open camera: /dev/video0. retrying...
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
[ WARN:0@1.388] global cap.cpp:204 open VIDEOIO(V4L2): backend is generally available but can't be used to capture by name
Failed to open camera: /dev/video0. retrying...
^CTraceback (most recent call last):
File "/home/ufechner/.local/bin/lfbw", line 8, in <module>
sys.exit(main())
File "/home/ufechner/.local/lib/python3.10/site-packages/lfbw/lfbw.py", line 547, in main
cam = FakeCam(args)
File "/home/ufechner/.local/lib/python3.10/site-packages/lfbw/lfbw.py", line 123, in __init__
self.real_cam = RealCam(self.webcam_path,
File "/home/ufechner/.local/lib/python3.10/site-packages/lfbw/lfbw.py", line 24, in __init__
time.sleep(1)
KeyboardInterrupt
My video devices:
ufechner@ufryzen:~/repos/Linux-Fake-Background-Webcam$ ls -l /dev/video*
crw-rw----+ 1 root video 81, 0 mei 25 11:41 /dev/video0
crw-rw----+ 1 root video 81, 1 mei 25 11:41 /dev/video1
crw-rw----+ 1 root video 81, 2 mei 25 11:41 /dev/video2
crw-rw----+ 1 root video 81, 3 mei 25 11:41 /dev/video3
Any ideas how to debug this issue?
Using:
ffplay /dev/video2
shows the webcam content on the screen...
The text was updated successfully, but these errors were encountered:
This happened to me because I wasn't loading the kernel modules. In your case it seems that video2 is already tied to a physical camera so you should execute sudo modprobe v4l2loopback devices=1 exclusive_caps=1 video_nr=2 card_label="fake-cam" changing video_nr to something that is available and use that as argument for the -v flag.
I try to run:
and get the output:
My video devices:
Any ideas how to debug this issue?
Using:
shows the webcam content on the screen...
The text was updated successfully, but these errors were encountered: