kuya-carlo/v4l2loopback

Project ID: 188796

Description

Tools to create Video4Linux loopback recording devices.

This package provides v4l2loopback, which creates "virtual video devices" accessible through the Video4Linux API. Applications can read from these devices as if they were regular video devices, but the video content is generated by other applications instead of hardware capture devices.

Maintainer: kuya-carlo (106532351+kuya-carlo@users.noreply.github.com) Version: 0.15.1 (updated from danielkza's original packaging)

Upstream source: https://github.com/v4l2loopback/v4l2loopback
Packaging repository: https://github.com/kuya-carlo/v4l2loopback-fedora (if you have one)
Forked from: https://copr.fedorainfracloud.org/coprs/danielkza/v4l2loopback/

Use cases:

  • Virtual webcams for streaming/video conferencing
  • Screen recording and sharing
  • Video testing and development
  • OBS Studio virtual camera output

Installation Instructions

Installation

Enable the COPR repository and install:

# Enable the COPR repository sudo dnf copr enable kuya-carlo/v4l2loopback # Install the package sudo dnf install v4l2loopback

The installation will automatically pull the v4l2loopback-dkms package and build the kernel module for your current kernel.

Basic Usage

# Load the module (creates /dev/video* devices) sudo modprobe v4l2loopback # Check that loopback devices were created v4l2-ctl --list-devices # View device details v4l2-ctl --all # Manage loopback device settings v4l2loopback-ctl

Configuration

To load the module automatically at boot:

echo "v4l2loopback" | sudo tee /etc/modules-load.d/v4l2loopback.conf

To create multiple devices with custom settings:

sudo modprobe v4l2loopback devices=2 video_nr=10,11 card_label="Virtual Camera 1","Virtual Camera 2"

Troubleshooting

  • If the module fails to build, ensure you have kernel-devel installed: sudo dnf install kernel-devel
  • After kernel updates, DKMS should automatically rebuild the module
  • Check DKMS status: dkms status v4l2loopback
  • Remove and reinstall DKMS module if needed: sudo dkms remove v4l2loopback/0.15.1 --all && sudo dkms install v4l2loopback/0.15.1

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download
Centos-stream 10 aarch64 (0)*, ppc64le (0)*, s390x (0)*, x86_64 (0)* Centos-stream 10 (0 downloads)
Centos-stream 9 aarch64 (0)*, ppc64le (0)*, s390x (0)*, x86_64 (0)* Centos-stream 9 (0 downloads)
EPEL 10 aarch64 (0)*, ppc64le (0)*, s390x (0)*, x86_64 (0)* EPEL 10 (2 downloads)
EPEL 8 aarch64 (0)*, ppc64le (0)*, s390x (0)*, x86_64 (0)* EPEL 8 (1 downloads)
EPEL 9 aarch64 (0)*, ppc64le (0)*, s390x (0)*, x86_64 (0)* EPEL 9 (1 downloads)
Fedora 41 aarch64 (0)*, ppc64le (0)*, s390x (0)*, x86_64 (0)* Fedora 41 (0 downloads)
Fedora 42 aarch64 (0)*, ppc64le (0)*, s390x (0)*, x86_64 (2)* Fedora 42 (2 downloads)
Fedora eln aarch64 (0)*, ppc64le (0)*, s390x (0)*, x86_64 (0)* Fedora eln (0 downloads)
Fedora rawhide aarch64 (0)*, ppc64le (0)*, x86_64 (0)* Fedora rawhide (0 downloads)

* Total number of downloaded packages.