avfilters
Curated list of common Audio/Video filters.
This library wraps the relatively complex PyAV bindings to provide easy to use audio and video manipulation filters, such as files concatenation, video reversing or video to GIF.
Motivation
FFMPEG is a powerful tool for media files manipulation. Many
Python libraries already wrap the ffmpeg executable to
easily perform audio and video processing in Python.
However, most of those libraries call ffmpeg
through subprocesses. While this is fine in many
use cases, this has two major drawbacks:
- you must have
ffmpeginstalled on your computer, and know the executable path; - and repeatedly calling subprocesses in a hot loop can be quite slow.
For performances reasons, a solution is to use
bindings to the FFMPEG C libraries, e.g.,
PyAV. Moreover,
PyAV ships (by default) with pre-built binary wheels
linking against FFMPEG C libraries, so you do not need
to rely on a possible local installation of ffmpeg.
Unfortunately, using PyAV can be quite complex,
especially as ffmpeg usually does a lot of
auto-corrections that PyAV does not automatically
perform.
This library aims at providing a straighforward
ffmpeg-like API for some very common use cases.
If you feel like a feature is missing, please use the GitHub issues and detail your feature request.
Getting started
First, add avfilters to you project's dependencies.
from avfilters import reverse
reverse("original.mp4", "expected.mp4")
For more examples, take a look at the documentation.
Getting help
You have a question or want to report a bug?
Please use the GitHub issues.
Metadata
Release files for avfilters 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| avfilters-0.0.1.tar.gz | 10.0 kB | Without provenance | Details for avfilters-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| avfilters-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for avfilters-0.0.1-py3-none-any.whl |
Total release size: 17.6 kB
Release files / avfilters-0.0.1.tar.gz
| Download URL | avfilters-0.0.1.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25a176e8241e055a3b29688ab5584e52ecbe5523d3d0eb06bad38115cb8092dd
|
|
BLAKE2b-256 checksum How to use checksums |
964b46b5538fb711dfff08a4f02f803996ae96ab379723586f97657e85b87502
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.12.4 CPython/3.10.12
|
Release files / avfilters-0.0.1-py3-none-any.whl
| Download URL | avfilters-0.0.1-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c70c9a804d964312f0f51368312078e302c96a8b5649069b12d4a0f2c514970
|
|
BLAKE2b-256 checksum How to use checksums |
fbe0d5e9fe9561dbd05e7bfc8e8c5cf65fe906b5060d56e979628c6fa398e1ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.12.4 CPython/3.10.12
|
Security for avfilters 0.0.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.