Skip to main content

Pythonic bindings for FFmpeg's libraries.

Project description

PyAV

GitHub Test Status
Gitter Chat Documentation
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, the 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 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.

Source Distribution

ha-av-9.1.1.post3.tar.gz (2.4 MB view hashes)

Uploaded Source

Built Distributions

ha_av-9.1.1.post3-pp39-pypy39_pp73-win_amd64.whl (35.8 MB view hashes)

Uploaded PyPy Windows x86-64

ha_av-9.1.1.post3-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (22.5 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

ha_av-9.1.1.post3-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (21.5 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686

ha_av-9.1.1.post3-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (21.3 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

ha_av-9.1.1.post3-pp39-pypy39_pp73-macosx_10_9_x86_64.whl (23.9 MB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

ha_av-9.1.1.post3-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (22.5 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

ha_av-9.1.1.post3-pp38-pypy38_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (21.5 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686

ha_av-9.1.1.post3-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (21.3 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

ha_av-9.1.1.post3-pp38-pypy38_pp73-macosx_10_9_x86_64.whl (24.0 MB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

ha_av-9.1.1.post3-pp37-pypy37_pp73-win_amd64.whl (24.2 MB view hashes)

Uploaded PyPy Windows x86-64

ha_av-9.1.1.post3-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (22.5 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

ha_av-9.1.1.post3-pp37-pypy37_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (21.5 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686

ha_av-9.1.1.post3-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (21.3 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

ha_av-9.1.1.post3-pp37-pypy37_pp73-macosx_10_9_x86_64.whl (24.0 MB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

ha_av-9.1.1.post3-cp310-cp310-win_amd64.whl (24.4 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

ha_av-9.1.1.post3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (28.8 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

ha_av-9.1.1.post3-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (27.5 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

ha_av-9.1.1.post3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (27.5 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

ha_av-9.1.1.post3-cp310-cp310-macosx_11_0_arm64.whl (22.9 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

ha_av-9.1.1.post3-cp310-cp310-macosx_10_9_x86_64.whl (24.3 MB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

ha_av-9.1.1.post3-cp39-cp39-win_amd64.whl (24.4 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

ha_av-9.1.1.post3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (28.7 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

ha_av-9.1.1.post3-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl (27.4 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686

ha_av-9.1.1.post3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (27.5 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

ha_av-9.1.1.post3-cp39-cp39-macosx_11_0_arm64.whl (22.9 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

ha_av-9.1.1.post3-cp39-cp39-macosx_10_9_x86_64.whl (24.3 MB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

ha_av-9.1.1.post3-cp38-cp38-win_amd64.whl (24.4 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

ha_av-9.1.1.post3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (28.8 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

ha_av-9.1.1.post3-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl (27.6 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686

ha_av-9.1.1.post3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (27.6 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

ha_av-9.1.1.post3-cp38-cp38-macosx_11_0_arm64.whl (22.9 MB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

ha_av-9.1.1.post3-cp38-cp38-macosx_10_9_x86_64.whl (24.3 MB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

ha_av-9.1.1.post3-cp37-cp37m-win_amd64.whl (24.4 MB view hashes)

Uploaded CPython 3.7m Windows x86-64

ha_av-9.1.1.post3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (28.2 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

ha_av-9.1.1.post3-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl (27.0 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ i686

ha_av-9.1.1.post3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (27.0 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARM64

ha_av-9.1.1.post3-cp37-cp37m-macosx_10_9_x86_64.whl (24.3 MB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

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