ffmpegwasm / ffmpegwasm/ffmpeg.wasm
Electron can't load with ERR_WORKER_PATH
- Lingua principale
- C
- Stelle
- 17.8k
- Fork
- 1.1k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I am using ffmpeg.wasm can't work in Electron. But the same code can work in the browser.
var ffmpeg = FFmpeg.createFFmpeg({
log: false,
corePath:
'https://cdn.jsdelivr.net/npm/@ffmpeg/core-wasm@0.7.1/ffmpeg-core.js',
})
ffmpeg.load()
Get error:
Uncaught TypeError [ERR_WORKER_PATH]: The worker script filename must be an absolute path or a relative path starting with './' or '../'. Received "blob:http://localhost:8080/75cc239b-a29d-445d-9aac-6bb8e3e76388"
at new Worker (internal/worker.js:79)
at Object.allocateUnusedWorker (ffmpeg-core.js:1)
at Object.initMainThreadBlock (ffmpeg-core.js:1)
at ffmpeg-core.js:1
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.