Typed FFmpeg bindings for FFmpeg 7.x
Project description
typed-ffmpeg-v7
Typed FFmpeg bindings for FFmpeg 7.x.
Installation
pip install typed-ffmpeg-v7
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 7.x installed on your system
Features
- Full type hints for all FFmpeg 7.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_v7-1.0.0a2.tar.gz
(343.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_v7-1.0.0a2.tar.gz.
File metadata
- Download URL: typed_ffmpeg_v7-1.0.0a2.tar.gz
- Upload date:
- Size: 343.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 |
2ad0610cf0421bc1141731a79838497c550e709e11e1fabca68e4da3f5963a91
|
|
| MD5 |
524f44d9e26ee955d4245a98c66825ea
|
|
| BLAKE2b-256 |
98ca76ea7f571385f6608f0603e18bc0617e370e2b211de7f6cae8646320a72c
|
File details
Details for the file typed_ffmpeg_v7-1.0.0a2-py3-none-any.whl.
File metadata
- Download URL: typed_ffmpeg_v7-1.0.0a2-py3-none-any.whl
- Upload date:
- Size: 364.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 |
131a9bf52acc65bdb7304019b2e1fe1c54ee7ea0ce0bf1fc0b7dee069d29880c
|
|
| MD5 |
d5985f4057ed432cf110d3e98413f702
|
|
| BLAKE2b-256 |
96da1fb60a47bae0a3dcda39c4c894b32e78469ca459d12763683ce9c6880b4c
|