ciphor / ffmpeg4ios

ffmpeg library migrated onto iOS
Other
82 stars 27 forks source link

XCode 4.5 #5

Open breiko83 opened 11 years ago

breiko83 commented 11 years ago

Hello, I'm trying to compile with XCode 4.5 but I got lots of "Command not found". Any planned update or a fix for this?

Wolfman56 commented 11 years ago

I was able to compile and build this with Xcode 4.5.1

  1. from a terminal: cd / sudu mkdir /Developer
  2. Create symbolic lilnk to development environment: ln -s /Applications/Xcode.app/Contents/Developer/Platforms /Developer/Platforms
  3. Configure the build (see http://care2achieve.wordpress.com/tag/ffmpeg-for-ios/) ./configure --disable-yasm
  4. Build the libraries ./build_armv7

Note: You have to disable inline optimizations (they are for Arm6 architectures) in: ffmpeg4ios/libavutil/arm/intmath.h

Although this compiled the FFMPeg Libraries, I was not successful in getting the iPlayer sample to decode an RTSP stream. This could be because of issues associated with the RTSP libraries provided with the project. Ideally Ciphor would link those source libraries so they could be recompiled with the new SDK and debugged...

Hope this helps