Skip to main content

Pythonic bindings for FFmpeg's libraries.

Project description

PyAV

GitHub Test Status
Gitter Chat Documentation
GitHub Python Package Index Conda Forge

PyAV is a Pythonic binding for the 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.

Installation

Due to the complexity of the dependencies, PyAV is not always the easiest Python package to install from source. Since release 8.0.0 binary wheels are provided on PyPI for Linux, Mac and Windows linked against a modern FFmpeg. You can install these wheels by running:

pip install av

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

pip install av --no-binary av

Alternative installation methods

Another way of installing PyAV is via conda-forge:

conda install av -c conda-forge

See the Conda quick install docs to get started with (mini)Conda.

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

git clone git@github.com:PyAV-Org/PyAV
cd PyAV
source scripts/activate.sh

# Either install the testing dependencies:
pip install --upgrade -r tests/requirements.txt
# or have it all, including FFmpeg, built/installed for you:
./scripts/build-deps

# Build PyAV.
make

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

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 8.0.2
Filename, size File type Python version Upload date Hashes
Filename, size av-8.0.2-cp35-cp35m-macosx_10_9_x86_64.whl (21.2 MB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size av-8.0.2-cp35-cp35m-manylinux2010_i686.whl (34.2 MB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size av-8.0.2-cp35-cp35m-manylinux2010_x86_64.whl (36.7 MB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size av-8.0.2-cp35-cp35m-win32.whl (22.5 MB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size av-8.0.2-cp35-cp35m-win_amd64.whl (25.7 MB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size av-8.0.2-cp36-cp36m-macosx_10_9_x86_64.whl (21.2 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size av-8.0.2-cp36-cp36m-manylinux2010_i686.whl (34.4 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size av-8.0.2-cp36-cp36m-manylinux2010_x86_64.whl (36.9 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size av-8.0.2-cp36-cp36m-win32.whl (22.6 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size av-8.0.2-cp36-cp36m-win_amd64.whl (25.7 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size av-8.0.2-cp37-cp37m-macosx_10_9_x86_64.whl (21.2 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size av-8.0.2-cp37-cp37m-manylinux2010_i686.whl (34.4 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size av-8.0.2-cp37-cp37m-manylinux2010_x86_64.whl (36.9 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size av-8.0.2-cp37-cp37m-win32.whl (22.5 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size av-8.0.2-cp37-cp37m-win_amd64.whl (25.7 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size av-8.0.2-cp38-cp38-macosx_10_9_x86_64.whl (21.2 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size av-8.0.2-cp38-cp38-manylinux2010_i686.whl (35.3 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size av-8.0.2-cp38-cp38-manylinux2010_x86_64.whl (37.8 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size av-8.0.2-cp38-cp38-win32.whl (22.6 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size av-8.0.2-cp38-cp38-win_amd64.whl (25.8 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size av-8.0.2-pp36-pypy36_pp73-macosx_10_9_x86_64.whl (20.8 MB) File type Wheel Python version pp36 Upload date Hashes View
Filename, size av-8.0.2-pp36-pypy36_pp73-manylinux2010_x86_64.whl (31.3 MB) File type Wheel Python version pp36 Upload date Hashes View
Filename, size av-8.0.2.tar.gz (2.3 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page