typed-ffmpeg
Modern Python FFmpeg wrappers with comprehensive typing.
Installation
pip install typed-ffmpeg
This meta-package installs the latest version of typed-ffmpeg (currently v9).
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 installed on your system
Features
- Full type hints for all FFmpeg 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 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-4.5.tar.gz | 2.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| typed_ffmpeg-4.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.9 kB
Release files / typed_ffmpeg-4.5.tar.gz
| Download URL | typed_ffmpeg-4.5.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
452ce8ed5086abe875a8fb57ac1a899413ca956048553f2d5f94fcf4f49cae09
|
|
BLAKE2b-256 checksum How to use checksums |
51aa54c245c7c49fc41cebfe8a617b00bdcccb4c79b5826e7e71f4cda5b853ef
|
| 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-4.5-py3-none-any.whl
| Download URL | typed_ffmpeg-4.5-py3-none-any.whl |
|---|---|
| Size | 1.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd96c680558989bd7cd3e594001d805f51aa6a4c0509d0104b2b7b366020e254
|
|
BLAKE2b-256 checksum How to use checksums |
dc872798afeb9a7691e5f12d1fc00dbd08dec0b1fe5880a1125e669cf7d429ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|