欢迎各位兄弟 发布技术文章
这里的技术是共享的
ffmpeg -i input.flv output.mp4
报错 错误提示
The encoder 'aac' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it.
正确处理
ffmpeg -i input.flv -strict -2 output.mp4
来自 http://blog.sina.com.cn/s/blog_49b3ba190102xeo0.html
ffmpeg命令行执行录制的时候,提示错误“” The encoder 'aac' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it”,网上看直接在命令中 add '-strict -2' 就可以了,但是我这里加了没有效果。
解决方法:
在configurate时--enable-libfaac,这时候可能会提示你nonfree,那就再开启nonfree好了, --enable-nonfree,重新编译,问题解决。
————————————————
来自 https://blog.csdn.net/wingor2010/article/details/27068985