iOS下完美编译ffmpeg+x264,支持armv7, armv7s, 模拟器 (验证不通过,估计和ffmpeg版本有关)

来源:互联网 发布:云计算虚拟化技术 编辑:程序博客网 时间:2024/05/20 13:16

http://blog.csdn.net/h_o_w_e/article/details/9097035


iOS下完美编译ffmpeg+x264,支持armv7, armv7s, 模拟器  (本人试过,没有编译出来,请看本人另外一篇日志,可以编译出来:http://blog.csdn.net/h_o_w_e/article/details/9112981)

原作者:wity_lv

文章出处:http://www.cocoachina.com/bbs/read.php?tid=142628


wity_lv去年做了一个项目,需要用ffmpeg对h264视频流进行解码。当时折腾了很久只在armv7编译通过。调试必须用真机,很麻烦。
后来我将编译整理成脚本,现在支持 armv7, armv7s, i386(模拟器)。

项目在这里:
https://github.com/lvjian700/ffmpegc

使用方法:
1. clone 项目
2. 运行 install-ffmpeg.sh 脚本, 一键编译

编译后使用方法看这个demo项目(那个iFrameExecutor项目太老了)
https://github.com/lvjian700/ffmpegc-demo
图解使用说明:
http://witcheryne.iteye.com/blog/1734706


原创粉丝点击