iOS with ffmpeg
2013-12-27 18:17
239 查看
1.安装pkg-config
curl http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz -o pkg-config-0.28.tar.gz
tar -xf pkg-config-0.28.tar.gz
cd pkg-config-0.28
./configure --with-internal-glib
sudo make install
2. 准备脚本
下载脚本build-ffmpeg.sh https://gist.github.com/m1entus/6983547 修改VERSION="2.0.2"到最新版本VERSION="2.2.1"
下载脚本gas-preprocessor.pl https://github.com/mansr/gas-preprocessor 这个脚本的路径需要加入到当前的环境变量中,同时chmod +x gas-preprocessor.pl提供可执行权限
简单点可以直接把它放到/usr/bin下再chmod +x gas-preprocessor.pl
3. 执行build-ffmpeg.sh然后就结束了。
curl http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz -o pkg-config-0.28.tar.gz
tar -xf pkg-config-0.28.tar.gz
cd pkg-config-0.28
./configure --with-internal-glib
sudo make install
2. 准备脚本
下载脚本build-ffmpeg.sh https://gist.github.com/m1entus/6983547 修改VERSION="2.0.2"到最新版本VERSION="2.2.1"
下载脚本gas-preprocessor.pl https://github.com/mansr/gas-preprocessor 这个脚本的路径需要加入到当前的环境变量中,同时chmod +x gas-preprocessor.pl提供可执行权限
简单点可以直接把它放到/usr/bin下再chmod +x gas-preprocessor.pl
3. 执行build-ffmpeg.sh然后就结束了。
相关文章推荐
- Correct Smartphone Video Orientation and How To Rotate iOS and Android Videos with ffmpeg
- iOS 真机调试错误 An App ID with Identifier 'xxx.xxx' is not available. Please enter a differen
- iOS平台使用FFmpeg解码H.264视频流
- [置顶] IOS 关于取消延迟执行函数的种种。performSelector与cancelPreviousPerformRequestsWithTarget
- IOS 关于取消延迟执行函数的种种。performSelector与cancelPreviousPerformRequestsWithTarget
- iOS Automated Tests with UIAutomation
- iOS 初始化方法 initWithNibName、initWithCoder、awakeFromNib和 loadNibNamed说明
- ios编译正常,但无法运行到真机和模拟器上 ,Choose a destination with a supported architecture
- 在iOS平台使用ffmpeg解码h264视频流
- Code Sign error: ad hoc code signing not allowed with SDK 'iOS 9.3'
- IOS开发之Bug--关于Assertion failure in -[UIApplication _runWithMainScene的Bug
- iOS: image with 2x
- IOS开发笔记UIView使用animateWithDuration控制页面效果
- iOS 添加第三方库后 报clang: error: linker command failed with exit code 1 (use -v to see invocation)
- iOS远程控制问题,系统远端事件remoteControlReceivedWithEvent捕获不到的问题
- IOS 关于取消延迟执行函数的种种。performSelector与cancelPreviousPerformRequestsWithTarget
- iOS出现( linker command failed with exit code 1)错误总结
- [iOS]FFmpeg框架在iOS平台上的编译和使用
- Windows Phone 7, Android and iOS with Mono IV: Webservices
- IOS高访微信聊天对话界面(sizeWithFont:constrainedToSize和stretchableImageWithLeftCapWidth的使用)