Skip to content

Latest commit

 

History

42 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uapy

Python wrapper for Linux UAPI ioctl

Overview

This project provides a Python wrapper for Linux Media Infrastructure userspace API ioctl requests.

Support

Current milestone is Linux 5.8.0

API

  • v4l - Video for Linux version 2
  • dvb - Digital TV
  • rc - Remote Controller
  • mediactl - Media Controller
  • cec - Consumer Electronics Control

Example

from uapy.v4l2.videodev import *

cap = V4l2_Capability()
res = fcntl.ioctl(vd1, Vidioc.QUERYCAP, cap)
format = V4l2_Format()
format.type = V4l2_Buf_Type.VIDEO_OUTPUT

Install

user@machine:~$ pip3 install uapy

About

Python wrapper for Linux UAPI

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages