/obs-v4l2sink-plugin-fedora

Fedora RPM package for OBS v4l2sink plugin

GNU General Public License v2.0GPL-2.0

obs-v4l2sink-plugin-fedora

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.

Install

From Fedora Copr

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

Install RPM Fusion

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

Install obs-v4l2sink

$ 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.

From RPM (Fedora 32)

Install RPM Fusion

Follow doc for your Fedora version: https://rpmfusion.org/Configuration

Install v4l2loopback

Install from Copr

$ sudo dnf copr enable sentry/v4l2loopback

Install obs-v4l2sink with DNF

$ sudo dnf install -y obs-v4l2sink-0.1.0-1.fc32.x86_64.rpm

Install obs-v4l2sink with 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

Usage

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