Enable virtual camera in OBS Studio on Fedora

By default on Fedora, when you install the package obs-studio you might not see the “Start virtual camera” button.

The reason is that OBS is expecting a v4l2loopback module to be loaded.


In order to do so, you will need to enable rpmfusion repositories and install the package “v4l2loopback”:

sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-34.noarch.rpm
sudo dnf install v4l2loopback kmod-v4l2loopback

Then insert the module:

sudo modprobe v4l2loopback devices=1 max_buffers=2 exclusive_caps=1 card_label="VirtualCam"

If modprobe fails try this before rerunning the modprobe command:

sudo depmod

You can configure some settings for your new virtual camera with v4l2loopback-ctl.

OBS Studio

Now, start OBS Studio and you should see the “Start virtual camera” menu in the lower right corner.

The virtual camera allows you to inject pictures, logos, text, video streams (using VLC), etc. in your original webcam stream.

When in Zoom, Google Meet, Webex or others, simply choose the virtual camera as your video input device, and your audience should whatever you added in OBS Studio.

Have fun!

Thanks for reading this post!

Did you find an issue in this article?

- click on the following Github link
- log into Github with your account
- click on the line number containing the error
- click on the "..." button
- choose "Reference in new issue"
- add a title and your comment
- click "Submit new issue"

Your feedback is much appreciated! πŸ€œπŸΌπŸ€›πŸΌ

You can also drop me a line below!