Skip to main content

pyobs module for Video4Linux cameras

This is a pyobs module for USB webcams and other Video4Linux cameras.

System dependencies

On Debian/Ubuntu:

sudo apt install libv4l-dev

Install pyobs-v4l

Clone the repository:

git clone https://github.com/pyobs/pyobs-v4l.git
cd pyobs-v4l

Install it with uv:

uv sync

Alternatively, with plain venv/pip:

python3 -m venv .venv
source .venv/bin/activate
pip install .

Configuration

The v4lCamera class is derived from BaseVideo (see pyobs documentation) and adds a single new parameter:

device:
    Index of the /dev/videoN device to use (default: 0).

A basic module configuration would look like this:

class: pyobs_v4l.v4lCamera
name: V4L camera
device: 0

GUI

For testing a camera without a full pyobs setup, install the optional gui extra:

uv sync --extra gui

and run:

uv run v4l-gui

Dependencies

Metadata

Release files for pyobs-v4l 2.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyobs-v4l 2.1.1
File Size Uploaded
pyobs_v4l-2.1.1.tar.gz 219.5 kB Details

Release files / pyobs_v4l-2.1.1.tar.gz

Download URL pyobs_v4l-2.1.1.tar.gz
Size 219.5 kB
Tags Source
SHA-256 checksum
How to use checksums
32b265974ef6fdc6014683f32f77b19b231730a643b3c65123e1965f185140aa
BLAKE2b-256 checksum
How to use checksums
420ba3ff14a3d02995d9430cf7eb4d835a1826f1f642225af900568e08ba4eff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page