/ffmpegc

Compile ffmpeg for iOS, support armv7s , armvs7 & i386 simulator

Primary LanguageShell

Compile ffmpeg for iOS, support armv7s , armvs7 & i386 simulator.

  • iOS 7 version not support x.264 module
  • iOS 6 version support x.264 module ( version 1.0 )

##iOS 7 Release Note

  • support iOS 7 & XCode 5
  • remove x.264 module(coming soon)

##iOS 7 & XCode Version Requirement

  • XCode 5 or later
  • iOS 7 or later

##How to use?

###Download & Compile ffmpeg

git clone git@github.com:lvjian700/ffmpegc.git
cd ffmpegc
./install-ffmpeg.sh

###How to use ?

You can find output in "ffmpegc/build/built/universal".

  1. Drag lib/*.a files to your project(copy to project).
  2. Add include folder to your "Header Search Paths".

##iOS 6 Version Requirement(Old Version)

You can find old version in release tabs.

  • XCode 4.*
  • CommandLine Tools
  • iOS 6.*

##How to use?

###Download & Compile ffmpeg

git clone git@github.com:lvjian700/ffmpegc.git
cd ffmpegc
./install-ffmpeg.sh

###Custom

1.Change ffmpeg version: Change this line on install-ffmpeg.sh file:

VERSION="2.0.2"	

2.Change iOSSDK version: Change this line on each compile-*.sh file:

SDKVERSION="7.1"	

###How to use ffmpeg?

You can see this project:
ffmpegc-demo

full demo, include video and audio: (License LGPL v3)
twplayer

##Occur mistake?

  1. You may not install XCode command-line tools
  2. /usr/sbin/gas-preprocessor.pl file exists. "sudo rm /usr/sbin/gas-preprocessor.pl"
  3. please check your gas-preprocessor.pl path, more details see issue#4

Thanks @Ronan0912. I can add armv7s support from this blog: (version 1.0) http://www.tangentsoftworks.com/blog/2012/11/12/how-to-prepare-your-mac-for-ios-development-with-ffmpeg-libraries/