title: FFMPEG iOS 7 Library
body: <p>I've tried reading many tutorials.
  I've spent hours on google, and stackoverflow trying answer.
  So far I've read: <a href="https://stackoverflow.com/questions/15832754/trying-to-compile-the-ffmpeg-libraries-for-iphoneos-platform-with-armv6-and-arv7">Trying to compile the FFMPEG libraries for iPhoneOS platform with armv6 and arv7 architecture</a> <a href="https://stackoverflow.com/questions/6854190/ffmpeg-integration-on-iphone-ipad-project/15429359#15429359">FFMPEG integration on iphone/ ipad project</a> and <a href="https://github.com/lajos/iFrameExtractor" rel="nofollow noreferrer">https://github.com/lajos/iFrameExtractor</a> few of the many.</p>
  
  <p>I'm trying to build this library for iOS 7/Xcode 5 compatibility but it's not working. 
  A common error I'd get is: </p>
  
  <pre><code>Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
  yasm/nasm not found or too old. Use --disable-yasm for a crippled build.
  
  If you think configure made a mistake, make sure you are using the latest
  version from Git.  If the latest version fails, report the problem to the
  ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
  Include the log file "config.log" produced by configure as this will help
  solving the problem.
  </code></pre>
  
  <p>I'd also get many more once that is finished. Such as:</p>
  
  <pre><code>rm: illegal option -- .
  usage: rm [-f | -i] [-dPRrvW] file ...
         unlink file
  make: *** [clean] Error 64
  </code></pre>
  
  <p>I've mostly tried using this command to start, but it always crashes on "make clean":</p>
  
  <pre><code>./configure \
  --cc=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc \
  --as='/usr/local/bin/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/iPhoneOS7.0.sdk \
  --target-os=darwin \
  --arch=arm \
  --cpu=cortex-a8 \
  --extra-cflags='-arch armv7' \
  --extra-ldflags='-arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk' \
  --prefix=compiled/armv7 \
  --enable-cross-compile \
  --enable-nonfree \
  --enable-gpl \
  --disable-armv5te \
  --disable-swscale-alpha \
  --disable-doc \
  --disable-ffmpeg \
  --disable-ffplay \
  --disable-ffprobe \
  --disable-ffserver \
  --disable-asm \
  --disable-debug
  </code></pre>