I\'ve tried reading many tutorials. I\'ve spent hours on google, and stackoverflow trying answer. So far I\'ve read: Trying to compile the FFMPEG libraries for iPhoneOS plat
This answer from mientus worked for me : https://stackoverflow.com/a/19370679/661720
Support universal ffmpeg library for iOS7 and XCode5:
Install gas-preprocessor
Click on the ZIP icon to download https://github.com/mansr/gas-preprocessor. Copy gas-preprocessor.pl to /usr/bin directory. Change permission of gas-preprocessor.pl by setting the privilege to Read & Write for all.
Download my shell script from: https://gist.github.com/m1entus/6983547
Run sh build-ffmpeg.sh.
To use the mooncatventures (our) ffmpegdecoderFramework, go into build settings click on the arch and remove the armv7s.
you must also change build active architechure only to no.