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

Installing from source is not supported on Windows.

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 (POSIX only):

git clone https://github.com/PyAV-Org/PyAV.git
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
pip install .

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

av-12.3.0.tar.gz (3.8 MB view hashes)

Uploaded Source

Built Distributions

av-12.3.0-pp310-pypy310_pp73-win_amd64.whl (25.8 MB view hashes)

Uploaded PyPy Windows x86-64

av-12.3.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25.2 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

av-12.3.0-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (23.3 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686

av-12.3.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (23.3 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

av-12.3.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl (19.6 MB view hashes)

Uploaded PyPy macOS 11.0+ ARM64

av-12.3.0-pp310-pypy310_pp73-macosx_10_15_x86_64.whl (24.3 MB view hashes)

Uploaded PyPy macOS 10.15+ x86-64

av-12.3.0-pp39-pypy39_pp73-win_amd64.whl (25.8 MB view hashes)

Uploaded PyPy Windows x86-64

av-12.3.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25.2 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

av-12.3.0-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (23.3 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686

av-12.3.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (23.3 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

av-12.3.0-pp39-pypy39_pp73-macosx_11_0_arm64.whl (19.6 MB view hashes)

Uploaded PyPy macOS 11.0+ ARM64

av-12.3.0-pp39-pypy39_pp73-macosx_10_15_x86_64.whl (24.3 MB view hashes)

Uploaded PyPy macOS 10.15+ x86-64

av-12.3.0-pp38-pypy38_pp73-win_amd64.whl (25.7 MB view hashes)

Uploaded PyPy Windows x86-64

av-12.3.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25.2 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

av-12.3.0-pp38-pypy38_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (23.3 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686

av-12.3.0-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (23.3 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

av-12.3.0-pp38-pypy38_pp73-macosx_11_0_arm64.whl (19.5 MB view hashes)

Uploaded PyPy macOS 11.0+ ARM64

av-12.3.0-pp38-pypy38_pp73-macosx_10_13_x86_64.whl (24.2 MB view hashes)

Uploaded PyPy macOS 10.13+ x86-64

av-12.3.0-cp312-cp312-win_amd64.whl (26.0 MB view hashes)

Uploaded CPython 3.12 Windows x86-64

av-12.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.7 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

av-12.3.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl (32.2 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ i686

av-12.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (32.8 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

av-12.3.0-cp312-cp312-macosx_11_0_arm64.whl (19.9 MB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

av-12.3.0-cp312-cp312-macosx_10_13_x86_64.whl (24.7 MB view hashes)

Uploaded CPython 3.12 macOS 10.13+ x86-64

av-12.3.0-cp311-cp311-win_amd64.whl (26.0 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

av-12.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.4 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

av-12.3.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (31.9 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686

av-12.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (32.6 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

av-12.3.0-cp311-cp311-macosx_11_0_arm64.whl (19.9 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

av-12.3.0-cp311-cp311-macosx_10_13_x86_64.whl (24.7 MB view hashes)

Uploaded CPython 3.11 macOS 10.13+ x86-64

av-12.3.0-cp310-cp310-win_amd64.whl (26.0 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

av-12.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (33.5 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

av-12.3.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (31.1 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

av-12.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (31.6 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

av-12.3.0-cp310-cp310-macosx_11_0_arm64.whl (19.9 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

av-12.3.0-cp310-cp310-macosx_10_13_x86_64.whl (24.7 MB view hashes)

Uploaded CPython 3.10 macOS 10.13+ x86-64

av-12.3.0-cp39-cp39-win_amd64.whl (26.0 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

av-12.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (33.6 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

av-12.3.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl (31.3 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686

av-12.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (31.8 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

av-12.3.0-cp39-cp39-macosx_11_0_arm64.whl (20.0 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

av-12.3.0-cp39-cp39-macosx_10_13_x86_64.whl (24.7 MB view hashes)

Uploaded CPython 3.9 macOS 10.13+ x86-64

av-12.3.0-cp38-cp38-win_amd64.whl (26.0 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

av-12.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (33.7 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

av-12.3.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl (31.3 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686

av-12.3.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (31.8 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

av-12.3.0-cp38-cp38-macosx_11_0_arm64.whl (20.0 MB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

av-12.3.0-cp38-cp38-macosx_10_13_x86_64.whl (24.7 MB view hashes)

Uploaded CPython 3.8 macOS 10.13+ 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