Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please compile ffmpeg-core.js to wasm file type #18

Closed
wxyer opened this issue Jan 8, 2020 · 2 comments
Closed

please compile ffmpeg-core.js to wasm file type #18

wxyer opened this issue Jan 8, 2020 · 2 comments

Comments

@wxyer
Copy link

wxyer commented Jan 8, 2020

now the size of ffmpeg-core.js file is amost 23mb ,is too big ,and i found the file contains base64 charactor, i guess this is wasm file,wasm file in other rep just 6mb, but i like this rep

@jeromewu
Copy link
Collaborator

Hi, now you find the one with separated wasm file here: https://github.com/ffmpegjs/FFmpeg/tree/n4.1.4-js/dist-wasm

I also released it in a another npm package: https://www.npmjs.com/package/@ffmpeg/core-wasm

@grkblood13
Copy link

@jeromewu, running this package I get the following in the browser:

ffmpeg-core.js:27 Uncaught (in promise) TypeError: Failed to execute 'fetch' on 'WorkerGlobalScope': Failed to parse URL from ffmpeg-core.wasm
    at ffmpeg-core.js:27
    at Object.m.asm (ffmpeg-core.js:27)
    at ffmpeg-core.js:282
    at Object.y [as load] (index.js:16)
    at Object.r.dispatchHandlers (index.js:86)
    at index.js:5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants