Skip to main content

Pythonic bindings for FFmpeg's libraries.

Project description

[![Travis Build Status][travis-badge]][travis] [![AppVeyor Build Status][appveyor-badge]][appveyor] [![Gitter Chat][gitter-badge]][gitter] [![Documentation][docs-badge]][docs] [![GitHub][github-badge]][github] [![Python Package Index][pypi-badge]][pypi] [![Conda Forge][conda-badge]][conda]

PyAV is a Pythonic binding for the [FFmpeg][ffmpeg] libraries. We aim to provide all of the power and control of the underlying library, but manage the gritty details as much as possible.

PyAV is for direct and precise access to your media via containers, streams, packets, codecs, and frames. It exposes a few transformations of that data, and helps you get your data to/from other packages (e.g. Numpy and Pillow).

This power does come with some responsibility as working with media is horrendously complicated and PyAV can’t abstract it away or make all the best decisions for you. If the ffmpeg command does the job without you bending over backwards, PyAV is likely going to be more of a hindrance than a help.

But where you can’t work without it, PyAV is a critical tool.


Due to the complexity of the dependencies, PyAV is not always the easiest Python package to install. The most straight-foward install is via [conda-forge][conda-forge]:

` conda install av -c conda-forge `

See the [Conda quick install][conda-install] docs to get started with (mini)Conda.

If you want to use your existing FFmpeg/Libav, the C-source version of PyAV is on [PyPI][pypi]:

` pip install av `

And if you want to build from the absolute source (for development or testing):

` git clone cd PyAV source scripts/activate make `

Have fun, [read the docs][docs], [come chat with us][gitter], and good luck!

[appveyor-badge]: [appveyor]: [conda-badge]: [conda]: [docs-badge]: [docs]: [gitter-badge]: [gitter]: [pypi-badge]: [pypi]: [travis-badge]: [travis]:

[github-badge]: [github]:

[ffmpeg]: [conda-forge]: [conda-install]:

Download files

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

Files for av, version 6.2.0
Filename, size File type Python version Upload date Hashes
Filename, size av-6.2.0.tar.gz (2.0 MB) File type Source Python version None Upload date Hashes View hashes

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 DigiCert DigiCert EV certificate StatusPage StatusPage Status page