ffmpegwasm / ffmpegwasm/ffmpeg.wasm
Electron can't load with ERR_WORKER_PATH
- Lenguaje dominante
- C
- Estrellas
- 17.8k
- Forks
- 1.1k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.