Open PaulKinlan opened 7 years ago
The code is on "webassembly" branch on my fork of videoconverter.js - https://github.com/jonasof/videoconverter.js/tree/webassembly
For more information see the original issue on videoconverter.js: https://github.com/bgrins/videoconverter.js/issues/43 and pull request https://github.com/bgrins/videoconverter.js/pull/63.
Basically to build WASM version you need the "income" version of emscripten and change one line of build_lgpl.sh. See the pull request and commit https://github.com/jonasof/videoconverter.js/commit/cd5de5f98dcf398f2e8939a0a4271547cd6499dc. Note that my code also uses the pull request https://github.com/bgrins/videoconverter.js/pull/55 which is not merged in current master branch of videoconverter.js.
it's not possible to compile with all codecs
@picitujeromanov - Try to update to FFmpeg version 3.3. This solved my problem.
I'm actually crashing on 'endian test failed' by emconfigure ./configure --disable-thread --disable-asm \ --host=i686-pc-linux-gnu \ --disable-cli --enable-static --disable-gpl --prefix=$(pwd)/../dist
Super quick question. Do you have instructions on how you built with WASM support?
I love this demo, but I am seeing a huge perf impact on WASM in Chrome vs ASM.js and I'd like to dive into it more.