github.devotd.
NewDeveloper tools

pyav-org/pyav v19.0.1 — bindings that let you work with FFmpeg as Python objects

PyAV is a binding that lets you work directly with the media-processing elements of the FFmpeg library from Python.

Repositorypyav-org/pyav ↗

PyAV is a binding that lets you work directly with the media-processing elements of the FFmpeg library from Python.

GitHub description: Pythonic bindings for FFmpeg's libraries.

stars
★ 3.3K
Forks
462
Language
Python
License
BSD-3-Clause
Latest release
v19.0.1
Read original source ↗View on GitHub ↗

PyAV is a binding for working with the FFmpeg library from Python, and the latest release recorded in the repository is v19.0.1. It gives you direct access to containers, streams, packets, codecs, and frames, so you can control video decoding and encoding and frame processing from Python code. One caveat: the provided record does not separately list what changed in v19.0.1.

The role of this project is to let you work with FFmpeg's media-processing structures from Python code. A container is the unit that makes up a media file, and a stream points to a flow of video or audio data inside it. PyAV gives direct and precise access to such objects, as well as to packets, codecs, and frames. It also provides some data-conversion features and helps move data in and out of packages such as NumPy and Pillow. The key point is that when you control a video-processing pipeline in Python, you can use elements of the FFmpeg library up close. The repository's license is BSD-3-Clause.

On the other hand, PyAV does not fully hide the complexity of media processing. It is closer to working directly with FFmpeg's structures, such as containers and streams. Because the provided record has no per-release changelog, the concrete improvements in v19.0.1 cannot be judged. No performance figures are given either, so processing performance is hard to evaluate. In short, direct access to FFmpeg elements is clear, but how much it simplifies complex media processing cannot be known from the record alone.