Last active
November 11, 2022 09:48
-
-
Save rinthel/f4df3023245dd3e5a27218e8b3d79926 to your computer and use it in GitHub Desktop.
ffmpeg emscripten build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# reference: https://itnext.io/build-ffmpeg-webassembly-version-ffmpeg-js-part-2-compile-with-emscripten-4c581e8c9a16 | |
# tested in macos / emscripten 1.38.48 | |
emconfigure ./configure \ | |
--disable-x86asm --disable-inline-asm --disable-doc --disable-stripping \ | |
--nm="$EMSDK/upstream/bin/llvm-nm -g" \ | |
--ar=emar --cc=emcc --cxx=em++ --objcc=emcc --dep-cc=emcc | |
emmake make -j8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment