微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

FFMPEG:延迟参数的最大大小

如何解决FFMPEG:延迟参数的最大大小

带有大尺寸 adelay 参数的命令会引发错误

Delay must be non negative number.
Failed to configure input pad on Parsed_adelay_1
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:1

命令是:

ffmpeg -y -i input.mp4 -filter_complex "[0:a]adelay=55555555:all=1[a0];[a0]amix=inputs=1[a]" -map [a] out.mp3

这个怎么解决adelay 参数的最大大小是多少?

解决方法

这是一个限制。见https://trac.ffmpeg.org/ticket/9196

它已于 2021 年 4 月 25 日修复,因此您需要稍后进行 git build。或者您可以使用工单注释 #3 中的解决方法

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。