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
Metadata
Release files for typed-ffmpeg-v6 4.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| typed_ffmpeg_v6-4.5.tar.gz | 313.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| typed_ffmpeg_v6-4.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 647.9 kB
Release files / typed_ffmpeg_v6-4.5.tar.gz
| Download URL | typed_ffmpeg_v6-4.5.tar.gz |
|---|---|
| Size | 313.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
15b4424dacbad26e9799773c5a7e5375c852995dd57ee77d24e1e091fe62d9d7
|
|
BLAKE2b-256 checksum How to use checksums |
ce62c5d2c61f07d17128af59a5510ab52790fea0ed595752feea8e123df453e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / typed_ffmpeg_v6-4.5-py3-none-any.whl
| Download URL | typed_ffmpeg_v6-4.5-py3-none-any.whl |
|---|---|
| Size | 334.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8b3a5a61de96b5757420fbe1e0d3ea2af86656a0fa0dc61ded10f834493d783e
|
|
BLAKE2b-256 checksum How to use checksums |
f1a18d90636595a5bd808c310abc740bf59472517eb6ef78beddfd9e64c1050c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|