minimal-ffprobe-installer
v1.0.3
Published
Platform independent binary installer of FFprobe for node projects, focusing on installing only binaries required by the target platform.
Downloads
2
Readme
minimal-ffprobe-installer
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.
Installation
$ 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.
Custom binaries url
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
Example Usage
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
Sources of the binaries
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
Show your support
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