FFmpeg static builds
yarn add https://github.com/bunchtogether/ffmpeg-static.git
// Get static ffmpeg binaries
const { ffmpegPath, ffprobePath } = require('@bunchtogether/ffmpeg-static');
// Get system ffmpeg binaries
const { ffmpegSystemPath, ffprobeSystemPath } = require('@bunchtogether/ffmpeg-static');
if (!ffmpegSystemPath || !ffprobeSystemPath) {
throw new Error('ffmpeg, ffprobe are not installed on the system')
}