iFrameExtractor build_armv7 steps

来源:互联网 发布:微信积分系统源码 编辑:程序博客网 时间:2024/06/07 18:10

build_armv7 steps  

1. open Terminal
   2. clone the repository: git clone git://github.com/lajos/iFrameExtractor.git
   3. go to the ffmpeg folder in the project: cd iFrameExtractor/ffmpeg
  4./configure
5.open  build_armv7 with textedit  ,and change  sdk version

./configure --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffserver --enable-cross-compile --arch=arm --target-os=darwin --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc --as='gas-preprocessor/gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc' --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk --cpu=cortex-a8 --extra-cflags='-arch armv7' --extra-ldflags='-arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk' --enable-pic

   6. build the ffmpeg libraries: ./build_armv7
   7. open the xcode project 
8.add lib libbz2.1.0.dylib
9.run it on your iPhone device

 

原创粉丝点击