How do I simulate a webcam?

I just can't... v4l2loopback just doesn't get detected. (Simply does nothing even when I pipe all the video to /dev/video0 using ffmpeg). I can't join any web meetings because my webcam is broken. Any help?

1

1 Answer

Update

With the release of OBS Studio 26.1 on 14th December 2020, virtual camera support has been added for Linux without the need of any external plugins.

You can install OBS Studio normally with your preferred method, both snap, and apt are fine.

Then you should install v4l2loopback, a kernel module for Linux. You can follow the instructions starting from #build to #install.

git clone
cd v4l2loopback
make
sudo make install
sudo depmod -a

Once v4l2loopback is installed, you can launch OBS Studio (or restart if you already had it open) and it will detect the new kernel module automatically and be capable of outputting a virtual camera.

Previously

You can do so with OBS Studio (GitHub) on Linux by using the OBS Virtualcam plugin.

Does this plugin support other platforms?

For Linux, you can use the Video4Linux sink plugin for OBS Studio. Directions on how to configure it are available from that link.way to provide a similar plugin for macOS, but there is no ETA.

Linux version here:

On Windows I believe hosting a virtual camera is a native feature of OBS Studio, unfortunately for Linux, it requires installing a plugin.

9

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like