@ffmpeg-binary/ffmpeg
v2.0.1
Published
Node.js module providing path of ffmpeg binary for various platforms.
Downloads
731
Readme
ffmpeg-binary
Node.js module providing path of ffmpeg binary for various platforms.
This project install binary dependencies for the current platform using the optionalDependencies, cpu, and os fields of the package.json file.
The project is currently using the ffmpeg 7.0 release, and the list of supported platforms is as follows.
- Windows x64
- Linux x64
- Linux ARM64
- macOS x64
- macOS ARM64
Installation
npm install @ffmpeg-binary/ffmpeg
Usage
import ffmpeg from '@ffmpeg-binary/ffmpeg';
console.log(ffmpeg); // [Project]/node_modules/@ffmpeg-binary/[Platform]-[Architecture]/ffmpeg
Sources of the binaries
- Windows x64 / Linux x64 / Linux ARM64: https://github.com/BtbN/FFmpeg-Builds
- macOS x64 / macOS ARM64: https://www.osxexperts.net