gpt4 book ai didi

ffmpeg - ss 和 t 的定位之间的结果差异?

转载 作者:行者123 更新时间:2023-12-04 23:14:57 24 4
gpt4 key购买 nike

和有什么区别

ffmpeg -y -ss 1 -i "test.MP4" -t 2 -c copy "test2.MP4"


ffmpeg -y -t 2 -i "test.MP4" -ss 1 -c copy "test2.MP4"


ffmpeg -y -ss 1 -t 2 -i "test.MP4" -c copy "test2.MP4"


ffmpeg -y -i "test.MP4" -ss 1 -t 2 -c copy "test2.MP4"

最佳答案

来自 https://ffmpeg.org/ffmpeg.html 上的文档:

-ss position (input/output)

When used as an input option (before -i), seeks in this input file to position. [...] When used as an output option (before an output url), decodes but discards input until the timestamps reach position.





-t duration (input/output)

When used as an input option (before -i), limit the duration of data read from the input file. When used as an output option (before an output url), stop writing the output after its duration reaches duration.

关于ffmpeg - ss 和 t 的定位之间的结果差异?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48197804/

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