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-1.0.0a2.tar.gz
(309.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
File details
Details for the file typed_ffmpeg_v6-1.0.0a2.tar.gz.
File metadata
- Download URL: typed_ffmpeg_v6-1.0.0a2.tar.gz
- Upload date:
- Size: 309.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84d8c4f414abb13913a7ca170763aa2d1ae225f79d037a07e381379d51014119
|
|
| MD5 |
ec8ab11a7d944928e3e11a6cfc12e6c9
|
|
| BLAKE2b-256 |
383e52254d7f5822bcb01fe538876658b7490bd72eb7e405a8c8762128428ca7
|
File details
Details for the file typed_ffmpeg_v6-1.0.0a2-py3-none-any.whl.
File metadata
- Download URL: typed_ffmpeg_v6-1.0.0a2-py3-none-any.whl
- Upload date:
- Size: 329.2 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 |
cd944fd1572a8ca5309cc3725375c9a1b01b94d1f975dc40343a9d2b08494dc0
|
|
| MD5 |
ddfb43f93c897e2281849fdee6f68fd0
|
|
| BLAKE2b-256 |
3e7c545720a0c948814be9a1eb499d3168a3fdabe2c1ead453b8c1443bd4f04b
|