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

Uploaded Source

Built Distribution

File details

Details for the file ffmpegio-plugin-static-ffmpeg-0.1.0.tar.gz.

File metadata

  • Download URL: ffmpegio-plugin-static-ffmpeg-0.1.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for ffmpegio-plugin-static-ffmpeg-0.1.0.tar.gz
Algorithm Hash digest
SHA256 00851eb4114ccba835d5408617fccee0edb0590d6928cd51904bdeb28711f9ae
MD5 d756339816f851c179fb70876b66fb58
BLAKE2b-256 79fa6134ea8c8492e1ade6a8743c099de1b46405aa1272743f0c1cb53e07f0a6

See more details on using hashes here.

File details

Details for the file ffmpegio_plugin_static_ffmpeg-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ffmpegio_plugin_static_ffmpeg-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for ffmpegio_plugin_static_ffmpeg-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 71f485ef4deaee97a34e4186cfe92afe21eaf1a3cbd41aa59eeca09e1d1c2a0c
MD5 d0cb2720c723b1ae02f23fe9b4c22d54
BLAKE2b-256 dd5f7bd43ac885e4b5452cdddcd2bd45e9b428085ecaef3d7f9858b47700f291

See more details on using hashes here.

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