Skip to main content

python-v4l2

A Python binding for the v4l2 (video4linux2) userspace api, using ctypes. Basic example usage:

>>> import v4l2
>>> import fcntl
>>> vd = open('/dev/video0', 'a')
>>> cp = v4l2.v4l2_capability()
>>> fcntl.ioctl(vd, v4l2.VIDIOC_QUERYCAP, cp)
0
>>> cp.driver
'uvcvideo'
>>> cp.card
'USB 2.0 Camera'

See the linux/videodev2.h header file for details. Currently the bindings are up to date with the 2.6.34 kernel headers.

Metadata

Release files for v4l2-fix 0.3

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

Source distribution (sdist)

Source distribution for v4l2-fix 0.3
File Size Uploaded
v4l2-fix-0.3.tar.gz 25.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for v4l2-fix 0.3
File Interpreter ABI Platform
v4l2_fix-0.3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 45.0 kB

Release files / v4l2-fix-0.3.tar.gz

Download URL v4l2-fix-0.3.tar.gz
Size 25.2 kB
Tags Source
SHA-256 checksum
How to use checksums
08a9a1e6e0317ac3a3829b7983a1209e948c1f6fdcdb752cdd854a9d9078c89d
BLAKE2b-256 checksum
How to use checksums
6af172ec082ef5ca96be2be5da8acab0ead2743395a6d5f87f81743b2c2bee29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release files / v4l2_fix-0.3-py2.py3-none-any.whl

Download URL v4l2_fix-0.3-py2.py3-none-any.whl
Size 19.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a0e1c081c165ea37070eb757c84632c031a69267bffd6ed8e606bf964ad2d395
BLAKE2b-256 checksum
How to use checksums
004a574ea1d274273dd1aa1156d19c11919e65b2aa411a445bbe1c3fa6bfee15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files

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