Skip to main content

PyAV

PyAV is a Pythonic binding for the FFmpeg libraries. We aim to provide all 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

PyAV requires Python 3.12 or later. Binary wheels are provided on PyPI for Linux, macOS, and Windows with FFmpeg bundled. You can install these wheels by running:

pip install av

Another way of installing PyAV is via conda-forge:

conda install av -c conda-forge

See the Conda install docs to get started with Miniconda.

Alternative Installation Methods

Due to the complexity of the dependencies, PyAV is not always the easiest Python package to install from source. This release supports FFmpeg 9.x. To build the source distribution against an existing FFmpeg installation on Linux or macOS, run:

pip install av --no-binary av

Installing from source

On Linux or macOS, build PyAV from a Git checkout with:

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 8.x is already installed.
./scripts/build-deps

# Build PyAV
make

# Testing
make test

# Install globally
deactivate
pip install .

On Windows, use a Conda environment and the FFmpeg development files maintained by the PyAV project:

git clone https://github.com/PyAV-Org/PyAV.git
cd PyAV
conda create --name pyav-dev --channel conda-forge python=3.12 cython setuptools numpy pillow pytest
conda activate pyav-dev
$ffmpegDir = Join-Path $env:CONDA_PREFIX "Library"
python scripts\fetch-vendor.py --config-file scripts\ffmpeg-latest.json $ffmpegDir
python setup.py build_ext --inplace --ffmpeg-dir=$ffmpegDir
python -m pytest

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

Metadata

Release files for av 19.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for av 19.0.2
File Size Uploaded Provenance
av-19.0.2.tar.gz 4.3 MB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for av 19.0.2
File
av-19.0.2-cp314-cp314t-win_arm64.whl CPython 3.14 CPython 3.14 free-threading Windows ARM64 Details
av-19.0.2-cp314-cp314t-win_amd64.whl CPython 3.14 CPython 3.14 free-threading Windows x86-64 Details
av-19.0.2-cp314-cp314t-musllinux_1_2_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64 Details
av-19.0.2-cp314-cp314t-musllinux_1_2_aarch64.whl CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ ARM64 Details
av-19.0.2-cp314-cp314t-manylinux_2_31_armv7l.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.31+ ARMv7l Details
av-19.0.2-cp314-cp314t-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64 Details
av-19.0.2-cp314-cp314t-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64 Details
av-19.0.2-cp314-cp314t-macosx_14_0_arm64.whl CPython 3.14 CPython 3.14 free-threading macOS 14.0+ ARM64 Details
av-19.0.2-cp314-cp314t-macosx_11_0_x86_64.whl CPython 3.14 CPython 3.14 free-threading macOS 11.0+ x86-64 Details
av-19.0.2-cp312-abi3-win_arm64.whl CPython 3.12 abi3 Windows ARM64 Details
av-19.0.2-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details
av-19.0.2-cp312-abi3-musllinux_1_2_x86_64.whl CPython 3.12 abi3 Linux musl 1.2+ x86-64 Details
av-19.0.2-cp312-abi3-musllinux_1_2_aarch64.whl CPython 3.12 abi3 Linux musl 1.2+ ARM64 Details
av-19.0.2-cp312-abi3-manylinux_2_31_armv7l.whl CPython 3.12 abi3 Linux glibc 2.31+ ARMv7l Details
av-19.0.2-cp312-abi3-manylinux_2_28_x86_64.whl CPython 3.12 abi3 Linux glibc 2.28+ x86-64 Details
av-19.0.2-cp312-abi3-manylinux_2_28_aarch64.whl CPython 3.12 abi3 Linux glibc 2.28+ ARM64 Details
av-19.0.2-cp312-abi3-macosx_14_0_arm64.whl CPython 3.12 abi3 macOS 14.0+ ARM64 Details
av-19.0.2-cp312-abi3-macosx_11_0_x86_64.whl CPython 3.12 abi3 macOS 11.0+ x86-64 Details

Total release size: 566.9 MB

Release files / av-19.0.2.tar.gz

Download URL av-19.0.2.tar.gz
Size 4.3 MB
Tags Source
SHA-256 checksum
How to use checksums
bebbc52598886480f4d861c575dc2b020785d6c04e1308680ddcc545e1b94c66
BLAKE2b-256 checksum
How to use checksums
230176b6bf563fe907597cf58f10d10168e93fe588b6db9f2658db87e87efa7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-19.0.2-cp314-cp314t-win_arm64.whl

