ffmpeg avi to mp4 问题

hhw55512468 2014-04-25 02:24:55
我使用如下命令:

ffmpeg -i la.avi -f mp4 -vcodec mpeg4 -maxrate 1000 -b 700 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec aac -ab 192 -s 320x240 -aspect 4:3 lala.mp4

转 avi 为 mp4,但返回 unknown encoder 'aac'

我是不是要下载个 aac 编码器?


回答的:你编译的ffmpeg可有-enable-faac选项?

是什么意思?
...全文
3031 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
mayudong1 2014-04-25
  • 打赏
  • 举报
回复
不知道你的ffmpeg是什么版本的 ffmpeg -h把帮助打印出来一点点研究吧
hhw55512468 2014-04-25
  • 打赏
  • 举报
回复
引用 1 楼 mayudong1 的回复:
ffmpeg -codecs 看看里面有没有aac
嗯嗯 我后来知道了 有个问题能请教一下吗? 提示错误: encoder 'aac' is experimental and might produce bad results. Add '-strict experimental' if you want to use it. 然后我这样写 command.add("-acodec"); command.add("aac -strict experimental"); 就提示错误:Unknown encoder 'aac -strict experimental' 把-strict experimental 单独拿出来写command.add("-strict experimental ")也不行
mayudong1 2014-04-25
  • 打赏
  • 举报
回复
ffmpeg -codecs 看看里面有没有aac

2,585

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 资源
社区管理员
  • 资源
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