Fedora 31 and 32 RPM package for OBS Studio v4l2sink plugin
The RPM has been created extracting the library from the available Ubuntu package from repo's releases. The v4l2loopback
dependency has been resolved thanks to a Fedora Copr repo
This will place the plugin inside /usr/lib64/obs-plugins/v4l2sink.so
that can be used after the virtual camera device has been created.
You have to load the module v4l2loopback
before using the plugin from OBS.
I created a Fedora Copr repo for this RPM, in order to resolve all dependencies.
It will install obs-studio
package from RPM Fusion and v4l2loopback
package from copr/sentry
Follow doc for your Fedora version: https://rpmfusion.org/Configuration
For Fedora 32:
$ sudo dnf install -y https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-32.noarch.rpm
$ sudo dnf copr enable bluesman/obs-v4l2sink
$ sudo dnf install --nogpgcheck obs-v4l2sink
The GPG check fails on sentry
repo, skipping for the moment will let those install.
Follow doc for your Fedora version: https://rpmfusion.org/Configuration
Install from Copr
$ sudo dnf copr enable sentry/v4l2loopback
$ sudo dnf install -y obs-v4l2sink-0.1.0-1.fc32.x86_64.rpm
Install obs-studio
and v4l2loopback
$ dnf install -y obs-studio v4l2loopback
Install the RPM:
$ rpm -ivh obs-v4l2sink-0.1.0-1.fc32.x86_64.rpm
Start module:
$ sudo modprobe v4l2loopback video_nr=42 card_label="obs-cam" exclusive_caps=1
-
Start OBS, Tools->v4l2sink
-
Select device
/dev/video42
-
Press Start