Download URL av-19.0.2-cp314-cp314t-win_arm64.whl
Size 21.9 MB
Tags CPython 3.14 CPython 3.14 free-threading Windows ARM64
SHA-256 checksum
How to use checksums
0e425d631510ca21e47c58f3837a9dceae0453c24e926408c8a12b95239cbbd6
BLAKE2b-256 checksum
How to use checksums
604ed96cc9fff457069c52754f63151a0340cb4886330d58e09061f203696b60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-19.0.2-cp314-cp314t-win_amd64.whl

Download URL av-19.0.2-cp314-cp314t-win_amd64.whl
Size 29.1 MB
Tags CPython 3.14 CPython 3.14 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
9db27c2248112a8eed3edd3ca83cf4405f52a402cda2eb1956035e646e6b99c6
BLAKE2b-256 checksum
How to use checksums
226e84b65c58171a6d75a5d129a9cf856ca730843f8c476f08033e7f9d4a1af6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-19.0.2-cp314-cp314t-musllinux_1_2_x86_64.whl

Download URL av-19.0.2-cp314-cp314t-musllinux_1_2_x86_64.whl
Size 39.5 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
8596fad2017d380708de35ddf9d34f808b8488c912cdc3f361691d866d9dc32d
BLAKE2b-256 checksum
How to use checksums
7e3a183b4f96a604a8544180e256d16f9a6c0534d6b7db22dc22fb0842aa96fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-19.0.2-cp314-cp314t-musllinux_1_2_aarch64.whl

Download URL av-19.0.2-cp314-cp314t-musllinux_1_2_aarch64.whl
Size 37.3 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
ae4618eab172f8135596972252f39c7399291c921e661c1771ba26b9254b800f
BLAKE2b-256 checksum
How to use checksums
25f9f98627770ccb4761e8cb87edd8b4bcf91549288bca95130c1a91ea7cdcb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-19.0.2-cp314-cp314t-manylinux_2_31_armv7l.whl

Download URL av-19.0.2-cp314-cp314t-manylinux_2_31_armv7l.whl
Size 46.2 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.31+ ARMv7l
SHA-256 checksum
How to use checksums
91924f5c836b1cbf89fe1522c642f98e89a733124908561fd49dc7a70e9b6d10
BLAKE2b-256 checksum
How to use checksums
3f93fa67f5d4180e57e7f740053fd855a6d312f4848f1e5582b8d3ab131184dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-19.0.2-cp314-cp314t-manylinux_2_28_x86_64.whl

Download URL av-19.0.2-cp314-cp314t-manylinux_2_28_x86_64.whl
Size 38.5 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
b559ff381bd800c46fee6a17d7e22a3443708cdd58d0901ae91d27cf5dd0578c
BLAKE2b-256 checksum
How to use checksums
b3716c6fc7e80dd5aa71109cb9324638620c40b7de8f677a6446d2f744295587
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-19.0.2-cp314-cp314t-manylinux_2_28_aarch64.whl

Download URL av-19.0.2-cp314-cp314t-manylinux_2_28_aarch64.whl
Size 36.5 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
1e7cb7b66a832bce8996af5b94f1cf4014a05ff51e0005feac4cb2566d711020
BLAKE2b-256 checksum
How to use checksums
5ac7afca86772d825f5eb5fd8d1a193b206ed9a4a0d74ffbe5bbe0a19521ed7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-19.0.2-cp314-cp314t-macosx_14_0_arm64.whl

Download URL av-19.0.2-cp314-cp314t-macosx_14_0_arm64.whl
Size 18.9 MB
Tags CPython 3.14 CPython 3.14 free-threading macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
32a8d37bde9e24ad0cc855140cbeecde17a363d7dc7928dcfc71a34b5f3ed387
BLAKE2b-256 checksum
How to use checksums
7686dbe91321e6b233970c7fdfdb82cb1750a745e5779ab9ee69a6ce2589b1cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-19.0.2-cp314-cp314t-macosx_11_0_x86_64.whl

Download URL av-19.0.2-cp314-cp314t-macosx_11_0_x86_64.whl
Size 22.9 MB
Tags CPython 3.14 CPython 3.14 free-threading macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
b632e026f4375037438a6b2b5d6a489e55bc9504fad22078991ef96211bec2a9
BLAKE2b-256 checksum
How to use checksums
08f5e7988f64d3debf50748f1c4372a3dac70cfe53720563056cb57bd77771a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-19.0.2-cp312-abi3-win_arm64.whl

