Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.2 KB

README.md

File metadata and controls

37 lines (26 loc) · 1.2 KB

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()