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

Binary wheels are provided on PyPI for Linux, MacOS and Windows linked against the latest stable version of ffmpeg. 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 (mini)Conda.

Alternative installation methods

Due to the complexity of the dependencies, PyAV is not always the easiest Python package to install from source. If you want to use your existing ffmpeg (must be the correct major version), the source version of PyAV is on PyPI:

[!WARNING] You must be in a posix env, and have the correct version of ffmpeg installed on your system.

pip install av --no-binary av

Installing From Source

Here's how to build PyAV from source. You must use MSYS2 when using Windows.

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!

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

av-18.0.0.tar.gz (4.3 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

av-18.0.0-cp314-cp314t-win_arm64.whl (21.4 MB view details)

Uploaded CPython 3.14tWindows ARM64

av-18.0.0-cp314-cp314t-win_amd64.whl (28.4 MB view details)

Uploaded CPython 3.14tWindows x86-64

av-18.0.0-cp314-cp314t-musllinux_1_2_x86_64.whl (39.7 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

av-18.0.0-cp314-cp314t-musllinux_1_2_aarch64.whl (37.6 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

av-18.0.0-cp314-cp314t-manylinux_2_31_armv7l.whl (40.5 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.31+ ARMv7l

av-18.0.0-cp314-cp314t-manylinux_2_28_x86_64.whl (38.6 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

av-18.0.0-cp314-cp314t-manylinux_2_28_aarch64.whl (36.7 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

av-18.0.0-cp314-cp314t-macosx_14_0_arm64.whl (18.4 MB view details)

Uploaded CPython 3.14tmacOS 14.0+ ARM64

av-18.0.0-cp314-cp314t-macosx_11_0_x86_64.whl (22.7 MB view details)

Uploaded CPython 3.14tmacOS 11.0+ x86-64

av-18.0.0-cp311-abi3-win_arm64.whl (20.2 MB view details)

Uploaded CPython 3.11+Windows ARM64

av-18.0.0-cp311-abi3-win_amd64.whl (27.6 MB view details)

Uploaded CPython 3.11+Windows x86-64

av-18.0.0-cp311-abi3-musllinux_1_2_x86_64.whl (36.6 MB view details)

Uploaded CPython 3.11+musllinux: musl 1.2+ x86-64

av-18.0.0-cp311-abi3-musllinux_1_2_aarch64.whl (34.5 MB view details)

Uploaded CPython 3.11+musllinux: musl 1.2+ ARM64

av-18.0.0-cp311-abi3-manylinux_2_31_armv7l.whl (39.0 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.31+ ARMv7l

av-18.0.0-cp311-abi3-manylinux_2_28_x86_64.whl (35.5 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.28+ x86-64

av-18.0.0-cp311-abi3-manylinux_2_28_aarch64.whl (33.4 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.28+ ARM64

av-18.0.0-cp311-abi3-macosx_14_0_arm64.whl (18.2 MB view details)

Uploaded CPython 3.11+macOS 14.0+ ARM64

av-18.0.0-cp311-abi3-macosx_11_0_x86_64.whl (22.5 MB view details)

Uploaded CPython 3.11+macOS 11.0+ x86-64

File details

Details for the file av-18.0.0.tar.gz.

File metadata

  • Download URL: av-18.0.0.tar.gz
  • Upload date:
  • Size: 4.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for av-18.0.0.tar.gz
Algorithm Hash digest
SHA256 4ef7e72c3d3a872584a1215173b16e0226811037f40dcdbf75992631098df1ba
MD5 bd03877d7ed1754ed610d426f8f3e1e8
BLAKE2b-256 aea4570a5a35c8638aba01e739925846c35fdd6b0756a15526766d0a4dd3b7df

See more details on using hashes here.

File details

Details for the file av-18.0.0-cp314-cp314t-win_arm64.whl.

File metadata

  • Download URL: av-18.0.0-cp314-cp314t-win_arm64.whl
  • Upload date:
  • Size: 21.4 MB
  • Tags: CPython 3.14t, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for av-18.0.0-cp314-cp314t-win_arm64.whl
Algorithm Hash digest
SHA256 96f594ff506a09475e5549359352332049a25d37a08f00b4623f7f6e92e45b9c
MD5 af7654347727a01b9be27bbf0e57eef6
BLAKE2b-256 01201e24450ea981c44ed328691496fd2774dfa9fa3c3b00fd07f72fd5614abe

See more details on using hashes here.

File details

Details for the file av-18.0.0-cp314-cp314t-win_amd64.whl.

File metadata

  • Download URL: av-18.0.0-cp314-cp314t-win_amd64.whl
  • Upload date:
  • Size: 28.4 MB
  • Tags: CPython 3.14t, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for av-18.0.0-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 55a646e9afce9fdc5de5224205a8a12c7ed1ba9803145dcc876c40bfc03a109b
MD5 278435a94925422f2496c152eea7f826
BLAKE2b-256 c8950636ca04d5d89d01c49bd366d2b660cc85d1f8117c476b2be62eb0c70855

See more details on using hashes here.

File details

Details for the file av-18.0.0-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for av-18.0.0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6882a48f7aec2863c96cddee3256ff2da98f7fb6cbed83cee9d7e70a8f186a6b
MD5 8172e958d7a7714243880453fa924c9b
BLAKE2b-256 100c38ed7601277ae57dfe857d040be4762530fd728efff45c2fb8f035fef96a

See more details on using hashes here.

File details

Details for the file av-18.0.0-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for av-18.0.0-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 30404f53ca1ea7f350ac86ff22a2c04f903014758e9b33f398c5a62de34bd84f
MD5 1c188df897a11f27ad0d4c90ffbe45d6
BLAKE2b-256 26928293e6a267e0591b543abd96ae01e7e8ed228509bdb4e4644a8a8395d90f

See more details on using hashes here.

File details

Details for the file av-18.0.0-cp314-cp314t-manylinux_2_31_armv7l.whl.

File metadata

File hashes

Hashes for av-18.0.0-cp314-cp314t-manylinux_2_31_armv7l.whl
Algorithm Hash digest
SHA256 613153e48cefc91700746dde0ad0282d4677b194cba22cc771de14c78411cf8b
MD5 1e0191c899b5e4d22b26fbc545f086f7
BLAKE2b-256 6b3c5f54710d69b0ea93634134f92b49c7a2a7fd27da5486a8a7e6251ac1cfb4

See more details on using hashes here.

File details

Details for the file av-18.0.0-cp314-cp314t-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for av-18.0.0-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aa15e567a018cc94a26b0ab45da676dee70c4146ace6e92e47d30cc9689cbfbe
MD5 a97fb4add0c5647a5ce3f2f85600c114
BLAKE2b-256 373a1614d74f0d676ea6745eb59553c9ad01ca25db523cba808d522e838f4f5b

See more details on using hashes here.

File details

Details for the file av-18.0.0-cp314-cp314t-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for av-18.0.0-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 88ce194c2201c6a6d40336adee8a5ddde46ed743eacb500e3ae9368d1c6d889e
MD5 5312084755736b7524fb21a998036a65
BLAKE2b-256 c3e569397019aed280a72a43e97a252dee4295df1a9e608848452e5300ec4dab

See more details on using hashes here.

File details

Details for the file av-18.0.0-cp314-cp314t-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for av-18.0.0-cp314-cp314t-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f8f454349c402e2c8d6fa80b54eb2a3f86c00f414d2b399f01ae6dab075c6fd8
MD5 07a2ae83a0ea9e187ca1998c8d31e919
BLAKE2b-256 f1f0b9f8363d07aa4521913e483f6a30c7c164973ef01de62769bf9b97049cd8

See more details on using hashes here.

File details

Details for the file av-18.0.0-cp314-cp314t-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for av-18.0.0-cp314-cp314t-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 88dd8e35e9242662b409a6a05fd24a6775d949eb05da0ba31cab4f250eacbab5
MD5 8435082225c8be0f853b70bed44d0852
BLAKE2b-256 e2254ee23a7f1609adf9b2f140c7a8ffade64a1449d89ab431d922a809eebf19

See more details on using hashes here.

File details

Details for the file av-18.0.0-cp311-abi3-win_arm64.whl.

File metadata

  • Download URL: av-18.0.0-cp311-abi3-win_arm64.whl
  • Upload date:
  • Size: 20.2 MB
  • Tags: CPython 3.11+, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for av-18.0.0-cp311-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 adac2b3833b6cb9bd6cb52664a522b94db453615b3675b1dbb26e13fe1c80da6
MD5 f13a12eaacae21a83dfa1247f85ec3e0
BLAKE2b-256 8bf62509754d4d2356abc6fc0ea3d57c12ade29bac23a1fb7fc215a53ca518fb

See more details on using hashes here.

File details

Details for the file av-18.0.0-cp311-abi3-win_amd64.whl.

File metadata

  • Download URL: av-18.0.0-cp311-abi3-win_amd64.whl
  • Upload date:
  • Size: 27.6 MB
  • Tags: CPython 3.11+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for av-18.0.0-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 aaf4d354d2beaa6651e4f92e54409a578bde64f79c0beef9a30b388d06f7c629
MD5 82217ef2cc74a71147416c6ddcceb6eb
BLAKE2b-256 11850f121ff43dc5a70696676c98a8f1674e2fa787614c2abaacb15fa1a9bc99

See more details on using hashes here.

File details

Details for the file av-18.0.0-cp311-abi3-musllinux_1_2_x86_64.whl.

File metadata

  • Download URL: av-18.0.0-cp311-abi3-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 36.6 MB
  • Tags: CPython 3.11+, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for av-18.0.0-cp311-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0f65518a184613e41536f29e8758c8e3d8293e46bf5bef108f04f925bbfa3f44
MD5 02b96b06f1d55d1c39a26c83570ab372
BLAKE2b-256 7692810da80b12680d4c4fe235bd1b4003289be9213ac7f114b77b8ecf0e3b3e

See more details on using hashes here.

File details

Details for the file av-18.0.0-cp311-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for av-18.0.0-cp311-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ef96dabb3e50dac249913145dff5424b302b257fd95dcb64be3c7b7a8aef16d1
MD5 08b3f59626fa46757bbb8529b74bc464
BLAKE2b-256 c9cf0d7aee07fe16aa9ffdf96043c14bed5485a52c0dea4259de87aa306ecab4

See more details on using hashes here.

File details

Details for the file av-18.0.0-cp311-abi3-manylinux_2_31_armv7l.whl.

File metadata

  • Download URL: av-18.0.0-cp311-abi3-manylinux_2_31_armv7l.whl
  • Upload date:
  • Size: 39.0 MB
  • Tags: CPython 3.11+, manylinux: glibc 2.31+ ARMv7l
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for av-18.0.0-cp311-abi3-manylinux_2_31_armv7l.whl
Algorithm Hash digest
SHA256 ea2e8ebbce521f21b55df9400e00d721623c9020ef158f5a188a96130be0743f
MD5 af1554e92c972243c0115f5c5806466c
BLAKE2b-256 5a94eba99691d184f6a395a242d54dc370e2fd2265e95bbc98e2963a0fdbdd6c

See more details on using hashes here.

File details

Details for the file av-18.0.0-cp311-abi3-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: av-18.0.0-cp311-abi3-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 35.5 MB
  • Tags: CPython 3.11+, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for av-18.0.0-cp311-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ae56b40b6f8b067a8ad2dac664fbfbabac7f7a55b9a7bb031eb99289252bc017
MD5 f595202ddff07e07a9d3a16b9b89b743
BLAKE2b-256 6db97708c43fed7ae28b4a1bad060b4221e3334cd827cec24f7165902a6ac1f4

See more details on using hashes here.

File details

Details for the file av-18.0.0-cp311-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for av-18.0.0-cp311-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4d683b7747a0ba9222b8a5f81e41db5f796e7f64473454ec4fe2548e083c2fa0
MD5 fef0d709f9a63e8637a08e94e5d2990f
BLAKE2b-256 84746732f17b96dc23fd23b876b2805435855abdc8a3b397142be4e581165de8

See more details on using hashes here.

File details

Details for the file av-18.0.0-cp311-abi3-macosx_14_0_arm64.whl.

File metadata

  • Download URL: av-18.0.0-cp311-abi3-macosx_14_0_arm64.whl
  • Upload date:
  • Size: 18.2 MB
  • Tags: CPython 3.11+, macOS 14.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for av-18.0.0-cp311-abi3-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 35274c20d2ad3b4774fe632bcef2e34af79858ddf899352339cc3babbc13a484
MD5 946e04ece50cf46860c76a43d01054ce
BLAKE2b-256 77b32576a44b4f39c7462ced4c17fec04c756f7b0f3c5cb940d124173e417d6a

See more details on using hashes here.

File details

Details for the file av-18.0.0-cp311-abi3-macosx_11_0_x86_64.whl.

File metadata

  • Download URL: av-18.0.0-cp311-abi3-macosx_11_0_x86_64.whl
  • Upload date:
  • Size: 22.5 MB
  • Tags: CPython 3.11+, macOS 11.0+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for av-18.0.0-cp311-abi3-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 149289d40e732a6e49c9530bc245b49d9964cfd1c8c9e06778703b7d5bba6b25
MD5 6231889139a7376cf14c4b2ec9e5e37d
BLAKE2b-256 184a9e3463df030e063d757fa12f0f39be6541b45b06b5bad48c2ce361b924bf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page