Download URL av-19.0.2-cp312-abi3-win_arm64.whl
Size 20.7 MB
Tags CPython 3.12 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
79a277b077e3768a0ea9f881ca0b3bc96d4135a8d3a7a579938adb58718d0dfd
BLAKE2b-256 checksum
How to use checksums
42fee79d786628d9c0428f72214dbe4b90ee0c625e04d552a604d5235ff35515
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-19.0.2-cp312-abi3-win_amd64.whl

Download URL av-19.0.2-cp312-abi3-win_amd64.whl
Size 28.2 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
3ce5a1d7b916d13c16ac58f1756f0fee4af2d53f02bc1403e18550b50d375a22
BLAKE2b-256 checksum
How to use checksums
325a743a83666ded197df8b9957e2800bef9a39d52b23be2ca211bbd14b5fb22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-19.0.2-cp312-abi3-musllinux_1_2_x86_64.whl

Download URL av-19.0.2-cp312-abi3-musllinux_1_2_x86_64.whl
Size 36.0 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
44d3faae747cf04a33f39db8ae983ff3d93adc864ee663bc186b25b686803c3e
BLAKE2b-256 checksum
How to use checksums
30444de8c0ff5a5e25ceb0841efc0a4a7530a22d61800bc0cc19a1d03aa04358
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-19.0.2-cp312-abi3-musllinux_1_2_aarch64.whl

Download URL av-19.0.2-cp312-abi3-musllinux_1_2_aarch64.whl
Size 33.8 MB
Tags CPython 3.12 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
dfe7af5aa8243afd5d4778f85ad1a7c948e37fad272869da1f8f93f8d57fa7ad
BLAKE2b-256 checksum
How to use checksums
082165997929fa4dd7c20f64e742aa87205a8d65485718a2ab51633756078e83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-19.0.2-cp312-abi3-manylinux_2_31_armv7l.whl

Download URL av-19.0.2-cp312-abi3-manylinux_2_31_armv7l.whl
Size 44.4 MB
Tags CPython 3.12 Linux glibc 2.31+ ARMv7l abi3
SHA-256 checksum
How to use checksums
9d4f9f78c0ce1f20deb72626fdb3c723757f61a8cd6fbb7dd44d9401884a91fd
BLAKE2b-256 checksum
How to use checksums
f1b51bde0e54e525d88ad8f5becae657f8142543fd3be9d10b72141f041ca868
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-19.0.2-cp312-abi3-manylinux_2_28_x86_64.whl

Download URL av-19.0.2-cp312-abi3-manylinux_2_28_x86_64.whl
Size 35.0 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
9c1da7aad0fa6c13b4a5c1e7985be0d13f8526a96284573acaf3d55ead6d3fe8
BLAKE2b-256 checksum
How to use checksums
e17f9f1237feb894afa472ef834aa1fbfe4d6398f28dc7e86a1b418650204c36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-19.0.2-cp312-abi3-manylinux_2_28_aarch64.whl

Download URL av-19.0.2-cp312-abi3-manylinux_2_28_aarch64.whl
Size 32.7 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
04c8e412642c652cb2b1997a9cb2114546ee7d894600c631f4be8ceb26a0d0d2
BLAKE2b-256 checksum
How to use checksums
de0c448f89f76cf5e4da35dd6294a1e8155b75daa8839f2f2fa353775855d152
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-19.0.2-cp312-abi3-macosx_14_0_arm64.whl

Download URL av-19.0.2-cp312-abi3-macosx_14_0_arm64.whl
Size 18.6 MB
Tags CPython 3.12 abi3 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
b0dff6dfcc6ff9944fbbff15bc4ee2d90a2c1695d493bdea96e86f48823e9feb
BLAKE2b-256 checksum
How to use checksums
7c42067d0bcd2c07103f18cc23b510a8289dd80330e984c49d51ce0bafcee017
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-19.0.2-cp312-abi3-macosx_11_0_x86_64.whl

Download URL av-19.0.2-cp312-abi3-macosx_11_0_x86_64.whl
Size 22.6 MB
Tags CPython 3.12 abi3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
f5f7bcf987567cd3f9b01f1c375c59bf59d8a5b98c9c5c154aeda7a11e0c5dce
BLAKE2b-256 checksum
How to use checksums
4a2ff51f37820741134516e841053d5ecebf6350fbd451adcbff9ead96aa1244
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for av 19.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

19.0.2 This release

19 release files No provenance

14.3.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page