[FFmpeg-user] ffmpeg for iPhone fails

杨兴军 youngshingjun at 163.com
Tue Sep 27 11:01:49 CEST 2011


Hello!
I want to use ffmpeg for iPhone app. But I fail. 
Xcode version: 3.2.6.
iOS SDK version:4.3.
iOS device: iPod touch 4,   4.3.3(8J2).


The Xcode console messages:
"warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.3.3 (8J2)/Symbols/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/usr/lib/libavutil.dylib (file not found).
warning: Unable to read symbols from "libavutil.dylib" (not yet mapped into memory)."
"dyld: Library not loaded: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/usr/lib/libavutil.dylib

  Referenced from: /var/mobile/Applications/462CB733-4699-4BB4-B2BF-F2C157DA5C7B/Book+.app/Book+

  Reason: image not found"


Get the latest FFmpeg from SVN .
Configure FFmpeg with one of the following commands:
(1) ./configure --enable-cross-compile --cross-prefix=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1 --prefix=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/usr --extra-cflags="-isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk" --extra-ldflags="-isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -Wl,-syslibroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk" --arch=armv6 --enable-armv6 --enable-gpl --enable-shared --enable-swscale --enable-zlib --enable-bzlib --disable-ffmpeg --disable-ffplay --disable-ffserver
(2) make
(3) sudo make install


I wish you help me solve the problem. Thanks a lot!!!!







More information about the ffmpeg-user mailing list