Skip to main content

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

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.5.tar.gz (313.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

typed_ffmpeg_v6-4.5-py3-none-any.whl (334.2 kB view details)

Uploaded Python 3

File details

Details for the file typed_ffmpeg_v6-4.5.tar.gz.

File metadata

  • Download URL: typed_ffmpeg_v6-4.5.tar.gz
  • Upload date:
  • Size: 313.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.14

File hashes

Hashes for typed_ffmpeg_v6-4.5.tar.gz
Algorithm Hash digest
SHA256 15b4424dacbad26e9799773c5a7e5375c852995dd57ee77d24e1e091fe62d9d7
MD5 b0d123034fe458e2a9edbef0afe9a5dd
BLAKE2b-256 ce62c5d2c61f07d17128af59a5510ab52790fea0ed595752feea8e123df453e4

See more details on using hashes here.

File details

Details for the file typed_ffmpeg_v6-4.5-py3-none-any.whl.

File metadata

  • Download URL: typed_ffmpeg_v6-4.5-py3-none-any.whl
  • Upload date:
  • Size: 334.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.14

File hashes

Hashes for typed_ffmpeg_v6-4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8b3a5a61de96b5757420fbe1e0d3ea2af86656a0fa0dc61ded10f834493d783e
MD5 9fa52568d474b403f9adb8d57185006a
BLAKE2b-256 f1a18d90636595a5bd808c310abc740bf59472517eb6ef78beddfd9e64c1050c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

4.5 This release

2 files

4.4

2 files

4.3

2 files

4.1

2 files

4.0.2

2 files

4.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page