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

Open
#770 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
C
Stars
17.8k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.