Python MIT

ffmpy

Pythonic interface for FFmpeg/FFprobe command line

C

Ch00k

Dernière activité 11 nov. 2025
Ch00k/ffmpy

522

étoiles

60

forks

6

issues ouvertes

ffmpegffmpeg-wrapperffprobetranscodingwrapper

Ce README est souvent en anglais.

Tests Coverage Documentation Latest version

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

https://ffmpy.readthedocs.io/

See Examples section for usage examples.

License

ffmpy is licensed under the terms of MIT license

Projets similaires

🎥 Command line media player

Caudiocffmpeg
Mmpv-player
37,2 k étoiles3,6 k

Pythonic bindings for FFmpeg's libraries.

Pythonffmpegpyavpython
PPyAV-Org
3,3 k étoiles452

Mirror of https://git.ffmpeg.org/ffmpeg.git

Caudiocffmpeg
FFFmpeg
64,6 k étoiles14,3 k