Permalink
Browse files

recompile with -O2 (still no asm) and some different options. Seems f…

…aster
1 parent b289ce6 commit b84541dc5c11642858c3c42cc133b84907880312 @bgrins committed Nov 12, 2013
Showing with 192 additions and 1,463,204 deletions.
  1. +2 −2 ffmpeg_build/build_lgpl.sh
  2. +190 −1,463,201 ffmpeg_build/ffmpeg.js
  3. +0 −1 ffmpeg_build/ffmpeg.js.map
@@ -3,10 +3,10 @@ echo "Beginning Build:"
cd ffmpeg
-emconfigure ./configure --cc="emcc" --disable-ffplay --disable-ffprobe --disable-ffserver --disable-asm --enable-pic --enable-static --disable-shared --disable-doc --disable-devices --disable-pthreads --disable-w32threads --disable-network --enable-small --disable-hwaccels --disable-parsers --disable-bsfs --disable-debug --disable-altivec --disable-amd3dnow --disable-amd3dnowext --disable-mmx --disable-mmxext --disable-sse --disable-sse2 --disable-sse3 --disable-ssse3 --disable-sse4 --disable-sse42 --disable-avx --disable-fma4 --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-vfp --disable-neon --disable-vis --disable-inline-asm --disable-yasm
+emconfigure ./configure --cc="emcc" --disable-ffplay --disable-ffprobe --disable-ffserver --disable-asm --enable-pic --disable-doc --disable-devices --disable-pthreads --disable-w32threads --disable-network --enable-small --disable-hwaccels --disable-parsers --disable-bsfs --disable-debug --disable-zlib
make clean;
emmake make;
-emcc -s VERBOSE=1 -s ALLOW_MEMORY_GROWTH=1 -v libavutil/*.o libavcodec/*.o libavformat/*.o libavdevice/*.o libswresample/*.o libavfilter/*.o libswscale/*.o *.o -o ../ffmpeg.js --pre-js ../ffmpeg_pre.js --post-js ../ffmpeg_post.js
+emcc -O2 -s VERBOSE=1 -s ASM_JS=0 -s ALLOW_MEMORY_GROWTH=1 -v libavutil/*.o libavcodec/*.o libavformat/*.o libavdevice/*.o libswresample/*.o libavfilter/*.o libswscale/*.o *.o -o ../ffmpeg.js --pre-js ../ffmpeg_pre.js --post-js ../ffmpeg_post.js
cd ../
Oops, something went wrong.

0 comments on commit b84541d

Please sign in to comment.