@bunchtogether/ffmpeg-static

FFmpeg static builds ====================

Usage no npm install needed!

<script type="module">
  import bunchtogetherFfmpegStatic from 'https://cdn.skypack.dev/@bunchtogether/ffmpeg-static';
</script>

README

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')
}