Python bindings for the v4l2 userspace api.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
v4l2-fix-0.3.tar.gz
(25.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file v4l2-fix-0.3.tar.gz.
File metadata
- Download URL: v4l2-fix-0.3.tar.gz
- Upload date:
- Size: 25.2 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08a9a1e6e0317ac3a3829b7983a1209e948c1f6fdcdb752cdd854a9d9078c89d
|
|
| MD5 |
894191e2338541a390f2d157da0771ef
|
|
| BLAKE2b-256 |
6af172ec082ef5ca96be2be5da8acab0ead2743395a6d5f87f81743b2c2bee29
|
File details
Details for the file v4l2_fix-0.3-py2.py3-none-any.whl.
File metadata
- Download URL: v4l2_fix-0.3-py2.py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0e1c081c165ea37070eb757c84632c031a69267bffd6ed8e606bf964ad2d395
|
|
| MD5 |
3f5d57bd27e1e5b6809c2e9888597f11
|
|
| BLAKE2b-256 |
004a574ea1d274273dd1aa1156d19c11919e65b2aa411a445bbe1c3fa6bfee15
|