client-side-only FFmpeg, power by ffmpeg.wasm
host by github pages + cloudflare: https://sauceburnseal.net/ffmpeg/
- install dependencies:
npm install
- build:
npm run build
- if nothing goes wrong, you can find output files in
dist/
.
You must add two HTTP headers (Cross-Origin-Embedder-Policy: require-corp
and Cross-Origin-Opener-Policy: same-origin
),
in order to get rid of error Uncaught (in promise) ReferenceError: SharedArrayBuffer is not defined
.
see https://github.com/ffmpegwasm/ffmpeg.wasm#installation
- install dependencies:
npm install
- build:
npm run start
- navigate to http://127.0.0.1:8000 in browser