Typed FFmpeg bindings for FFmpeg 6.x
Project description
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
Project details
Release history Release notifications | RSS feed
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.0.2.tar.gz
(309.2 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
File details
Details for the file typed_ffmpeg_v6-4.0.2.tar.gz.
File metadata
- Download URL: typed_ffmpeg_v6-4.0.2.tar.gz
- Upload date:
- Size: 309.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f44a4c2e88216c5625dd85aa1b4ceacb91540657c2321097286b8c040c1f8b95
|
|
| MD5 |
e67dae129230274dd527c8811e04e172
|
|
| BLAKE2b-256 |
f9eac1151a77f36c83945cb0d09b686a67c42a434d0032e328d7b775c0e0249c
|
File details
Details for the file typed_ffmpeg_v6-4.0.2-py3-none-any.whl.
File metadata
- Download URL: typed_ffmpeg_v6-4.0.2-py3-none-any.whl
- Upload date:
- Size: 329.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
767e85dbcb54e6ed679c2bf4b92b3a3dfeb775a5e8f0fca439e08a0fa1197bc8
|
|
| MD5 |
2d26bd09e84830818e4a24f7348e57b9
|
|
| BLAKE2b-256 |
ea8836535bf6ee06b194603f1ebf5b91b5fa16599a7f1b556e94c3d2766a8d63
|