ffmpegwasm / ffmpegwasm/ffmpeg.wasm

`ffmpeg.run` throws `Not allowed to load local resource: blob:null/(...)` on 0.9.6

Ouverte
#124 2 commentaires 6 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
C
Étoiles
17.8k
Forks
1.1k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

When I tried to run the codepen example (https://codepen.io/jeromewu/pen/NWWaMeY) locally using ffmpeg.wasm 0.9.6 from CDN, I got this error `Not allowed to load local resource: blob:null/(...)` on ffmpeg.run. When I used 0.9.5 everything was fine.

However, using 0.9.6 in codepen works, so the problem seems to show up only locally.

Whole log:
![log](https://user-images.githubusercontent.com/68896111/100997960-3a385b00-355b-11eb-8d7f-36f2318ee52e.png)

```
log.js:15 [info] use ffmpeg.wasm v0.9.6
log.js:15 [info] load ffmpeg-core
log.js:15 [info] loading ffmpeg-core
log.js:15 [info] fetch https://unpkg.com/@ffmpeg/core@0.8.5/dist/ffmpeg-core.js
log.js:15 [info] https://unpkg.com/@ffmpeg/core@0.8.5/dist/ffmpeg-core.js file size = 105830 bytes
log.js:15 [info] https://unpkg.com/@ffmpeg/core@0.8.5/dist/ffmpeg-core.js blob URL = blob:null/f28728ec-c64d-41ef-820b-01acfda9979a
log.js:15 [info] fetch https://unpkg.com/@ffmpeg/core@0.8.5/dist/ffmpeg-core.wasm
log.js:15 [info] https://unpkg.com/@ffmpeg/core@0.8.5/dist/ffmpeg-core.wasm file size = 23557464 bytes
log.js:15 [info] https://unpkg.com/@ffmpeg/core@0.8.5/dist/ffmpeg-core.wasm blob URL = blob:null/3f666692-2ada-4a12-85a7-224ecb663f73
log.js:15 [info] fetch https://unpkg.com/@ffmpeg/core@0.8.5/dist/ffmpeg-core.worker.js
log.js:15 [info] https://unpkg.com/@ffmpeg/core@0.8.5/dist/ffmpeg-core.worker.js file size = 3609 bytes
log.js:15 [info] https://unpkg.com/@ffmpeg/core@0.8.5/dist/ffmpeg-core.worker.js blob URL = blob:null/5c4c1c6b-1ba1-4d83-848c-93c53acb0626
log.js:15 [info] ffmpeg-core.js script loaded
log.js:15 [info] ffmpeg-core loaded
log.js:15 [info] run FS.writeFile video-1s.avi <92440 bytes binary file>
log.js:15 [info] run ffmpeg command: -i video-1s.avi output.mp4
blob:null/5c4c1c6b-1ba1-4d83-848c-93c53acb0626:1 Not allowed to load local resource: blob:null/f28728ec-c64d-41ef-820b-01acfda9979a
onmessage @ blob:null/5c4c1c6b-1ba1-4d83-848c-93c53acb0626:1
blob:null/5c4c1c6b-1ba1-4d83-848c-93c53acb0626:1 worker.js onmessage() captured an uncaught exception: NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'blob:null/f28728ec-c64d-41ef-820b-01acfda9979a' failed to load.
threadPrintErr @ blob:null/5c4c1c6b-1ba1-4d83-848c-93c53acb0626:1
onmessage @ blob:null/5c4c1c6b-1ba1-4d83-848c-93c53acb0626:1
blob:null/5c4c1c6b-1ba1-4d83-848c-93c53acb0626:1 Error: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'blob:null/f28728ec-c64d-41ef-820b-01acfda9979a' failed to load.
at onmessage (blob:null/5c4c1c6b-1ba1-4d83-848c-93c53acb0626:1)
threadPrintErr @ blob:null/5c4c1c6b-1ba1-4d83-848c-93c53acb0626:1
onmessage @ blob:null/5c4c1c6b-1ba1-4d83-848c-93c53acb0626:1
log.js:15 [fferr] pthread sent an error! blob:null/5c4c1c6b-1ba1-4d83-848c-93c53acb0626:1: Uncaught NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'blob:null/f28728ec-c64d-41ef-820b-01acfda9979a' failed to load.
blob:null/5c4c1c6b-1ba1-4d83-848c-93c53acb0626:1 Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'blob:null/f28728ec-c64d-41ef-820b-01acfda9979a' failed to load.
at onmessage (blob:null/5c4c1c6b-1ba1-4d83-848c-93c53acb0626:1:820)
onmessage @ blob:null/5c4c1c6b-1ba1-4d83-848c-93c53acb0626:1
```

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.