Package Exports
- ffmpeg-static
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ffmpeg-static) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ffmpeg-static
ffmpeg static binaries for Mac OSX and Linux and Windows.
Supports macOS (64-bit), Linux (32 and 64-bit, armhf, arm64) and Windows (32 and 64-bit). The current ffmpeg version is 4.2.1.
Note: The version of ffmpeg-static follows SemVer. When releasing new versions, we do not consider breaking changes in ffmpeg itself, but only the JS interface (see below). To stop ffmpeg-static from breaking your code by getting updated, lock the version down or use a lockfile.
Installation
This module is installed via npm:
$ npm install ffmpeg-staticExample Usage
Returns the path of a statically linked ffmpeg binary on the local filesystem.
var pathToFfmpeg = require('ffmpeg-static');
console.log(pathToFfmpeg);
// /Users/j/projects/sample-project/node_modules/ffmpeg-static/bin/darwin/x64/ffmpegSources of the binaries
The build script downloads binaries 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:
- Windows builds: Kyle Schwarz
- Linux builds: John Van Sickle
- macOS builds: Helmut K. C. Tessarek
Building the project
The unzip, tar and 7zr CLI executables need to be installed. On macOS, use brew install p7zip gnu-tar xz.