Skip to main content

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.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for typed-ffmpeg 4.6
File Size Uploaded Provenance Actions
typed_ffmpeg-4.6.tar.gz 2.1 kB Without provenance Details for typed_ffmpeg-4.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for typed-ffmpeg 4.6
File Interpreter ABI Platform Actions
typed_ffmpeg-4.6-py3-none-any.whl Python 3 none any Details for typed_ffmpeg-4.6-py3-none-any.whl

Total release size: 3.9 kB

Release files / typed_ffmpeg-4.6.tar.gz

Download URL typed_ffmpeg-4.6.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
32ddcfa77244e102a014134d20da5c03b973ec00e7505d1dc04373ef496d3a5d
BLAKE2b-256 checksum
How to use checksums
36606b38c30518a333f60acf9ae4fa8df60e41922b51ef4b0238b61328f8ef83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / typed_ffmpeg-4.6-py3-none-any.whl

Download URL typed_ffmpeg-4.6-py3-none-any.whl
Size 1.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
73784d1e95e826b1ce414b076694b183594d4a80d32eef3cf63fc172fc737014
BLAKE2b-256 checksum
How to use checksums
0197db9e56883207e84f33f76ad14b1b7a401450160743ef8dc75b8b55ce0f4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for typed-ffmpeg 4.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

4.6 This release

2 release files No provenance

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