问题描述
带有大尺寸 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 中的解决方法