2011-08-01 58 views

回答

32

使用-t选项来指定一个时间限制:

`-t duration' 
    Restrict the transcoded/captured video sequence to the duration specified in seconds. hh:mm:ss[.xxx] syntax is also supported. 

http://www.ffmpeg.org/ffmpeg.html

+0

我们如何可以设置输出持续时间一样长的输入,像规模possibilty与-1? – PeterCo

+1

注意:这需要放在命令中间的某处,如下所示:'ffmpeg -i input.mp3 -t 00:05:00 output.mp3' –

+0

如何计算持续时间取决于drawtext文本的宽度滚动? – manish1706

相关问题