Platform independent binary installer of FFprobe for node projects, focusing on installing only binaries required by the target platform.
Based on @microlink/ffprobe, ffprobe-static and @ffprobe-installer/ffprobe.
$ npm install minimal-ffprobe-installer
Note: During installation, it will download the appropriate ffprobe
binary from the b6.0
GitHub release. Use and distribution of the binary releases of ffprobe
are covered by their respective license.
By default, the ffprobe
binary will get downloaded from https://github.com/eugeneware/ffprobe-static/releases/download
. To customise this, e.g. when using a mirror, set the FFPROBE_BINARIES_URL
environment variable.
export FFPROBE_BINARIES_URL=https://cdn.npmmirror.com/binaries/ffprobe-static
npm install minimal-ffprobe-installer
Returns the path of a statically linked ffprobe binary on the local filesystem.
const { ffprobePath } = require('minimal-ffprobe-installer');
console.log(ffprobePath)
// /home/user/playground/node_modules/minimal-ffprobe-installer/bin/ffprobe
The binaries downloaded by ffprobe-static
are from these locations:
- Windows x64 builds
- Windows x86 builds
- Linux x64/x86/ARM/ARM64 builds
- macOS x64 (Intel) & ARM64 (Apple Silicon) builds
This npm package includes statically linked binaries that are produced by the following individuals. Please consider supporting and donating to them who have been providing quality binary builds for many years:
- Linux builds: John Van Sickle
- macOS builds: Helmut K. C. Tessarek