The module returns a file path to the binary for the target operating system.
It is a modified version from the original ffprobe-static to use
electron-builder file macros in
package.json, where OS name are
ffprobe-static, recognising the target OS is done with
os.platform() where mac os x is recognised as
darwin rather then
The need to tailor ffmpeg-static to use with
electron-builder came from a use cases such as that of autoEdit.io.
Static binaries for
ffprobe. OSX only at the moment, please send a PR if you would like to help with adding support for other platforms.
Binaries are from http://ffmpeg.zeranoe.com/builds/
This module is installed via npm:
$ npm install ffprobe-static-electron
var ffprobe = require('ffprobe-static-electron'); console.log(ffprobe.path);
Currently supports Mac OS X (64-bit), Linux (32 and 64-bit) and Windows (32 and 64-bit).
3.1 is installed for Mac and Linux, and
I pulled the versions from the ffmpeg static build pages linked from the official ffmpeg site. Namely: