Reply to comment
How to compile ffmpeg for iPhone
- Download and install the iPhone SDK 3.1.
- 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/ - Get the latest FFmpeg from SVN (minimum r20151).
- 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. - 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
- 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
- Run make.
Submitted by water on Tue, 2010-02-23 21:35

Recent comments
1 day 20 hours ago
3 days 5 hours ago
1 week 2 days ago
1 week 3 days ago
1 week 3 days ago
1 week 5 days ago
1 week 6 days ago
2 weeks 2 hours ago
2 weeks 15 hours ago
2 weeks 1 day ago