我的编译环境mac10.6.8     xcode4.2    ios5.0
ffmpeg真机编译的时候,指令disable-asm,可以编译通过,但是disable-asm
禁用汇编以后,ffmpeg解码效率会下降。
我想enable-asm,但是这样就编译不通过了....
求高手帮忙...谢谢!

解决方案 »

  1.   


    禁用是必须的。
    不转换RGB的话效率还可以啦。
    可以看看这个例子。
    https://github.com/kolyvan/kxmovie/
      

  2.   

    ./configure --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffserver --disable-avfilter --disable-debug --enable-cross-compile  --disable-armv5te --disable-everything --enable-decoder=h264 --enable-decoder=aac --enable-encoder=aac --cc=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc --as='gas-preprocessor/gas-preprocessor.pl /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc' --extra-ldflags='-arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk' --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk --target-os=darwin --arch=arm --cpu=cortex-a8 --extra-cflags='-arch armv7' --enable-asm难道我人品好,编译过了。 最后一句--enable-asm
      

  3.   

    ./configure --disable-doc --disable-ffmpeg 你看下编译之后得到的有哪些东东