typed-ffmpeg-v7
Typed FFmpeg bindings for FFmpeg 7.x.
Installation
pip install typed-ffmpeg-v7
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 7.x installed on your system
Features
- Full type hints for all FFmpeg 7.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_v7-4.4.tar.gz
(348.1 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_v7-4.4-py3-none-any.whl
(369.5 kB
view details)
File details
Details for the file typed_ffmpeg_v7-4.4.tar.gz.
File metadata
- Download URL: typed_ffmpeg_v7-4.4.tar.gz
- Upload date:
- Size: 348.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8d52aceb1bfd66074d6d99ab95cbcc32141722dc4d0344677f05ecd824d57f9
|
|
| MD5 |
6e1257f966e788f42651fc19e6677a1e
|
|
| BLAKE2b-256 |
fa0c12e281a340a6ca7bc9e3d199e4e29e31e5c21f0ea9c8c62b2861e2478740
|
File details
Details for the file typed_ffmpeg_v7-4.4-py3-none-any.whl.
File metadata
- Download URL: typed_ffmpeg_v7-4.4-py3-none-any.whl
- Upload date:
- Size: 369.5 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 |
8673bc37ff9574437bf320ebbc476a8c0d2432fc675486585c9550f6b85ff487
|
|
| MD5 |
67795449a199bce9406b94e1508a1e6c
|
|
| BLAKE2b-256 |
02a986856c8b01d795dd8659cc2802ec816f34fde7ad1fc0efc8ea0f7c826749
|