typed-ffmpeg-v5
Typed FFmpeg bindings for FFmpeg 5.x.
Installation
pip install typed-ffmpeg-v5
Usage
import ffmpeg
# Input and output
input_file = ffmpeg.input("input.mp4")
output_file = input_file.hflip().output("output.mp4")
output_file.run()
# Complex filter graph
in_file = ffmpeg.input("input.mp4")
overlay_file = ffmpeg.input("overlay.png")
output = (
ffmpeg.filters
.concat(
in_file.trim(start_frame=10, end_frame=20),
in_file.trim(start_frame=30, end_frame=40),
)
.video(0)
.overlay(overlay_file.hflip())
.output("out.mp4")
)
output.run()
Requirements
- Python 3.10+
- FFmpeg 5.x installed on your system
Features
- Full type hints for all FFmpeg 5.x filters, codecs, and formats
- IDE autocomplete support
- Runtime validation
- Filter graph visualization
- JSON serialization
Documentation
License
MIT License - see LICENSE file for details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
typed_ffmpeg_v5-4.4.tar.gz
(297.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
typed_ffmpeg_v5-4.4-py3-none-any.whl
(317.8 kB
view details)
File details
Details for the file typed_ffmpeg_v5-4.4.tar.gz.
File metadata
- Download URL: typed_ffmpeg_v5-4.4.tar.gz
- Upload date:
- Size: 297.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77e6263d7de8f0f823689d3612cad71e6baa2219da2f69af2d137d3bb76d44de
|
|
| MD5 |
81a1e439ce950dfeef3f50ce8a36892e
|
|
| BLAKE2b-256 |
704602e162f92687eb72d9aa0cb2f089e0f83ecbd9775242f3d3f09859997607
|
File details
Details for the file typed_ffmpeg_v5-4.4-py3-none-any.whl.
File metadata
- Download URL: typed_ffmpeg_v5-4.4-py3-none-any.whl
- Upload date:
- Size: 317.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6580c6f2560825a3ea965160d72665135fca5917e3e7c65748b1cdd785c53675
|
|
| MD5 |
aadb5ab481098ad61abd64ae0fbd3861
|
|
| BLAKE2b-256 |
d685e5cdf35763986bf3e46cddeeaa3799939194e8da66a9630e15cc5ec3a132
|