minimal-ffprobe-installer

1.0.3 • Public • Published

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:

Readme

Keywords

Package Sidebar

Install

npm i minimal-ffprobe-installer

Weekly Downloads

9

Version

1.0.3

License

ISC

Unpacked Size

3.99 kB

Total Files

4

Last publish

Collaborators

  • adrienlucbert