Skip to content

MatteoH2O1999/ffmpeg-binaries

Repository files navigation

ffmpeg for Python

CI/CD codecov GitHub Code style: black PyPI Version PyPI - Python Version Downloads

Static builds of ffmpeg for Python

Installation

From pip:

pip install ffmpeg-binaries

Basic usage

import ffmpeg

# Initialize module (only if no binaries found)
ffmpeg.init()

# Call ffmpeg directly
ffmpeg.run_as_ffmpeg("-h")

# Use the binaries path in other modules
other_module.add_ffmpeg(ffmpeg.FFMPEG_PATH)

# Add directly to path
ffmpeg.add_to_path()