level 5
syklabs
楼主
-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 filename), stop writing the output after its duration reaches duration.
duration may be a number in seconds, or in hh:mm:ss[.xxx] form.
-to and -t are mutually exclusive and -t has priority.
-to position (output)
Stop writing the output at position. position may be a number in seconds, or in hh:mm:ss[.xxx] form.
-to and -t are mutually exclusive and -t has priority.
上面是-t和-to的官方文档的解释,,我没理解错的话,-to是指到指定位置停止写入,怎么我的做法ffmpeg -ss 00:05:19 -i asdf.mkv -to 00:06:49 2.mp3 出来的却是一个6分49秒的音频呢?他这样跟-t没区别了啊,应该是到视频的6分49秒就停止啊!!
2014年11月16日 16点11分
1
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 filename), stop writing the output after its duration reaches duration.
duration may be a number in seconds, or in hh:mm:ss[.xxx] form.
-to and -t are mutually exclusive and -t has priority.
-to position (output)
Stop writing the output at position. position may be a number in seconds, or in hh:mm:ss[.xxx] form.
-to and -t are mutually exclusive and -t has priority.
上面是-t和-to的官方文档的解释,,我没理解错的话,-to是指到指定位置停止写入,怎么我的做法ffmpeg -ss 00:05:19 -i asdf.mkv -to 00:06:49 2.mp3 出来的却是一个6分49秒的音频呢?他这样跟-t没区别了啊,应该是到视频的6分49秒就停止啊!!