Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Python bindings for Linux DVB API

Project description

This is a Python binding for the Linux DVB API. It is based on the headers from
kernel 2.6.35, and should work with any kernel implementing DVB API version 5.1
or higher.

All API features are implemented, but only the frontend and demux code has been
tested, and only on DVB-S and ATSC hardware. Other hardware should work but I
have no way of confirming this myself.

Tested on CPython 2.6.5 and 3.1.2.

Some code has been cribbed from the Python v4l2 binding.

Usage example:


>>> import linuxdvb
>>> import fcntl
>>> fefd = open('/dev/dvb/adapter0/frontend0', 'r+')
>>> feinfo = linuxdvb.dvb_frontend_info()
>>> fcntl.ioctl(fefd, linuxdvb.FE_GET_INFO, feinfo)
'Genpix 8psk-to-USB2 DVB-S'
>>> for bit, flag in linuxdvb.fe_caps.items():
... if (feinfo.caps & bit) > 0:
... print(flag)
>>> fefd.close()


Support for DigiCipher II modes on Genpix DVB-S tuners is implemented. Get the
driver patch from:

Project details

Release history Release notifications

This version
History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
linuxdvb-0.1.tar.gz (8.0 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page