Kagami / ffmpeg.js

Port of FFmpeg with Emscripten
Other
3.29k stars 335 forks source link

Consider using fastcomp compiler #93

Closed Kagami closed 4 years ago

Kagami commented 4 years ago

WebAssembly -> JS build might be not optimal in terms of size, because of a lot of WebAssembly stub in JS runtime. (And what about 64-bit math?)

Also consider checking MINIMAL_RUNTIME setting for smaller builds.

Kagami commented 4 years ago

Yes, upstream backend is definitely much slower for asm.js (2-3 times slower!). So current builds are very slow.

I've recompiled with fastcomp (1.39.11, 1.39.12 is broken), it's much better that way.

Not sure if asm.js builds are relevant at all though, since almost every recent browser supports wasm now. Maybe we should provide only wasm version.