Closed iongion closed 1 year ago
I used this, notice esm
instead of umd
const baseURL = "https://unpkg.com/@ffmpeg/core@0.12.1/dist/esm";
await ffmpeg.current.load({
coreURL: await toBlobURL(
`${baseURL}/ffmpeg-core.js`,
"text/javascript"
),
wasmURL: await toBlobURL(
`${baseURL}/ffmpeg-core.wasm`,
"application/wasm"
),
});
where toBlobURL
is imported from @ffmpeg/util
.
ffmpeg-core.worker.js
is in another package called @ffmpeg/core-mt
.
You can find it here: https://unpkg.com/@ffmpeg/core-mt@0.12.1/dist/umd/ffmpeg-core.worker.js
Is your feature request related to a problem? Please describe.
Describe the solution you'd like Guide to obtain this file
Describe alternatives you've considered Revert to 0.11.x