【问题标题】:avconv: getting aac to work. -strict experimental doesn't workavconv:让 aac 工作。 -严格的实验不起作用
【发布时间】:2015-01-02 16:41:27
【问题描述】:

我正在尝试使用以下截屏命令:

avconv -f alsa -ar 44100 -ac 2 -i default -acodec aac -strict experimental -ab 320k -f x11grab -s 1024x600 -r 24  -i :0.0  -vcodec rawvideo screencast.mp4

但我仍然收到以下错误:

编码器“aac”是实验性的,可能会产生不好的结果。 如果要使用,请添加“-严格实验”

其他网站建议确保 -strict 实验性出现在我所做的 aac 参数之后立即无效。

【问题讨论】:

    标签: aac avconv


    【解决方案1】:

    -acodec aac-strict experimental 移动到命令行中最后一个-i 参数之后、输出文件名之前的某个位置。

    avconv 的参数被解析为 "avconv [input1 options] -i input1 [input2 options] -i input2 [output options] outputfile”,因此当您在第二个 -i 之前添加这些参数时,它们被解释为第二个输入的选项,而不是输出。

    【讨论】:

    • 让我改述一下:-strict experimental 应该在输出上,因为编码器是实验性的; aac 解码器不是,所以不要将它用于 aac 输入
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-01-03
    • 1970-01-01
    • 2017-03-18
    • 1970-01-01
    • 2014-09-10
    • 1970-01-01
    相关资源
    最近更新 更多