ubuntu下使用脚本交叉编译windows下使用的ffmpeg

sh脚本下载于

http://ffmpeg.org/trac/ffmpeg/wiki/CrossCompilingForWindows

尝试编译 总是出点错误。

1. 执行./cross_compile_ffmpeg.sh 的时候,提示 git co 不可识别的命令。

原来是作者使用了alian。将Line 137 和Line 138 中git co替换成git checkout。

2.错误提示: Code:checking for /bin/bash... configure: error: cannot check for file existence when cross compiling

这里参考http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=5&t=757

”It seems libaacplus won't co-exist with libfdk-aac or libvo-aacenc when compiling for Windows. 
But hey, libaacplus + libfaac is sufficient.“

几种aac编解码冲突,所以之选择一种才可以。

3.执行 do_git_checkout https://github.com/FFmpeg/FFmpeg.git ffmpeg_git 的时候

提示:Unable to find remote helper for 'https'

将 https 改成 git 。脚本中有几处do_git_checkout后面的http 或者 https 都可以换成git 。

转载于:https://www.cnblogs.com/zzugyl/archive/2013/01/26/2878013.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值