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

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.2
File Size Uploaded
pyobs_v4l-2.1.2.tar.gz 219.5 kB Details

Release files / pyobs_v4l-2.1.2.tar.gz

Download URL pyobs_v4l-2.1.2.tar.gz
Size 219.5 kB
Tags Source
SHA-256 checksum
How to use checksums
34d79ce344f199859816675d389d293f4164f750f5fd520f7da37f76daaf5abf
BLAKE2b-256 checksum
How to use checksums
a5a97b46a77cd37d044121158582c037da56452e001c5a26a38bed0b2ae5ae77
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