Skip to main content

Simple v4l2 for pyv4l2

Project description

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 ,Thank you Dominik Pieczyński.



Libv4l2 is packaged by various distributions:

Debian and Ubuntu

# apt-get install libv4l-dev


# dnf install libv4l-devel

Arch Linux

# pacman -S v4l-utils


To install pyv4l2:

$ pip install pyv4l2

pyv4l2 is only compatible with Python 3.


from import Camera

camera = Camera('/dev/video0')
frame = camera.get_frame()

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyv4l2-0.1.5.tar.gz (63.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page