Skip to main content

Python wrapper for Linux UAPI ioctl

Project description

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

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

uapy-1.0.2.tar.gz (39.7 kB view hashes)

Uploaded Source

Built Distribution

uapy-1.0.2-py3-none-any.whl (41.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page