ffmpeg/ffprobe static binaries for Mac OSX and Linux and Windows
This module is installed via npm:
$ npm install KeatsPeeks/ffmpeg-static
Returns the path of a statically linked ffmpeg binary on the local filesystem.
var { ffmpeg, ffprobe } = require('ffmpeg-static');
console.log(ffmpeg.path);
console.log(ffprobe.path);
Currently supports Mac OS X (64-bit), Linux (32 and 64-bit) and Windows (32 and 64-bit).
Currently version 3.2.4
is installed for Mac and Linux, and 3.2.2
for
Windows.
I pulled the versions from the ffmpeg static build pages linked from the official ffmpeg 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.