Typed FFmpeg bindings for FFmpeg 6.x
Project description
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
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_v6-4.0.0.tar.gz
(309.0 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_v6-4.0.0.tar.gz.
File metadata
- Download URL: typed_ffmpeg_v6-4.0.0.tar.gz
- Upload date:
- Size: 309.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ccb2d2b5debddc041e69f6cf44ac0c5a419e76e2c7b76799f344918e19f3428
|
|
| MD5 |
4b5087650f9340e9bc31f281b4fbc4cf
|
|
| BLAKE2b-256 |
2dd4740df2a3479d1a274a72e49875cfa7b1fcbde3ea5837977af8ff5ff0518d
|
File details
Details for the file typed_ffmpeg_v6-4.0.0-py3-none-any.whl.
File metadata
- Download URL: typed_ffmpeg_v6-4.0.0-py3-none-any.whl
- Upload date:
- Size: 329.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 |
5249388312320b25e28c0bcbd370d8d28d89d032012e078a7e9ab82852602466
|
|
| MD5 |
2f2b39f269017399c56a7a837c90733d
|
|
| BLAKE2b-256 |
ee21cb8a7fd806c91935f3d1a9e904d8c1956ffe2b2e8769bb7ebaae6b11c0ba
|