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!

Download files

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

Source Distribution

av-17.0.0.tar.gz (4.4 MB view details)

Uploaded Source

Built Distributions

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

av-17.0.0-cp314-cp314t-win_arm64.whl (22.1 MB view details)

Uploaded CPython 3.14tWindows ARM64

av-17.0.0-cp314-cp314t-win_amd64.whl (29.2 MB view details)

Uploaded CPython 3.14tWindows x86-64

av-17.0.0-cp314-cp314t-musllinux_1_2_x86_64.whl (40.6 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

av-17.0.0-cp314-cp314t-musllinux_1_2_aarch64.whl (38.4 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

av-17.0.0-cp314-cp314t-manylinux_2_28_x86_64.whl (39.6 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

av-17.0.0-cp314-cp314t-manylinux_2_28_aarch64.whl (37.5 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

av-17.0.0-cp314-cp314t-macosx_14_0_arm64.whl (18.9 MB view details)

Uploaded CPython 3.14tmacOS 14.0+ ARM64

av-17.0.0-cp314-cp314t-macosx_11_0_x86_64.whl (23.5 MB view details)

Uploaded CPython 3.14tmacOS 11.0+ x86-64

av-17.0.0-cp311-abi3-win_arm64.whl (21.9 MB view details)

Uploaded CPython 3.11+Windows ARM64

av-17.0.0-cp311-abi3-win_amd64.whl (28.9 MB view details)

Uploaded CPython 3.11+Windows x86-64

av-17.0.0-cp311-abi3-musllinux_1_2_x86_64.whl (37.4 MB view details)

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

av-17.0.0-cp311-abi3-musllinux_1_2_aarch64.whl (35.2 MB view details)

Uploaded CPython 3.11+musllinux: musl 1.2+ ARM64

av-17.0.0-cp311-abi3-manylinux_2_28_x86_64.whl (36.4 MB view details)

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

av-17.0.0-cp311-abi3-manylinux_2_28_aarch64.whl (34.0 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.28+ ARM64

av-17.0.0-cp311-abi3-macosx_14_0_arm64.whl (18.7 MB view details)

Uploaded CPython 3.11+macOS 14.0+ ARM64

av-17.0.0-cp311-abi3-macosx_11_0_x86_64.whl (23.2 MB view details)

Uploaded CPython 3.11+macOS 11.0+ x86-64

av-17.0.0-cp310-cp310-win_amd64.whl (29.0 MB view details)

Uploaded CPython 3.10Windows x86-64

av-17.0.0-cp310-cp310-musllinux_1_2_x86_64.whl (38.8 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

av-17.0.0-cp310-cp310-musllinux_1_2_aarch64.whl (36.5 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

av-17.0.0-cp310-cp310-manylinux_2_28_x86_64.whl (37.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

av-17.0.0-cp310-cp310-manylinux_2_28_aarch64.whl (35.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

av-17.0.0-cp310-cp310-macosx_14_0_arm64.whl (18.8 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

av-17.0.0-cp310-cp310-macosx_11_0_x86_64.whl (23.4 MB view details)

Uploaded CPython 3.10macOS 11.0+ x86-64

File details

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

File metadata

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

File hashes

Hashes for av-17.0.0.tar.gz
Algorithm Hash digest
SHA256 c53685df73775a8763c375c7b2d62a6cb149d992a26a4b098204da42ade8c3df
MD5 c9f505916e2e73be06df0979bfc16d98
BLAKE2b-256 b2ebabca886df3a091bc406feb5ff71b4c4f426beaae6b71b9697264ce8c7211

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for av-17.0.0-cp314-cp314t-win_arm64.whl
Algorithm Hash digest
SHA256 dba98603fc4665b4f750de86fbaf6c0cfaece970671a9b529e0e3d1711e8367e
MD5 809629f048182cc6ebed01fd2232be9b
BLAKE2b-256 410a0896b829a39b5669a2d811e1a79598de661693685cd62b31f11d0c18e65b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for av-17.0.0-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 e5002271ab2135b551d980c2db8f3299d452e3b9d3633f24f6bb57fffe91cd10
MD5 70d2a1ba4bb3a643d869cc5b02af2e35
BLAKE2b-256 35f26fdb26d0651adf409864cb2a0d60da107e467d3d1aabc94b234ead54324a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for av-17.0.0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3649ab3d2c7f58049ded1a36e100c0d8fd529cf258f41dd88678ba824034d8c9
MD5 76a07f5106fee4b860762a7e344c0aa7
BLAKE2b-256 73ca307740c6aa2980966bf11383ffcb04bacc5b13f3d268ab4cfb274ad6f793

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for av-17.0.0-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 096cfd1e9fc896506726c7c42aaf9b370e78c2f257cde4d6ddb6c889bfcc49ec
MD5 fbb11547869e5717e4007fac327ff16f
BLAKE2b-256 7d2d207d9361e25b5abec9be335bbab4df6b6b838e2214be4b374f4cfb285427

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for av-17.0.0-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e15c88bb0921f9435bcc5a27a0863dba571a80ad5e1389c4fcf2073833bb4a74
MD5 410abd2eed1b1e61e026cf7fd5b6b8bd
BLAKE2b-256 28cdc8510a9607886785c0b3ca019d503e888c3757529be42a7287fe2bfa92d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for av-17.0.0-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a213ac9e83b7ab12c2e9f277a09cac8e9d85cf0883efdab7a87a60e2e4e48879
MD5 1fd7627ed109087e868908de74982b44
BLAKE2b-256 3062c2306d91602ddad2c56106f21dcb334fd51d5ea2e952f7fa025bb8aa39fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for av-17.0.0-cp314-cp314t-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 dbb56aa3b7ae72451d1bf6e9d37c7d83d39b97af712f73583ff419fbf08fc237
MD5 8ce245526652ba9a53e2ab37cb0111ae
BLAKE2b-256 a9fbb4419494bfc249163ec393c613966d66db7e95c76da3345711cd115a79df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for av-17.0.0-cp314-cp314t-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 d13250fb4b4522e9a6bec32da082556d5f257110ea223758151375748d9bbe25
MD5 e2713f13bcac826a7ef157238b172cea
BLAKE2b-256 7f8ec40ac08e63f79387c59f6ecc38f47d4c942b549130eee579ec1a91f6a291

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for av-17.0.0-cp311-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 3d32e9b5c5bbcb872a0b6917b352a1db8a42142237826c9b49a36d5dbd9e9c26
MD5 bcbf5ef806876de218c2094ef7404647
BLAKE2b-256 b0bbc5a4c4172c514d631fb506e6366b503576b8c7f29809cf42aca73e28ff01

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for av-17.0.0-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 45a35a40b2875bf2f98de7c952d74d960f92f319734e6d28e03b4c62a49e6f49
MD5 7be0456bb54ea3e35a216f94382f51fb
BLAKE2b-256 34add2172966282cb8f146c13b6be7416efefde74186460c5e1708ddfc13dba6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: av-17.0.0-cp311-abi3-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 37.4 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.7

File hashes

Hashes for av-17.0.0-cp311-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ffaf266a1a9c2148072de0a4b5ae98061465178d2cfaa69ee089761149342974
MD5 437efd4a0282a200b780b7cad44be460
BLAKE2b-256 90ea52b0fc6f69432c7bf3f5fbe6f707113650aa40a1a05b9096ffc2bba4f77d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for av-17.0.0-cp311-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 deda202e6021cfc7ba3e816897760ec5431309d59a4da1f75df3c0e9413d71e7
MD5 e0598a788c2f3840ddccf3c4b183e96f
BLAKE2b-256 526ca1f4f2677bae6f2ade7a8a18e90ebdcf70690c9b1c4e40e118aa30fa313f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: av-17.0.0-cp311-abi3-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 36.4 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.7

File hashes

Hashes for av-17.0.0-cp311-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1060cba85f97f4a337311169d92c0b5e143452cfa5ca0e65fa499d7955e8592e
MD5 a206ccc0ebd12412b83cebdd29173437
BLAKE2b-256 d259d19bc3257dd985d55337d7f0414c019414b97e16cd3690ebf9941a847543

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for av-17.0.0-cp311-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b440da6ac47da0629d509316f24bcd858f33158dbdd0f1b7293d71e99beb26de
MD5 dacfc3b0f9de93ababe063b386fc9630
BLAKE2b-256 00c0637721f3cd5bb8bd16105a1a08efd781fc12f449931bdb3a4d0cfd63fa55

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for av-17.0.0-cp311-abi3-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e44b6c83e9f3be9f79ee87d0b77a27cea9a9cd67bd630362c86b7e56a748dfbb
MD5 0da53d96783e3bb53ca71bb7de807728
BLAKE2b-256 52039ace1acc08bc9ae38c14bf3a4b1360e995e4d999d1d33c2cbd7c9e77582a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for av-17.0.0-cp311-abi3-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 ed4013fac77c309a4a68141dcf6148f1821bb1073a36d4289379762a6372f711
MD5 ae70779db7fd495efc1f3801bb376eb0
BLAKE2b-256 b1fb55e3b5b5d1fc61466292f26fbcbabafa2642f378dc48875f8f554591e1a4

See more details on using hashes here.

File details

Details for the file av-17.0.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: av-17.0.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 29.0 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for av-17.0.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a795e153ff31a6430e974b4e6ad0d0fab695b78e3f17812293a0a34cd03ee6a9
MD5 208f340ef852ff5ab136d07878b2f2bf
BLAKE2b-256 fbbde42536234e37caffd1a054de1a0e6abca226c5686e9672726a8d95511422

See more details on using hashes here.

File details

Details for the file av-17.0.0-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for av-17.0.0-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f8ef8e8f1a0cbb2e0ad49266015e2277801a916e2186ac9451b493ff6dfdec27
MD5 9e76ed006689adda425aa8e69d1ded53
BLAKE2b-256 cd8df489cd6f9fe9c8b38dca00ecb39dc38836761767a4ec07dd95e62e124ac3

See more details on using hashes here.

File details

Details for the file av-17.0.0-cp310-cp310-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for av-17.0.0-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3a074835ce807434451086993fedfb3b223dacedb2119ab9d7a72480f2d77f32
MD5 b8e11b7c115f22bffbfd252fdb1dfe27
BLAKE2b-256 c1533b356b14ba72354688c8d9777cf67b707769b6e14b63aaeb0cddeeac8d32

See more details on using hashes here.

File details

Details for the file av-17.0.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for av-17.0.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8706ce9b5d8d087d093b46a9781e7532c4a9e13874bca1da468be78efc56cecc
MD5 c7801fbe22da4c9a4c6c6b0d9d8bc73f
BLAKE2b-256 7adb7f3f9e92f2ac8dba639ab01d69a33b723aa16b5e3e612dbfe667fbc02dcd

See more details on using hashes here.

File details

Details for the file av-17.0.0-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for av-17.0.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9a8b7b63a92d8dc7cbe5000546e4684176124ddd49fdd9c12570e3aa6dadf11a
MD5 84224018865699d40783aa081f476d07
BLAKE2b-256 5f2595ad714f950c188495ffbfef235d06a332123d6f266026a534801ffc2171

See more details on using hashes here.

File details

Details for the file av-17.0.0-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

  • Download URL: av-17.0.0-cp310-cp310-macosx_14_0_arm64.whl
  • Upload date:
  • Size: 18.8 MB
  • Tags: CPython 3.10, macOS 14.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for av-17.0.0-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 17cd518fc88dc449ce9dcfd0b40e9b3530266927375a743efc80d510adfb188b
MD5 e87d61f35f147e2c3d1f5498aa86f054
BLAKE2b-256 541ae433766470c57c9c1c8558021de4d2466b3403ed629e48722d39d12baa6c

See more details on using hashes here.

File details

Details for the file av-17.0.0-cp310-cp310-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for av-17.0.0-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 4b21bcff4144acae658c0efb011fa8668c7a9638384f3ae7f5add33f35b907c6
MD5 087c001d350d590ebeb677af2ca8c03e
BLAKE2b-256 954dea1ac272eeea83014daca1783679a9e9f894e1e68e5eb4f717dd8813da2a

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