v4l2Python bindings for the v4l2 userspace API | |
Download |
v4l2 Ranking & Summary
Advertisement
v4l2 Tags
v4l2 Description
Python bindings for the v4l2 userspace API The v4l2 package offers Python binding for the v4l2 (video4linux2) userspace api, using ctypes. Basic example usage:>>> import v4l2>>> vd = open('/dev/video0', 'rw')>>> cp = v4l2.v4l2_capability()>>> v4l2.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. Requirements: · Python
v4l2 Related Software