Skip to main content

ffmpeg-local

A Python package that provides a simple way to get ffmpeg and ffprobe binaries for your platform. It automatically downloads the binaries from the official nodejs-ffmpeg release source.

Installation

pip install ffmpeg-local

The package is lightweight and does not include the large binaries in the initial download. Instead, the appropriate ffmpeg and ffprobe binaries will be automatically downloaded with a progress bar the first time you call get_ffmpeg_path() or get_ffprobe_path().

Usage

from ffmpeg_local import get_ffmpeg_path, get_ffprobe_path
import subprocess

# Get the path to the ffmpeg binary
ffmpeg_path = get_ffmpeg_path()
print(f"FFmpeg is at: {ffmpeg_path}")

# Use it in a subprocess
subprocess.run([ffmpeg_path, "-version"])

# Get the path to ffprobe
ffprobe_path = get_ffprobe_path()
print(f"FFprobe is at: {ffprobe_path}")

Supported Platforms

  • Windows: x64, ia32, arm64
  • Linux: x64, arm64
  • macOS: x64, arm64
  • Android: arm64 (Termux etc.)

CLI Utility

You can manually trigger the download using the CLI:

ffmpeg-local-download

Credits

This package is a Python port of nodejs-ffmpeg. Binaries are sourced from ytdlp-nodejs.

Metadata

Release files for ffmpeg-local 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ffmpeg-local 0.1.1
File Size Uploaded Provenance Actions
ffmpeg_local-0.1.1.tar.gz 5.3 kB Without provenance Details for ffmpeg_local-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ffmpeg-local 0.1.1
File Interpreter ABI Platform Actions
ffmpeg_local-0.1.1-py3-none-any.whl Python 3 none any Details for ffmpeg_local-0.1.1-py3-none-any.whl

Total release size: 11.3 kB

Release files / ffmpeg_local-0.1.1.tar.gz

Download URL ffmpeg_local-0.1.1.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
51febcf156363aaf9b3f3728fb85dbb17def6660d6d71c3e2a4b99b83f578386
BLAKE2b-256 checksum
How to use checksums
33380f06ac811832778ef05276fcb2b1efa6231929eff9211ad83ff60e1a04ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.10

Release files / ffmpeg_local-0.1.1-py3-none-any.whl

Download URL ffmpeg_local-0.1.1-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e60118c18338306601fb08ade466de3b4b09919959fda5c8f4299c2d31d7da20
BLAKE2b-256 checksum
How to use checksums
1c3999f26073703a875be5e1c3cef17582d72576b88c4d388aacd166c164c897
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.10

Security for ffmpeg-local 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page