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.1.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.1-cp314-cp314t-win_arm64.whl (22.1 MB view details)

Uploaded CPython 3.14tWindows ARM64

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

Uploaded CPython 3.14tWindows x86-64

av-17.0.1-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.1-cp314-cp314t-musllinux_1_2_aarch64.whl (38.4 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

av-17.0.1-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.1-cp314-cp314t-manylinux_2_28_aarch64.whl (37.5 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14tmacOS 14.0+ ARM64

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

Uploaded CPython 3.14tmacOS 11.0+ x86-64

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

Uploaded CPython 3.11+Windows ARM64

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

Uploaded CPython 3.11+Windows x86-64

av-17.0.1-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.1-cp311-abi3-musllinux_1_2_aarch64.whl (35.2 MB view details)

Uploaded CPython 3.11+musllinux: musl 1.2+ ARM64

av-17.0.1-cp311-abi3-manylinux_2_28_x86_64.whl (36.3 MB view details)

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

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

Uploaded CPython 3.11+manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.11+macOS 14.0+ ARM64

av-17.0.1-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.1-cp310-cp310-win_amd64.whl (29.0 MB view details)

Uploaded CPython 3.10Windows x86-64

av-17.0.1-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.1-cp310-cp310-musllinux_1_2_aarch64.whl (36.5 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

av-17.0.1-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.1-cp310-cp310-manylinux_2_28_aarch64.whl (35.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

av-17.0.1-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.1.tar.gz.

File metadata

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

File hashes

Hashes for av-17.0.1.tar.gz
Algorithm Hash digest
SHA256 fbcbd4aa43bca6a8691816283112d1659a27f407bbeb66d1397023691339f5d4
MD5 5b2645a06ad7da4286bafb723431747e
BLAKE2b-256 4ef08c8dca97ae0cf00e8e2a53bb5cb9aca5fd484f585ef3e9b412200aff3ebd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: av-17.0.1-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.12

File hashes

Hashes for av-17.0.1-cp314-cp314t-win_arm64.whl
Algorithm Hash digest
SHA256 a87a42c36e29f75e7dff7281944f2a6876a2c8875e225ccbf6c1ae62748b4caa
MD5 bdaf768228144076888d580dc78d115a
BLAKE2b-256 5faf0a6e1d2a845988039f6c197fa7269b5e9abbe17354fb41cc9d75bb260fcb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: av-17.0.1-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.12

File hashes

Hashes for av-17.0.1-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 b87b98afe971cde123953073bc9c95ab0b7efd2ecc082dd2dbd11f9d9abf190e
MD5 06c2d81e5dc8656a1612115f33216ac0
BLAKE2b-256 c8598676188b72eed09d48ce6cfaf0f22b0bb9f3cfd74d388ee2b7fdf960536d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for av-17.0.1-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3d3a36204cb1f1e7691e6446afa8d6b7097b09946dae732c71c5d05ce09e506e
MD5 7d08c997cb7755710c33ea225a1218dc
BLAKE2b-256 aeb2f4e83e41c1e3c186f34b7df506779d0cd7e40499e2e19519c7ece148cd20

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for av-17.0.1-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 9acd0b6a6e02af2b37f63d97a03ee2c47936d58e82425c3cd075a95245937c59
MD5 508338f642d7eba74b2cea36791700e9
BLAKE2b-256 5c72a22a657abc3de652f5b4f46cbbebdf7cba629752112791b81f05d340991d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for av-17.0.1-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3d0a7d45d9599bf9df9f8249827113d4f36df1cd6b5356227b997f0552dbc98e
MD5 cac82503894dfc4bdc83f8c383818cfb
BLAKE2b-256 59e49807b89a9d775c6f015677996c48bce48aaff70b5d95885adf39e59832a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for av-17.0.1-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4744837f4116964280bcc72285e3cdd51361e98a696205aadd924203440ef511
MD5 cb8467e2db2a352ea3ad33ab6e0f885d
BLAKE2b-256 9b265c550231651d6285e6a5c4f6f4a0e67459bfe2b622a7c9352be8cca8c819

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for av-17.0.1-cp314-cp314t-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1229e879f4b6431bc00f69d7f8891fe9a683b0a6e0e009e6c98eb7e449f0383d
MD5 2835c8779cc1c425813bea7d848b545d
BLAKE2b-256 1a58dedaef187b797243cd5762722e376c69c5ad95ab23db44127f09afc2cd66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for av-17.0.1-cp314-cp314t-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 1d33871742d1e71562db3c8e752cacc5a62766d7efc3ae408bff1c3e26ebb46e
MD5 383e409522cae93d560bae7e73601654
BLAKE2b-256 c78cbb1498f031abb6157b30b7fc2379359176953821b6ba59fbd89dbb56f61f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: av-17.0.1-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.12

File hashes

Hashes for av-17.0.1-cp311-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 50e58a473d65ea29b645e45c9fd8518a6783737135683ecc40571a91592bdfe4
MD5 9a25c50edf40d36e7dd31e3bc0fa1d9a
BLAKE2b-256 9839381104e427a0c7231d2ec0d25d538d58fc20fc0458846b95860d3ef8073b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: av-17.0.1-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.12

File hashes

Hashes for av-17.0.1-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9af524e8632a54032e361d6b88895bd3e7c6212ca560de60f5ccc525323c764c
MD5 ba809ecdc5618efa1680454f65488581
BLAKE2b-256 d9d53261bd2c6b7f6c0aa8379fc970d1ecf496330990b992ad28607785074268

See more details on using hashes here.

File details

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

File metadata

  • Download URL: av-17.0.1-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.12

File hashes

Hashes for av-17.0.1-cp311-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3ed6bcd7021fe55832f95b8ef78dd01a4cb21faf3cd71f1e1bf4f20bf100b278
MD5 68baf889a84e019b47587f05666c81f4
BLAKE2b-256 babd776046f27093aef80155a204ca7d82a887ae4ee72ba4ef8411b46ea7898c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: av-17.0.1-cp311-abi3-musllinux_1_2_aarch64.whl
  • Upload date:
  • Size: 35.2 MB
  • Tags: CPython 3.11+, musllinux: musl 1.2+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for av-17.0.1-cp311-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 42d6745d30a410ec9b22aef79a52a7ab5a001eb8f5adfd952946606a30983318
MD5 4c607680b997c1a7b610345c18149701
BLAKE2b-256 04faaae56f2ff2c204c408641e1120f5ca5ce9c3390cf5362245c6f1158704b5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: av-17.0.1-cp311-abi3-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 36.3 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-17.0.1-cp311-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c58c71bffd9383908c85695ac61d3184c668accb04a5bd1b262e0fb8d09f60a5
MD5 e2347c00fbeed8227043afc4d9f56504
BLAKE2b-256 0228167b291356c2cc315a2d62a95b0ceace72b5b0bf547de30b89313110f032

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for av-17.0.1-cp311-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e6eee84afa48d0e9321047cd3e4facd44b401493f6bdc753e2e1d1e7c9e6d13e
MD5 30a347764016c932f43d717b1f5aba4d
BLAKE2b-256 a88b8de3fd21c4b0b74d44337421abeab0e71462337fb6a28fff888e0c356cbd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: av-17.0.1-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.12

File hashes

Hashes for av-17.0.1-cp311-abi3-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d97f54e55b18a74912f479c1978aadd1341d38d892dee95bb5c2f2dccfa72f32
MD5 e9e61ce9dabd05c8a853090433221edc
BLAKE2b-256 6baa858b09a08ea6f83f91be44b5a5adad13ae8d9ac8b80fda27e73c24bfb160

See more details on using hashes here.

File details

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

File metadata

  • Download URL: av-17.0.1-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.12

File hashes

Hashes for av-17.0.1-cp311-abi3-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 987f4f46ceae4da6c614dcbd2b8149be9dbf680c3bb7a6841c58af9cff4d9230
MD5 9b6d4802fedf4e6bfe0693c68f13bb95
BLAKE2b-256 4c82e7007dcef7bd2d2c377e2e85977701384f42d19fc808c2ccb3a99eaf58f2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: av-17.0.1-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.12

File hashes

Hashes for av-17.0.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f63b30067e6d88a3cce0d73d01ecfc0e6f091ad2bcf689db5dc305b0b4e8348c
MD5 062e900adbaafbfc5ebc0c0fa5a88d5e
BLAKE2b-256 14309b6c933458a585508b4585dba552b2bad57ef17908bcff109275b1eb9a39

See more details on using hashes here.

File details

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

File metadata

  • Download URL: av-17.0.1-cp310-cp310-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 38.8 MB
  • Tags: CPython 3.10, 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-17.0.1-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 09b1f1601cc4a4d9e616d197b345c363ba6abfe567cb3d6b18e45516126692b6
MD5 81b035c085e3779042bb9df87a595a10
BLAKE2b-256 cf31f9ed99d4c483bdb3695b7f4d5997cb2dc0b2d57ce1a6d28bce867b5ddaf9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for av-17.0.1-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3a3f33bbfed2bcc65be37941bfeb6cc20bbe9cb7afc4ef1ac8d330972df098f9
MD5 dbe344d8ca42233f216a3e23e050db75
BLAKE2b-256 a10bf050ba5d3f294a2250f8b64eaa6059fc6df39573e5960f5833850aa50033

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for av-17.0.1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8270634c409f8efc9a24216e5dd90313d873b26ea4b5f172b14de52cbd15121c
MD5 3ee0e74d023bbdf890e46fc705d769af
BLAKE2b-256 e49c6f2abe6179e9828f6e334201a6d3ca14e90e6eb4fb5ff0ccca68e7b0beb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for av-17.0.1-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 50f9dd53a8ebef77606dca3b21710f660f9a6478484e79b9abda7c787b4f2403
MD5 11ed71d2c0eecd54c1a622643b5c4bc1
BLAKE2b-256 a3381769c0315df060f9631727ac757e20d36f9413a9f7fa8b085ed1ccd69001

See more details on using hashes here.

File details

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

File metadata

  • Download URL: av-17.0.1-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.12

File hashes

Hashes for av-17.0.1-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f585358fe0127990aea7887e940de4cdd745a2770605c31e54b2418fd0fdd8bd
MD5 0df74ab64779da5195de9e8d0ea99450
BLAKE2b-256 01cff92dc08c14c6f6fd89f98c25803f2024dbc6a43894e371925181a7d7a120

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for av-17.0.1-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 985c21095bfb9c4bb7ba362fbef7bf0194bd72b1d7d3c46e30d1f47c5d38b4df
MD5 d6cfb7d834923798ce0199de434de811
BLAKE2b-256 f80ccbc39b090ec8d30ff795f1fd2cde1b686d1943051cb11a6ba699a10c95cd

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