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 hashes)
Built Distribution
v4l2_fix-0.3-py2.py3-none-any.whl
(19.8 kB
view hashes)
Close
Hashes for v4l2_fix-0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0e1c081c165ea37070eb757c84632c031a69267bffd6ed8e606bf964ad2d395 |
|
MD5 | 3f5d57bd27e1e5b6809c2e9888597f11 |
|
BLAKE2b-256 | 004a574ea1d274273dd1aa1156d19c11919e65b2aa411a445bbe1c3fa6bfee15 |