Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.28 KB

README.md

File metadata and controls

45 lines (30 loc) · 1.28 KB

ffprobe-static

ffprobe static binaries for Mac OSX and Linux and Windows

Installation

This module is installed via npm:

$ npm install ffprobe-static

Example Usage

Returns the path of a statically linked ffprobe binary on the local filesystem.

var ffprobe = require('ffprobe-static');
console.log(ffprobe.path);
// /Users/faleij/Dropbox/work/ffprobe-static/bin/darwin/x64/ffprobe

Currently supports Mac OS X (64-bit), Linux (32 and 64-bit) and Windows (32 and 64-bit).

Currently version 2.5.3 is installed for Mac and Linux, and 2.5.2 for Windows.

I pulled the versions from the ffprobe static build pages linked from the official ffprobe site. Namely:

NB: Open to pull requests to update this module with the latest versions.

Ideally I'd like to dynamically pull the latest version down, but this requires access to 7-zip which and being able to untar xz files.

And I couldn't find a good js-only decoders for these files either.

So, for now it's just embedded binaries.