diddlesnaps / fakecam

Virtual Backgrounds for your video conferences and streaming presentations
Other
47 stars 10 forks source link

Doesn't work with Zoom on Linux #9

Open curtisklarsen opened 3 years ago

curtisklarsen commented 3 years ago

I can play the output with VLC and other apps, and I can see the option for "fakecam" in Zoom, but if I choose it I get a black square box with no video.

jpenguin commented 3 years ago

duplicate of https://github.com/diddlesnaps/fakecam/issues/4

The lateast edge release is working for me now, if you still have issueass; creat a second virtual camera and ffmpeg -f v4l2 -i /dev/video20 -pix_fmt yuv420p -f v4l2 /dev/video21

ghost commented 3 years ago

You should install akvcam, just work fine for Zoom.

Virtual Camera (output device) (platform:akvcam-2):
    /dev/video2

Canon XJ4123R Webcam (platform:akvcam-3): ->> adjust the video settings in Zoom (Video->Camera)
    /dev/video3

fakecam (platform:v4l2loopback-000):
    /dev/video20

USB2.0 HD UVC WebCam: USB2.0 HD (usb-0000:00:14.0-6):
    /dev/video0
    /dev/video1
fakecam --input=/dev/video0 --resolution=640x480 --background=foobar.jpg --hologram
acheronfail commented 3 years ago

Interestingly, I have the latest version of this installed (2.2.0, --edge) and Zoom still just shows a black screen without any video. It's clearly working since fakecam's GUI shows an image, and I can also view the output with VLC/mpv/etc.

As stated above the following snippet works with Zoom:

ffmpeg -f v4l2 -i /dev/video20 -pix_fmt yuv420p -f v4l2 /dev/video21

I wonder what the difference is in virtual cameras between fakecam and ffmpeg? :thinking: