MP4Box static binaries for Mac, Linux, and Windows.
Supports macOS (64-bit), Linux (32 and 64-bit) and Windows (32 and 64-bit). The current MP4Box version is 0.7.2
.
Note: The version of mp4box-static
follows SemVer. When releasing new versions, we do not consider breaking changes in MP4Box
itself, but only the JS interface (see below). To stop mp4box-static
from breaking your code by getting updated, lock the version down or use a lockfile.
The minimal required EXE and DLLs are installed. Currently only -force-cat
feature of MP4Box has been tested. Other DLLs might be required to support other MP4Box features.
This module is installed via npm:
$ npm install @douglassllc/mp4box-static
Returns the path of a statically linked MP4Box binary on the local filesystem.
var mp4box = require('@douglassllc/mp4box-static');
console.log(mp4box.path);
// /Users/demo/mp4box-static/bin/darwin/x64/MP4Box
The build script downloads binaries from this location:
The unzip
, tar
, 7z
, and xz
CLI executables need to be installed. On macOS, use brew install p7zip gnu-tar xz
.