python-ffmpeg
A python binding for FFmpeg which provides sync and async APIs
Decision gist · record as of 2026-08-14
Yes, if you need a clean Python API for FFmpeg operations and can tolerate dormant maintenance. The low install friction, permissive license, and dual sync/async support make it practical for most media encoding tasks. However, if you require active bug fixes or ongoing feature development, consider whether the dormant status (last release April 2024, no recent commits) is acceptable for your use case. No known security vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- FFmpeg must be installed and available on your system PATH; the package is a Python wrapper around the FFmpeg binary, not a standalone implementation.
- Low friction installation with only two lightweight runtime dependencies (pyee and typing-extensions).
- Maintenance is dormant—last release was 2024-04-15 and no commits since 2024-07-31—so expect no active bug fixes or feature updates, though the repository remains public and unarchived.
License · maintenance · safety
MIT (permissive) — MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2024-04-15 (851 days) · last repo commit 2024-07-31 · 384 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 239,400 downloads/mo, #8,922 on PyPI
Alternatives
Verify before relying
pip install python-ffmpeg
from ffmpeg import FFmpeg
ffmpeg = FFmpeg().input("input.mp4").output("output.mp4", {"codec:v": "libx264"})
ffmpeg.execute()- Whether FFmpeg version compatibility constraints exist beyond general availability on PATH.
- Performance characteristics and overhead of the async implementation compared to direct FFmpeg subprocess calls.
- Whether dormant status means critical bugs are unlikely to be fixed if discovered.
What it is and what it does
python-ffmpeg is a Python wrapper around the FFmpeg command-line tool that lets you build and execute media encoding operations (transcoding, recording, format conversion) using a fluent, chainable API. It supports both blocking synchronous calls via `execute()` and non-blocking async operations via `asyncio`, making it suitable for both simple scripts and concurrent media processing workflows.
The package abstracts away FFmpeg's complex command-line syntax by providing methods like `input()`, `output()`, and `option()` to construct operations programmatically. You can attach event handlers (e.g., progress callbacks) to monitor execution. It depends only on pyee for event handling and typing-extensions for type hints, keeping the installation footprint small. However, the project is dormant—last updated in April 2024 with no recent commits—so it receives no active maintenance.
Use it for
- Batch transcoding video files to a target codec and resolution in a Python application.
- Recording streams from RTSP sources with progress monitoring and early termination.
- Building concurrent media processing pipelines using async/await in asyncio-based services.
- Programmatically generating FFmpeg commands without shell escaping or string concatenation.
- Integrating video encoding into web services or data processing workflows.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need a clean Python API for FFmpeg operations and can tolerate dormant maintenance.
The low install friction, permissive license, and dual sync/async support make it practical for most media encoding tasks. However, if you require active bug fixes or ongoing feature development, consider whether the dormant status (last release April 2024, no recent commits) is acceptable for your use case. No known security vulnerabilities.
Install
python-ffmpeg on PyPI
Before you install
Low friction installation with only two lightweight runtime dependencies (pyee and typing-extensions). Maintenance is dormant—last release was 2024-04-15 and no commits since 2024-07-31—so expect no active bug fixes or feature updates, though the repository remains public and unarchived.
FFmpeg must be installed and available on your system PATH; the package is a Python wrapper around the FFmpeg binary, not a standalone implementation.
License in practice
MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install python-ffmpeg
from ffmpeg import FFmpeg
ffmpeg = FFmpeg().input("input.mp4").output("output.mp4", {"codec:v": "libx264"})
ffmpeg.execute()
Verify before relying
- Whether FFmpeg version compatibility constraints exist beyond general availability on PATH.
- Performance characteristics and overhead of the async implementation compared to direct FFmpeg subprocess calls.
- Whether dormant status means critical bugs are unlikely to be fixed if discovered.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespyeetyping-extensions |
| Maintenance | Dormant 851 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 239,400 / month, #8,922 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: Only |
Evidence: python_ffmpeg-2.0.12-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “ffmpeg python binding”
- python-ffmpegProvides a Python binding for FFmpeg with both synchronous and…
- static-ffmpegInstalls ffmpeg v8 and ffprobe binaries for your platform on first…
- imageio-ffmpegProvides a simple Python wrapper around ffmpeg for reading and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also ffmpeg-python · ffmpy · typed-ffmpeg · imageio-ffmpeg · opuslib-next · ha-ffmpeg · static-ffmpeg · torchcodec · pynvvideocodec · aiortsp