Skip to main content

ffmpegio finder plugin to use FFmpeg executables from static-ffmpeg package

Project description

ffmpegio-plugin-static-ffmpeg: A Python ffmpegio plugin to use FFmpeg binaries in static-ffmpeg package

PyPI PyPI - Status PyPI - Python Version GitHub License GitHub Workflow Status

Python ffmpegio package aims to bring the full capability of FFmpeg to read, write, and manipulate multimedia data to Python. FFmpeg is an open-source cross-platform multimedia framework, which can handle most of the multimedia formats available today.

One caveat of FFmpeg is that there is no official program installer for Windows and MacOS (although homebrew could be used for the latter). ffmpegio-plugin-static-ffmpeg enables the ffmpegio package to use the build of FFmpeg distributed by the static-ffmpeg package.

Use

Simply install the package:

pip install ffmpegio-core ffmpegio-plugin-static-ffmpeg

Then ffmpegio will auto-detect the plugin and static-ffmpeg’s executables:

import ffmpegio

print(ffmpegio.path.FFMPEG_BIN) # ...\site-packages\static_ffmpeg\bin\win32\ffmpeg.exe
print(ffmpegio.path.FFPROBE_BIN) # ...\site-packages\static_ffmpeg\bin\win32\ffprobe.exe

Because the static-ffmpeg package downloads its binaries on demand, the first time importing ffmpegio with this plugin enabled may take a while.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ffmpegio-plugin-static-ffmpeg-0.1.0.tar.gz (9.8 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page