Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Here is my working Configure for cross-compiling <code>FFmpeg</code> on iOS 6 the arch is <code>ARMv7</code></p> <p><strong>NOTE: You must have to have <a href="https://github.com/yuvi/gas-preprocessor" rel="nofollow">gas-preprocessor.pl</a> inside <code>/usr/local/bin/</code> please do not continue until you have <a href="https://github.com/yuvi/gas-preprocessor" rel="nofollow">gas-preprocessor.pl</a> on your bin directory</strong> </p> <ul> <li><p>Download FFmpeg 1.0 "Angel" from <a href="https://ffmpeg.org/download.html" rel="nofollow">here</a></p></li> <li><p>Unzip it and place it somewhere i.e. your <code>Desktop</code> folder</p></li> <li><p>Open terminal and browse to <code>unzipped FFmpeg folder</code></p></li> <li><p>Copy and paste the following command, (<strong>be patient will take a while</strong>) </p></li> </ul> <blockquote> <p>./configure --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffserver --enable-cross-compile --arch=arm --target-os=darwin --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' --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk --cpu=cortex-a8 --extra-cflags='-arch armv7' --extra-ldflags='-arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk' --enable-pic --enable-decoder=rawvideo --disable-asm</p> </blockquote> <ul> <li><p>Now type the following command on terminal <code>make</code> (<strong>wait a little more</strong>)</p></li> <li><p>Once it has finished now type on terminal <code>sudo make install</code> (<strong>wait again</strong>)</p></li> <li><p>Go to <code>/usr/local/lib</code> to find your freshly baked <code>armv7</code> libs</p></li> <li><p>Enjoy!</p></li> </ul> <p>Alex</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload