A Python binding for FFmpeg that provides both synchronous and asynchronous APIs to transcode, process, and stream media files. Current version is 2.0.12, with active development and regular releases.
pip install python-ffmpegVerified import paths — ran on the pinned version, not inferred.
Basic async usage: transcode an MP4 file.
Migrate to new async/sync API. See migration guide in repo.
Use 'await ffmpeg.execute()' inside an async function.
Use: from ffmpeg.progress import Progress
Install FFmpeg (e.g., 'sudo apt install ffmpeg' or download from ffmpeg.org).
Install FFmpeg (e.g., 'sudo apt install ffmpeg' or 'brew install ffmpeg') and ensure it's in PATH.
Use 'await ffmpeg.execute()' inside an async function.