ffmpy is a simplistic FFmpeg command line wrapper. It implements a Pythonic interface for FFmpeg command line compilation and uses Python subprocess module to execute compiled command line.
You guessed it:
pip install ffmpy
This will take 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.
See Examples section for usage examples.
ffmpy is licensed under the terms of MIT license