typed-ffmpeg-v8
Typed FFmpeg bindings for FFmpeg 8.x.
Installation
pip install typed-ffmpeg-v8
Or install the latest version (which uses v8):
pip install typed-ffmpeg
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 8.x installed on your system
Features
- Full type hints for all FFmpeg 8.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-v8 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_v8-4.5.tar.gz | 358.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| typed_ffmpeg_v8-4.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 738.5 kB
Release files / typed_ffmpeg_v8-4.5.tar.gz
| Download URL | typed_ffmpeg_v8-4.5.tar.gz |
|---|---|
| Size | 358.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de5b6b9588f9b5ba0884499bd869664d00f13d753922c05b6d5274a536fc9259
|
|
BLAKE2b-256 checksum How to use checksums |
26c20b8e0f5449760ed90a6e909772aaea6e6682f12c930fc0fb0fca0296f9ce
|
| 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_v8-4.5-py3-none-any.whl
| Download URL | typed_ffmpeg_v8-4.5-py3-none-any.whl |
|---|---|
| Size | 380.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6accf276d871ab1086d8b4bbbe63496253e88a2dac2ad3c707aaf5387e12b63
|
|
BLAKE2b-256 checksum How to use checksums |
a7636178147caaa4249979143980eee77f722ce2e4692d0611204b5ea89d167a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|