ffmpegwasm / ffmpegwasm/ffmpeg.wasm
How do I import from esm.sh? Seems like it would be easier than unpkg.com examples which give a 404
Aperta
- Lingua principale
- C
- Stelle
- 17.8k
- Fork
- 1.1k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
const baseURL = 'https://esm.sh/v135/@ffmpeg/core-mt@0.12.6/es2022/';
await ffmpeg.load({
coreURL: await toBlobURL(`${baseURL}/core-mt.mjs`, 'text/javascript'),
wasmURL: await toBlobURL(`${baseURL}/ffmpeg-core.wasm`, 'application/wasm'),
workerURL: await toBlobURL(`${baseURL}/ffmpeg-core.worker.js`, 'text/javascript')
});
This file: `ffmpeg-core.worker.js` is missing not sure where it lives. I can't find it anywhere. I only see a `worker.ts` but no build output that I can find.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.