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.1

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.1
File Size Uploaded
av-19.0.1.tar.gz 4.3 MB Details

Built distributions (wheels)

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

Total release size: 561.1 MB

Release files / av-19.0.1.tar.gz

Download URL av-19.0.1.tar.gz
Size 4.3 MB
Tags Source
SHA-256 checksum
How to use checksums
08674930eaf1af78a3ed8f93d3ba49383323b3a867e84349d9c399e36f7497da
BLAKE2b-256 checksum
How to use checksums
90bca2a40e503250fe5d4174471911828f31658864eb69a8a7cb960c715e17b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL av-19.0.1-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
e1f70b1bda35588aff5fc526500376afe143e33cfce5d7e30d368170c38717db
BLAKE2b-256 checksum
How to use checksums
f47da20ff44c1445c09a93985418f6997e5823635848e955a7953339636a9829
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL av-19.0.1-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
8289295bfd2a438f2cf83c3ab426964055e441f1500410a842e7a767bdc8e51e
BLAKE2b-256 checksum
How to use checksums
30c439d4e2b778f1e86672671e25c3fd38e8d59d59b6f65c5cd13d7fae3d88a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL av-19.0.1-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
330f91c704aa822b96d9aa21382c0eb41a68531d388078d724d334faa460cbcc
BLAKE2b-256 checksum
How to use checksums
0a8419a9d37d7546a3879d759a8957b2513a029cafb81f60218c496b1ce9d5a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL av-19.0.1-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
79136e62d4bc93db81fb63d6dd0060e86259426c071ca5157b1abe8c815c40b7
BLAKE2b-256 checksum
How to use checksums
8c1dbb0281ada4203c5d85f7e8b045de2cadc89c3b5d0ed5705298f7a9288b1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL av-19.0.1-cp314-cp314t-manylinux_2_31_armv7l.whl
Size 43.5 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.31+ ARMv7l
SHA-256 checksum
How to use checksums
5e527b9d2d23c096d2b488e19a40ceba3654ea84a3cecee1c1b46c70ceaceae2
BLAKE2b-256 checksum
How to use checksums
3f0977fec7c8de49fb815d55de1dfac21b39fb9e6915cbd8dcd945538ebb6f44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL av-19.0.1-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
400ba5234865dc370c442658efff0672c64dcad2de26a2a7c900abf16ffd9f68
BLAKE2b-256 checksum
How to use checksums
c1f025e7d21cc29e949118bdac6efe0ef5c5020fc4273a3ea237989728ebe816
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL av-19.0.1-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
aafd294abd0e5c23e6c813b10fb4792cf1dd1002c1aead0292d195cda2ca154e
BLAKE2b-256 checksum
How to use checksums
efa5eb2b6aadbda16ee676c76e43012709f0cdfe09c35bc9ad4ffb5099827e72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL av-19.0.1-cp314-cp314t-macosx_14_0_arm64.whl
Size 18.7 MB
Tags CPython 3.14 CPython 3.14 free-threading macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
17f2e42a1c969c78c616fe58bc69641a9df404c1ac2f01b50c1ddc22e5c31f69
BLAKE2b-256 checksum
How to use checksums
b6c950b2dedd4314a0ba0d78d7a7a52f7b073bc3377e5152e51d9d5627c5bcf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL av-19.0.1-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
3ef376ab828730f50b635e3541f305503adad713cb4c3eadb5ad0e4c6a6f4a72
BLAKE2b-256 checksum
How to use checksums
784ab5d7614856af72d7c18b926dda43bd227844b0b42d64e7c478b080f8d9c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

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

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

Download URL av-19.0.1-cp312-abi3-win_amd64.whl
Size 28.1 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
906fc3db09288319a75ea23ffefb59961c7dbe0d1c074601507a89de7d8593d8
BLAKE2b-256 checksum
How to use checksums
e6dca87a5a5e3ac462734f9befd8bad1447301e5802d8c111e22bf708fba7af3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL av-19.0.1-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
935a6b6386a6994964e324eb02af4dab01eedbcbbde23b4b21bf1dc59b004244
BLAKE2b-256 checksum
How to use checksums
7a41b9af863f635f64abaf5eb734521306487fc79447f5d55d792339a81c8a4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL av-19.0.1-cp312-abi3-musllinux_1_2_aarch64.whl
Size 33.7 MB
Tags CPython 3.12 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
bcd0af218ecbeddbb1b0c56c4278043a3d97b87f3b8e33f6f92d452c744b1b08
BLAKE2b-256 checksum
How to use checksums
11bee4ddd0197d02a3114402f3ffde541f6c4edecd24d670bea0da1eb6f15fb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL av-19.0.1-cp312-abi3-manylinux_2_31_armv7l.whl
Size 41.7 MB
Tags CPython 3.12 Linux glibc 2.31+ ARMv7l abi3
SHA-256 checksum
How to use checksums
1de938ec0134ad88f795dfe0a2dfc2d59e9ecea39a20158d37961279a3483612
BLAKE2b-256 checksum
How to use checksums
66f26eee1b99ac492fa1965d6fd466ef8b644ca296b4f1dfa8c8225ab340b139
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL av-19.0.1-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
1bea5b6134209305199bce7627ac3d33964de2cf2b09c77d08e7f67cf8bd4170
BLAKE2b-256 checksum
How to use checksums
c8975fb45934ac64e8afc2c6869a7dcb8cb2af1ddab09a725367548856cbb59f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL av-19.0.1-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
437d4c0d5a7d771f2c3af84cd28e6aac6e173851116c60b53e81dbf1eebe4eab
BLAKE2b-256 checksum
How to use checksums
104b61f138fcf21e7bb50655ed21dd7fdc7a296baf72ea3c7ad8e89cb00b69c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL av-19.0.1-cp312-abi3-macosx_14_0_arm64.whl
Size 18.4 MB
Tags CPython 3.12 abi3 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
29d85e4ee36bf8f475dad07d4f4417c07bba62535f6a7179429c357e0ca8fb0f
BLAKE2b-256 checksum
How to use checksums
ff75db37bb43a12a317cc0c0b96ddabc7896f582503b377e0803d4d721969522
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL av-19.0.1-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
2bd44ef4c09bb04aa6100d4c6191ddedaffef6af757ac55d5b4dc90915859299
BLAKE2b-256 checksum
How to use checksums
ec2ff4d219b2c72fea88bcbaea23de5b7f864ebecd348586fd2fe69f7f657147
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

19.0.1 This release

19 release files

14.4.0

1 release file

14.3.0

11.0.0

1 release file

10.0.0

1 release file

9.2.0

1 release file

9.1.1

1 release file

9.1.0

1 release file

9.0.2

1 release file

9.0.1

1 release file

9.0.0

1 release file

8.1.0

1 release file

8.0.3

1 release file

8.0.2

1 release file

8.0.1

1 release file

8.0.0

1 release file

7.0.1

1 release file

7.0.0

1 release file

6.2.0

1 release file

6.1.2

1 release file

6.1.0

1 release file

6.0.0

1 release file

0.5.3

1 release file

0.5.2

1 release file

0.5.1

1 release file

0.5.0

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.0

1 release file

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