Recently, I have studied FFMPEG for Playing videos on iOS. Now I can see a Summary of the good materials to help you or anyone who needs it.
1. Compilation of FFMPEG in IOS. There is a lot of information on the Internet, but many of them have some problems. After looking for a few days, I found this information to be detailed.
Http://www.cnblogs.com/ikodota/archive/2012/09/12/compile_ffmpeg_for_iOS.html
However, the library file compiled according to the method described in this article is large because it uses a small number of compilation parameters. Therefore, many modules are compiled and can be optimized as needed, add parameters to disable unnecessary modules. For more information about compilation parameters, see the relevant text.
2. Open-source example iframeextractor (GIT clone git: // github.com/lajos/iframeextractor.git). This is an example of using FFMPEG to decode playback in IOS. However, this example is shown by texture. The effect is not very good and sound decoding is not added.
3. An example of ios rtsp stream playback. After testing, the rtmp stream can also be played.
Https://github.com/mooncatventures-group/RTSPPlay
4. I learned the FFMPEG + SDL tutorial and claimed that I could write a player with less than 1000 lines of code.
Http://dranger.com/ffmpeg/
5. ffmpeg4iphone, an ffplay example, can be compiled and run, but cannot see the playback interface. I don't know why, but I haven't studied it in depth.
Http://code.google.com/p/ffmpeg4iphone/
Other resources introduced by others on the Forum are also posted here:
1. mooncatventures
Group https://github.com/mooncatventures-group
2. kxmovieplayer (use opengles, core audio) https://github.com/kolyvan/kxmovie
3. FFMPEG for iOS (with opengles, audioqueue) https://github.com/flyhawk007/FFmpeg-for-iOS.git