关于在iOS上使用ffmpeg播放视频,我调查的结果如下:
国外靠谱的有这几个:
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
4、iFrameExtractor https://github.com/lajos/iFrameExtractor.git
当然还有ffmpeg自带的ffplay,如果想学习ffplay可以参考ffmpeg tutorial http://dranger.com/ffmpeg/ 中文版连接: http://download.csdn.net/detail/dayudian/4600783 (这个好多地方都有,可以自己搜索)
SDL:现在SDL1.3已有iOS版本,可以直接编译.a文件。
下载地址:SDL 1.3 is ready for a massive bug hunt!
http://www.libsdl.org/tmp/SDL-1.3.zip
or
http://www.libsdl.org/tmp/SDL-1.3.tar.gz
音频:使用audiocore播放音频只能播放iOS支持的音频格式,使用SDL播放音频没有限制。
如果感兴趣的可以加群讨论:181515226
国外靠谱的有这几个:
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
4、iFrameExtractor https://github.com/lajos/iFrameExtractor.git
当然还有ffmpeg自带的ffplay,如果想学习ffplay可以参考ffmpeg tutorial http://dranger.com/ffmpeg/ 中文版连接: http://download.csdn.net/detail/dayudian/4600783 (这个好多地方都有,可以自己搜索)
SDL:现在SDL1.3已有iOS版本,可以直接编译.a文件。
下载地址:SDL 1.3 is ready for a massive bug hunt!
http://www.libsdl.org/tmp/SDL-1.3.zip
or
http://www.libsdl.org/tmp/SDL-1.3.tar.gz
音频:使用audiocore播放音频只能播放iOS支持的音频格式,使用SDL播放音频没有限制。
如果感兴趣的可以加群讨论:181515226