How to use ffmpeg on iOS 6, support Simulator & armv7
This is my first english posts. In this posts, I will show how to use ffmpeg on iOS.
?
This posts is a document for this project:?
https://github.com/lvjian700/ffmpegc-demo
?
What is ffmpeg ?FFmpeg is a complete, across-platform solution to record, convert and stream audio and video.?
Why use ffmpeg?Play h.264 videoencoding capture video to h.264 video(It need ffmpeg h.264 module.)publish a av streamsubscribe a rtsp av streamAfter use ffmpegc-demo, you should download and compile ffmpeg:I made a repository to make the step easy:
Using ffmpeg1. Clone project first:
?3. Add them to project link libraryProject References?-> Targets -> Build Phases -> Link Binary With Librarys
?4. Add dependences library:Project References -> Targets -> Build Phases -> Link Binary With LibrarysAdd two library:libbz.dyliblibz.dylib
?5. Add Header Search Paths:Project References -> Targets -> Build Settings ->?Header Search Paths
??
6. Now, run project ...
?
?