skillfed

ffmpy

A simple Python wrapper for FFmpeg

ffmpy v1.0.0 4.3M downloads/30d#2,330 on PyPI
Permissive license MIT AGING released

What it is and what it does

ffmpy provides a Pythonic interface to FFmpeg, the widely-used command-line media toolkit. Instead of constructing FFmpeg shell commands as strings, you instantiate an FFmpeg object with input and output file specifications, then call run() to execute the compiled command through Python's subprocess module. The package handles the details of building the correct command-line syntax, making it easier to integrate FFmpeg operations into Python workflows for tasks like video transcoding, format conversion, and media processing.

The package requires Python 3.9 or greater and has no external Python dependencies—it relies on FFmpeg being available on the system. It supports multiple operating systems (macOS, Windows, Linux, BSD) and Python implementations (CPython and PyPy), making it portable across common development and deployment environments.

Use it for:

  • Convert video files between formats (e.g., MP4 to AVI) without manually writing FFmpeg command strings
  • Build automated media processing pipelines that transcode audio or video in batch operations
  • Integrate FFmpeg operations into larger Python applications for media manipulation
  • Programmatically extract metadata or probe media files using ffprobe through a Python interface
  • Create command-line tools or web services that need to process media files dynamically

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

ffmpy is a Python wrapper around FFmpeg that lets you build and execute FFmpeg command lines programmatically without writing shell commands directly.

Yes, if you need to work with FFmpeg from Python and want to avoid shell command construction. The package is stable, has no dependencies, installs easily, and supports modern Python versions. The aging maintenance status is a minor concern but not a blocker for a mature wrapper around a stable external tool. Verify that FFmpeg is available on your target system before relying on it.

Install

ffmpy on PyPI

pip

pip install ffmpy

uv

uv add ffmpy

poetry

poetry add ffmpy

Installing ffmpy

Before you install

Installation is straightforward with no runtime dependencies. The package is marked aging (276 days since last release), but it is classified as Production/Stable and supports current Python versions including 3.9 through 3.14.

License in practice

ffmpy is licensed under MIT, a permissive license that allows commercial and private use with minimal restrictions, making it safe to adopt in most projects.

Quickstart

pip install ffmpy

from ffmpy import FFmpeg
ff = FFmpeg(
    inputs={'input.mp4': None},
    outputs={'output.avi': None}
)
ff.run()

FFmpeg must be installed and available on the system PATH for ffmpy to execute commands.

Verify before relying

  • Whether FFmpeg itself must be installed separately on the system before ffmpy can be used
  • Whether ffprobe, ffplay, or ffserver support is fully implemented or partial
  • Current state of the repository and maintainer responsiveness given the aging status

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance aging — 276 days since the last release
First released
Downloads 4,320,367/month — #2,330 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: ffmpy-1.0.0-py3-none-any.whl

Keywords: ffmpeg, ffprobe, ffplay, ffserver, wrapper, media, audio, video, transcoding

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: POSIX :: BSDOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: MultimediaTopic :: Multimedia :: Sound/AudioTopic :: Multimedia :: Video

Tags

ffmpeg python wrappervideo transcoding pythonaudio conversion librarymedia format conversionffmpeg command buildervideo processing automationffprobe python interface
ffmpeg-wrappermedia-processingsubprocess-automation

More Multimedia packages