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

Instructions on building WAMS ffmpeg. #1

Open
PaulKinlan opened this issue May 16, 2017 · 4 comments
Open

Instructions on building WAMS ffmpeg. #1

PaulKinlan opened this issue May 16, 2017 · 4 comments

Comments

@PaulKinlan
Copy link

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.

@jonasof
Copy link
Owner

jonasof commented May 16, 2017

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: bgrins/videoconverter.js#43 and pull request bgrins/videoconverter.js#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 jonasof/videoconverter.js@cd5de5f. Note that my code also uses the pull request bgrins/videoconverter.js#55 which is not merged in current master branch of videoconverter.js.

@picitujeromanov
Copy link

it's not possible to compile with all codecs

@Superfantastisch
Copy link

@picitujeromanov - Try to update to FFmpeg version 3.3. This solved my problem.

@picitujeromanov
Copy link

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

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

4 participants