pyv4l2
A simple, libv4l2-based frames capture library. The pyv4l2 module based PyV4L2Camera development, I removed the v4lconvert_convert part of the code, the most original data to return the device. PyV4L2Camera module in https://gitlab.com/radish/PyV4L2Camera ,Thank you Dominik Pieczyński.
Installation
Libv4l2
Libv4l2 is packaged by various distributions:
Debian and Ubuntu
# apt-get install libv4l-dev
Fedora
# dnf install libv4l-devel
Arch Linux
# pacman -S v4l-utils
pyv4l2
To install pyv4l2:
$ pip install pyv4l2
pyv4l2 is only compatible with Python 3.
Usage
from pyv4l2.frame import Frame
from pyv4l2.control import Control
frame = Frame('/dev/video0')
frame_data = frame.get_frame()
control = Control("/dev/video0")
control.get_controls()
control.get_control_value(9963776)
control.set_control_value(9963776, 8)
Metadata
Release files for pyv4l2 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pyv4l2-1.0.2.tar.gz | 54.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyv4l2-1.0.2-py3.5-linux-x86_64.egg | Legacy Egg format | - | - | Details |
Total release size: 205.7 kB
Release files / pyv4l2-1.0.2.tar.gz
| Download URL | pyv4l2-1.0.2.tar.gz |
|---|---|
| Size | 54.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
69cdfe53fe9dcd8e64f74c63e224550ed50ffefe19725443f6b9c5a500c87b0f
|
|
BLAKE2b-256 checksum How to use checksums |
33de1f484ce034347d8900923d005e613d49531ec5f9cce48e810c3dff008e8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pyv4l2-1.0.2-py3.5-linux-x86_64.egg
| Download URL | pyv4l2-1.0.2-py3.5-linux-x86_64.egg |
|---|---|
| Size | 151.5 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
822b8ca1aa5f68e0612f6f01b8630339131f7d75255bffa9bf5b5b6366b1d098
|
|
BLAKE2b-256 checksum How to use checksums |
127ec4ad5768a72567e947b063ccd3b76e29d9d53d42af99acea27f362b261e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pyv4l2 1.0.2
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.