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.11 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 8.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.11 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 18.1.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 18.1.1
File Size Uploaded Provenance Actions
av-18.1.1.tar.gz 4.6 MB Without provenance Details for av-18.1.1.tar.gz

Built distributions (wheels)

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

Total release size: 574.4 MB

Release files / av-18.1.1.tar.gz

Download URL av-18.1.1.tar.gz
Size 4.6 MB
Tags Source
SHA-256 checksum
How to use checksums
2e364c39521e10a1599c3cffad3f1039999fe727f56bd8545746beb311a060a2
BLAKE2b-256 checksum
How to use checksums
d8d0879cbd987c085e3c0d45e1bb2e30445f8f5d9265603e3580c71c28687002
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

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

Download URL av-18.1.1-cp314-cp314t-win_arm64.whl
Size 23.0 MB
Tags CPython 3.14 CPython 3.14 free-threading Windows ARM64
SHA-256 checksum
How to use checksums
c3a3bb19b3d570fada856e58a67628436e0530d65f8668a45c8c22dfed699b7a
BLAKE2b-256 checksum
How to use checksums
34542f9316e24e2635e5dd6d0ae339cfad1d510dcac07cfe073e27e9b8d2c094
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Release files / av-18.1.1-cp311-abi3-win_arm64.whl

Download URL av-18.1.1-cp311-abi3-win_arm64.whl
Size 21.6 MB
Tags CPython 3.11 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
93eeef6535bdb7d25c4ebf5b603693cb4f47c653d281d48e4306e8bca507cd7b
BLAKE2b-256 checksum
How to use checksums
d46b2f1bf1a1cbec92a855b981aa5faff8aae62a3a0416780d476a29f91742e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-18.1.1-cp311-abi3-win_amd64.whl

Download URL av-18.1.1-cp311-abi3-win_amd64.whl
Size 29.0 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
2f93f859e0705abe2958889ef08699db44a3ff11964e1bbe2a6beb95a680e248
BLAKE2b-256 checksum
How to use checksums
a77a0fbac30a189599d32a9cb8439b38b95521c091e041c3736d2a0c947c7f10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-18.1.1-cp311-abi3-musllinux_1_2_x86_64.whl

Download URL av-18.1.1-cp311-abi3-musllinux_1_2_x86_64.whl
Size 37.6 MB
Tags CPython 3.11 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
e3bddd6bb9873e87e9e9217e2ebc454700a67b0728368901620fc7ae86d601d7
BLAKE2b-256 checksum
How to use checksums
7870d36674dbdb4c67ff72cfc212aeec993cac723e0dbee9a4478ea61eab134b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-18.1.1-cp311-abi3-musllinux_1_2_aarch64.whl

Download URL av-18.1.1-cp311-abi3-musllinux_1_2_aarch64.whl
Size 36.0 MB
Tags CPython 3.11 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
113566c5e6e4b704816f2a435d43b5949ec8b73879c300c1c275a7877e7e5941
BLAKE2b-256 checksum
How to use checksums
c1fb4ab0f053ad7cdb7e0e95cf09d1bbf543468bf1f7a903a7e972db3765a3f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-18.1.1-cp311-abi3-manylinux_2_31_armv7l.whl

Download URL av-18.1.1-cp311-abi3-manylinux_2_31_armv7l.whl
Size 36.5 MB
Tags CPython 3.11 Linux glibc 2.31+ ARMv7l abi3
SHA-256 checksum
How to use checksums
22c93e65736010adcf0c0b59465702ee49b424dbfa0b6516773d2437f1774f5d
BLAKE2b-256 checksum
How to use checksums
974d29c0ef7c14f13d05e28cc44819932a0ad47ec8a3434d80e56d32a461320c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-18.1.1-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL av-18.1.1-cp311-abi3-manylinux_2_28_x86_64.whl
Size 36.6 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
99c8f12ad952f86376b80e3d3dbb792d76036018d3e25233c34d5f225faf55e1
BLAKE2b-256 checksum
How to use checksums
3c9fa189b28e331bbe2e97a6151258ef7dfeecf1e41ef409f336303dbed01c5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-18.1.1-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL av-18.1.1-cp311-abi3-manylinux_2_28_aarch64.whl
Size 35.0 MB
Tags CPython 3.11 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
86564224ad0029241181db8721093b8858d914ac0218cbe61c5575a172c4d80b
BLAKE2b-256 checksum
How to use checksums
fd1b3dcc1588170bde80bb976b03daf40b2fb90e551de01818d0f8b19984ca1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-18.1.1-cp311-abi3-macosx_14_0_arm64.whl

Download URL av-18.1.1-cp311-abi3-macosx_14_0_arm64.whl
Size 19.8 MB
Tags CPython 3.11 abi3 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
bf001d2390ac0f7d58b252109e130b2042da0bdcd887c0e41425b96dd9859f32
BLAKE2b-256 checksum
How to use checksums
8a05533b7f47d564d2936784bcf7baf693213ec6be8820a43c4a37060bd92639
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / av-18.1.1-cp311-abi3-macosx_11_0_x86_64.whl

Download URL av-18.1.1-cp311-abi3-macosx_11_0_x86_64.whl
Size 23.1 MB
Tags CPython 3.11 abi3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
976135ca19c2f4dbd7bb9a1021d778e96f31a4d6ca8bb8ac71b159cd3f2c56f7
BLAKE2b-256 checksum
How to use checksums
644e796c8bc3d4be4e688dfcdda6381beb1989b85f8a9bcb5c3015c25ec7faea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for av 18.1.1

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

18.1.1 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