typed-ffmpeg-v6
Typed FFmpeg bindings for FFmpeg 6.x.
Installation
pip install typed-ffmpeg-v6
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 6.x installed on your system
Features
- Full type hints for all FFmpeg 6.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_v6-4.4.tar.gz
(621.3 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_v6-4.4-py3-none-any.whl
(653.0 kB
view details)
File details
Details for the file typed_ffmpeg_v6-4.4.tar.gz.
File metadata
- Download URL: typed_ffmpeg_v6-4.4.tar.gz
- Upload date:
- Size: 621.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef36de98a58982886d76cb20d14baf676dd50af03c24d9ec4776c686f8849038
|
|
| MD5 |
5515f9e1a88151cb6ae82dd4e466834d
|
|
| BLAKE2b-256 |
f22b96d004853e8e23adcb9dcecabc6cb43e12e7f1d76cef9589e2d9be17767b
|
File details
Details for the file typed_ffmpeg_v6-4.4-py3-none-any.whl.
File metadata
- Download URL: typed_ffmpeg_v6-4.4-py3-none-any.whl
- Upload date:
- Size: 653.0 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 |
b902e5879ccb0aaad8c1ff5d9a3eb9d7f5cfe476ee68552389d074fe2a92b039
|
|
| MD5 |
140116fd6daecf263963d2bfa5e6c3ce
|
|
| BLAKE2b-256 |
6b48da7b7aab5dc01ff03a388bd779cc63b03ad6825b534464554b6327280d8c
|