@lumixland/ffmpeg-binaries
v0.1.0
Published
Prebuilt ffmpeg binaries for major platforms.
Downloads
8
Readme
@lumixland/ffmpeg-binaries
Prebuilt FFmpeg binaries packaged for Node.js consumption.
Purpose
This package bundles prebuilt FFmpeg executables for major platforms and exposes the resolved binary path via ffmpegPath:
import { ffmpegPath } from "@lumixland/ffmpeg-binaries";
console.log(ffmpegPath);Behavior
- On installation the package's
postinstallscript extracts platform-specific binaries into./bin/. - At runtime the package exports
ffmpegPathwhich points to the platform binary if present, otherwise falls back to the stringffmpegso a system installation can be used.
Installation
Install as a dependency in projects that want the bundled binary available at runtime:
pnpm add @lumixland/ffmpeg-binariesLicensing
Binaries included in this package are redistributed under their respective licenses (see the bin/ tree). Ensure your use complies with those licenses.
