Skip to content

ffmpegwithpy


Documentation: https://my-mc.github.io/ffmpegwithpy-rust/

SourceCode: https://github.com/my-mc/ffmpegwithpy-rust


ffmpegwithpy is an FFmpeg wrapper to run FFmpeg from Python.

Main Features:

  • Easy-to-understand design with class structure
  • Dictionary-type options can be specified

Installation Requirements

Python 3.8+

Warning

Python 3.6 and earlier have already reached EOL and are not supported.

Installation

Warning

We are sorry, but we are not releasing pre-built wheels at this time. Please use wheels built manually.

Example

Here is a simple code example.

from ffmpegwithpy import FFmpeg
process = FFmpeg("helloworld.mp4", "mp3")
# To run ffmpeg
process.ffmpeg()
# Get command of process
cmd = process.ffmpeg_cmd()
print(cmd)

License

This library is licensed under the MIT License.