A simple Python wrapper for FFmpeg
Project Links
Meta
Author: Andrii Yurchuk
Requires Python: >=3.9
Classifiers
Topic
- Multimedia :: Sound/Audio
Development Status
- 4 - Beta
Intended Audience
- Developers
License
- OSI Approved :: MIT License
Natural Language
- English
Programming Language
- Python :: 3
- Python :: 3.9
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
- Python :: Implementation :: CPython
- Python :: Implementation :: PyPy
Operating System
- Microsoft :: Windows
- POSIX
- POSIX :: BSD
- POSIX :: Linux
- MacOS :: MacOS X
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
Oct 11, 2025
0.6.3
Oct 08, 2025
0.6.2
Jul 22, 2025
0.6.1
Jun 02, 2025
0.6.0
Dec 19, 2024
0.5.0
Jul 30, 2024
0.4.0
Jul 30, 2024
0.3.3
Feb 12, 2024
0.3.2
Jul 17, 2023
0.3.1
Jan 13, 2021
0.3.0
May 08, 2020
0.2.3
Oct 25, 2016
0.2.2
Sep 23, 2016
0.2.1
Sep 16, 2016
0.2.0
May 31, 2016
0.1.0
Feb 22, 2016
0.0.6
Feb 09, 2016
0.0.5
Sep 20, 2015
0.0.4
Sep 16, 2015
0.0.3
Sep 07, 2015
0.0.2
Sep 04, 2015
0.0.1