1.0.3 • Published 9 months ago

minimal-ffprobe-installer v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

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:

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:

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago