ffmpy
ffmpy is a simple FFmpeg command line wrapper. It implements a Pythonic interface for FFmpeg command line compilation and uses Python’s subprocess to execute the compiled command line.
ffmpy requires Python 3.9 or greater.
Installation
pip install ffmpy
Quick example
from ffmpy import FFmpeg
ff = FFmpeg(
inputs={'input.mp4': None},
outputs={'output.avi': None}
)
ff.run()
This will take the input.mp4 file in the current directory as the input, change the video container from MP4 to AVI without changing any other video parameters, and create a new output file output.avi in the current directory.
Documentation
See Examples section for usage examples.
License
ffmpy is licensed under the terms of MIT license
Release files for ffmpy 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ffmpy-1.0.0.tar.gz | 5.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ffmpy-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.7 kB
Release files / ffmpy-1.0.0.tar.gz
| Download URL | ffmpy-1.0.0.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b12932e95435c8820f1cd041024402765f821971e4bae753b327fc02a6e12f8b
|
|
BLAKE2b-256 checksum How to use checksums |
7dd21c4c582d71bcc65c76fa69fab85de6257d50fdf6fd4a2317c53917e9a581
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2025.
Transparency logRelease files / ffmpy-1.0.0-py3-none-any.whl
| Download URL | ffmpy-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5640e5f0fd03fb6236d0e119b16ccf6522db1c826fdf35dcb87087b60fd7504f
|
|
BLAKE2b-256 checksum How to use checksums |
5556dd3669eccebb6d8ac81e624542ebd53fe6f08e1b8f2f8d50aeb7e3b83f99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2025.
Transparency log