回覆回應

How to compile ffmpeg for iPhone

  1. Download and install the iPhone SDK 3.1.
  2. Get the latest gas-preprocessor and install it in /usr/local/bin or some other directory in your $PATH.
    http://github.com/yuvi/gas-preprocessor/
  3. Get the latest FFmpeg from SVN (minimum r20151).
  4. Configure FFmpeg with one of the following commands. These give a
    clean build with a default installation of iPhone SDK 3.1 on OSX Leopard.
    Other versions may vary.
  5. For iPhone 3GS or iPod Touch 3G 32GB/64GB, use this command:

    ./configure --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin9-gcc-4.2.1 --as='gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin9-gcc-4.2.1' --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.sdk --enable-cross-compile --target-os=darwin --arch=arm --cpu=cortex-a8 --enable-pic
  6. For other iPhone or iPod Touch models, use this command:

    ./configure --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin9-gcc-4.2.1 --as='gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin9-gcc-4.2.1' --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.sdk --enable-cross-compile --target-os=darwin --arch=arm --cpu=arm1176jzf-s
  7. Run make.

回應

這個欄位的內容會保密,不會公開顯示。
  • 自動將網址與電子郵件位址轉變為連結。
  • 可使用的 HTML 標籤:<a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • 自動斷行和分段。
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.

更多關於格式選項的資訊

CAPTCHA
這條問題是測試你是否真正的人類使用者。
Image CAPTCHA
Enter the characters shown in the image.