Installation
note
ffmpeg.wasm only supports running in browser, see FAQ for more details
Package Managers
Install ffmpeg.wasm using package managers like npm and yarn:
- npm
- yarn
npm install @ffmpeg/ffmpeg @ffmpeg/util
yarn add @ffmpeg/ffmpeg @ffmpeg/util
info
As @ffmpeg/ffmpeg spawns a web worker, you cannot import @ffmpeg/ffmpeg from CDN like
jsdelivr. It is recommended to download it and host it on your server most of the time.