gpt4 book ai didi

filter - ffmpeg 将黑色插入视频头/尾

转载 作者:行者123 更新时间:2023-12-04 23:20:53 28 4
gpt4 key购买 nike

我试图执行标题的问题。ffmpeg -i "${in}" -vf tpad=5,start_duration=5,color=black -af adelay=5s,all=1 "${out}"控制台错误:

Only '-vf tpad=5,start_duration=5,color=black' read, ignoring remaining -vf options: Use ',' to separate filters
Only '-af adelay=5s,all=1' read, ignoring remaining -af options: Use ',' to separate filters


No such filter: 'all'
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:1
Conversion failed!
我很难理解这个遗产。
提前致谢。

最佳答案

在将 ffmpeg 命令集成到脚本之前,请务必对其进行测试。使用逗号 (,) 而不是冒号 (:)。利用:

ffmpeg -i "${in}" -vf "tpad=5:start_duration=5:color=black" -af "adelay=5s:all=1" "${out}"

关于filter - ffmpeg 将黑色插入视频头/尾,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66634329/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com