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.


Actions Status Code style: black

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.

Installing

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

pip install pyav

If you want to use your existing FFmpeg, the source version is available too:

pip install pyav --no-binary pyav

Alternative installation methods

Another way of installing PyAV is via conda-forge:

conda install av -c conda-forge

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

git clone https://github.com/WyattBlue/PyAV.git
cd PyAV
source scripts/activate.sh

pip install -U -r tests/requirements.txt
./scripts/build-deps

make
# optional: make test

Have fun, and good luck!

Project details


Download files

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

Source Distribution

pyav-11.0.1.tar.gz (3.6 MB view hashes)

Uploaded Source

Built Distributions

pyav-11.0.1-pp310-pypy310_pp73-win_amd64.whl (25.5 MB view hashes)

Uploaded PyPy Windows x86-64

pyav-11.0.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25.3 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

pyav-11.0.1-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (23.4 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686

pyav-11.0.1-pp310-pypy310_pp73-macosx_10_9_x86_64.whl (26.1 MB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

pyav-11.0.1-pp39-pypy39_pp73-win_amd64.whl (25.5 MB view hashes)

Uploaded PyPy Windows x86-64

pyav-11.0.1-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

pyav-11.0.1-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (23.4 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686

pyav-11.0.1-pp39-pypy39_pp73-macosx_10_9_x86_64.whl (26.1 MB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

pyav-11.0.1-cp312-cp312-win_amd64.whl (25.7 MB view hashes)

Uploaded CPython 3.12 Windows x86-64

pyav-11.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.2 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

pyav-11.0.1-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl (31.7 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ i686

pyav-11.0.1-cp312-cp312-macosx_11_0_arm64.whl (20.0 MB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

pyav-11.0.1-cp312-cp312-macosx_10_9_x86_64.whl (26.4 MB view hashes)

Uploaded CPython 3.12 macOS 10.9+ x86-64

pyav-11.0.1-cp311-cp311-win_amd64.whl (25.7 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

pyav-11.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (33.8 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pyav-11.0.1-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (31.4 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686

pyav-11.0.1-cp311-cp311-macosx_11_0_arm64.whl (20.0 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pyav-11.0.1-cp311-cp311-macosx_10_9_x86_64.whl (26.4 MB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

pyav-11.0.1-cp310-cp310-win_amd64.whl (25.7 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

pyav-11.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (33.0 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pyav-11.0.1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (30.7 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

pyav-11.0.1-cp310-cp310-macosx_11_0_arm64.whl (20.0 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pyav-11.0.1-cp310-cp310-macosx_10_9_x86_64.whl (26.4 MB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

pyav-11.0.1-cp39-cp39-win_amd64.whl (25.7 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

pyav-11.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (33.2 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pyav-11.0.1-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl (30.9 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686

pyav-11.0.1-cp39-cp39-macosx_11_0_arm64.whl (20.0 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

pyav-11.0.1-cp39-cp39-macosx_10_9_x86_64.whl (26.4 MB view hashes)

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