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

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.2.0
File Size Uploaded Provenance Actions
pyobs_v4l-2.2.0.tar.gz 196.1 kB Without provenance Details for pyobs_v4l-2.2.0.tar.gz

Release files / pyobs_v4l-2.2.0.tar.gz

Download URL pyobs_v4l-2.2.0.tar.gz
Size 196.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8089fe254ecb4e91bcf88585241e3cca8e9ba38e6d8f7c24b0f9096b27313b1e
BLAKE2b-256 checksum
How to use checksums
12b68834a812c9b24b4633c3c8e4cf7cf8c1fa742359ff729a9f6ee2a5752cb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for pyobs-v4l 2.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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