Typed FFmpeg bindings for FFmpeg 8.x
Project description
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
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_v8-4.0.2.tar.gz
(346.4 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_v8-4.0.2.tar.gz.
File metadata
- Download URL: typed_ffmpeg_v8-4.0.2.tar.gz
- Upload date:
- Size: 346.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0fb179a68a49e16efc345f42a2e3a3e327f6242e6ef0b4d47837d8cdad4f4a9
|
|
| MD5 |
bf8c2798cc8af6485b23e6d1be04c48a
|
|
| BLAKE2b-256 |
f01857fc4fec489a0088954e09dbae2cc53b70d3993b718543a19d420bc29a3d
|
File details
Details for the file typed_ffmpeg_v8-4.0.2-py3-none-any.whl.
File metadata
- Download URL: typed_ffmpeg_v8-4.0.2-py3-none-any.whl
- Upload date:
- Size: 367.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 |
2030cf2bbe5c902c66b0b6c6dfab52b2a16579b800bfafcaf0d911d05ebc7381
|
|
| MD5 |
42de49ca1acda003584f37a930aba52c
|
|
| BLAKE2b-256 |
12eb659dd05564a8e264e82bc9e0a1ccabdd2b7e64c26a773612b386747e4768
|