Skip to main content

Pythonic bindings for FFmpeg's libraries.

Project description

PyAV

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.


GitHub Test Status Documentation Python Package Index Conda Forge

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

# Build ffmpeg from source. You can skip this step
# if ffmpeg is already installed.
./scripts/build-deps

# Build PyAV
make

# Testing
make test

# Install globally
deactivate
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-13.1.0.tar.gz (4.0 MB view hashes)

Uploaded Source

Built Distributions

av-13.1.0-pp310-pypy310_pp73-win_amd64.whl (25.6 MB view hashes)

Uploaded PyPy Windows x86-64

av-13.1.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (24.7 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

av-13.1.0-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (22.7 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686

av-13.1.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (22.9 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

av-13.1.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl (19.1 MB view hashes)

Uploaded PyPy macOS 11.0+ ARM64

av-13.1.0-pp310-pypy310_pp73-macosx_10_15_x86_64.whl (23.9 MB view hashes)

Uploaded PyPy macOS 10.15+ x86-64

av-13.1.0-pp39-pypy39_pp73-win_amd64.whl (25.6 MB view hashes)

Uploaded PyPy Windows x86-64

av-13.1.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (24.7 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

av-13.1.0-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (22.7 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686

av-13.1.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (22.8 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

av-13.1.0-pp39-pypy39_pp73-macosx_11_0_arm64.whl (19.1 MB view hashes)

Uploaded PyPy macOS 11.0+ ARM64

av-13.1.0-pp39-pypy39_pp73-macosx_10_15_x86_64.whl (23.9 MB view hashes)

Uploaded PyPy macOS 10.15+ x86-64

av-13.1.0-cp313-cp313-win_amd64.whl (25.8 MB view hashes)

Uploaded CPython 3.13 Windows x86-64

av-13.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.1 MB view hashes)

Uploaded CPython 3.13 manylinux: glibc 2.17+ x86-64

av-13.1.0-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl (31.5 MB view hashes)

Uploaded CPython 3.13 manylinux: glibc 2.17+ i686

av-13.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (32.1 MB view hashes)

Uploaded CPython 3.13 manylinux: glibc 2.17+ ARM64

av-13.1.0-cp313-cp313-macosx_11_0_arm64.whl (19.4 MB view hashes)

Uploaded CPython 3.13 macOS 11.0+ ARM64

av-13.1.0-cp313-cp313-macosx_10_13_x86_64.whl (24.2 MB view hashes)

Uploaded CPython 3.13 macOS 10.13+ x86-64

av-13.1.0-cp312-cp312-win_amd64.whl (25.8 MB view hashes)

Uploaded CPython 3.12 Windows x86-64

av-13.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.4 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

av-13.1.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl (31.8 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ i686

av-13.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (32.5 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

av-13.1.0-cp312-cp312-macosx_11_0_arm64.whl (19.5 MB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

av-13.1.0-cp312-cp312-macosx_10_13_x86_64.whl (24.3 MB view hashes)

Uploaded CPython 3.12 macOS 10.13+ x86-64

av-13.1.0-cp311-cp311-win_amd64.whl (25.8 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

av-13.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.0 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

av-13.1.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (31.5 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686

av-13.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (32.2 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

av-13.1.0-cp311-cp311-macosx_11_0_arm64.whl (19.5 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

av-13.1.0-cp311-cp311-macosx_10_13_x86_64.whl (24.3 MB view hashes)

Uploaded CPython 3.11 macOS 10.13+ x86-64

av-13.1.0-cp310-cp310-win_amd64.whl (25.8 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

av-13.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (33.1 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

av-13.1.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (30.7 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

av-13.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (31.3 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

av-13.1.0-cp310-cp310-macosx_11_0_arm64.whl (19.5 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

av-13.1.0-cp310-cp310-macosx_10_13_x86_64.whl (24.3 MB view hashes)

Uploaded CPython 3.10 macOS 10.13+ x86-64

av-13.1.0-cp39-cp39-win_amd64.whl (25.8 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

av-13.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (33.3 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

av-13.1.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl (30.9 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686

av-13.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (31.4 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

av-13.1.0-cp39-cp39-macosx_11_0_arm64.whl (19.5 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

av-13.1.0-cp39-cp39-macosx_10_13_x86_64.whl (24.3 MB view hashes)

Uploaded CPython 3.9 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