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
npm install @ffmpeg-binary/ffmpeg
import ffmpeg from '@ffmpeg-binary/ffmpeg';
console.log(ffmpeg); // [Project]/node_modules/@ffmpeg-binary/[Platform]-[Architecture]/ffmpeg
- Windows x64 / Linux x64 / Linux ARM64: https://github.com/BtbN/FFmpeg-Builds
- macOS x64 / macOS ARM64: https://www.osxexperts.net