typed-ffmpeg-v8
Typed FFmpeg bindings for FFmpeg 8.x.
Installation
pip install typed-ffmpeg-v8
Or install the latest version (which uses v8):
pip install typed-ffmpeg
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 8.x installed on your system
Features
- Full type hints for all FFmpeg 8.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_v8-4.4.tar.gz
(360.8 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_v8-4.4-py3-none-any.whl
(382.2 kB
view details)
File details
Details for the file typed_ffmpeg_v8-4.4.tar.gz.
File metadata
- Download URL: typed_ffmpeg_v8-4.4.tar.gz
- Upload date:
- Size: 360.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
848474b529814101cbf885090a3e4f2fc7e852b76e5dcc1bac6a373eedd69c51
|
|
| MD5 |
82a069e8868c6e8f6c04c9b6af6c1c10
|
|
| BLAKE2b-256 |
81972f994eec2c1ce31e01f5251b5c0d28c9a84a29604b855a94c1814555e960
|
File details
Details for the file typed_ffmpeg_v8-4.4-py3-none-any.whl.
File metadata
- Download URL: typed_ffmpeg_v8-4.4-py3-none-any.whl
- Upload date:
- Size: 382.2 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 |
5fee2dbf042b0c63be0b209a769fdde27e35937871044444df44d2d9403e2935
|
|
| MD5 |
c0ad2a353d5e515234163c99bf2b140b
|
|
| BLAKE2b-256 |
b31fd14caa518c2b470fa210bf40e7adc34bd5b25105cb686c54d9a755abe6bf
|