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.1.tar.gz
(308.9 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.1-py3-none-any.whl
(329.1 kB
view details)
File details
Details for the file typed_ffmpeg_v6-4.1.tar.gz.
File metadata
- Download URL: typed_ffmpeg_v6-4.1.tar.gz
- Upload date:
- Size: 308.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
278b66266e4625be66c8a3cc0bc3bcbee5afe587722e73d043c3f43bf63fcae3
|
|
| MD5 |
c99862656937e2d329331322fab6d5e7
|
|
| BLAKE2b-256 |
24d4d1b75ed83a7b38f729ad7aa5e1b2268f976c33d31850ffe84c5672edc079
|
File details
Details for the file typed_ffmpeg_v6-4.1-py3-none-any.whl.
File metadata
- Download URL: typed_ffmpeg_v6-4.1-py3-none-any.whl
- Upload date:
- Size: 329.1 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 |
4fe893f132952572e70992bf51edd20f82b49beab23fb7c2a80bc9d8ea6cfc0a
|
|
| MD5 |
f6d139fc29bd44f902706a5a2dd1b83e
|
|
| BLAKE2b-256 |
54998c86af50ca228eaae612638a7baaa02d7ba09fe6e31bb072610e2ffca0b9
|