[FFmpeg-user] Difference Between -t and -to Options?

Stefano Sabatini stefasab at gmail.com
Sat Sep 21 23:12:04 CEST 2013


On date Saturday 2013-09-21 15:16:54 -0400, Sam Logan wrote:
> What is the difference between the -t and -to options? The
> documentation at http://ffmpeg.org/ffmpeg-all.html#Description says
> 
> > -t duration (output)
> > 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.
> 

> But as far as I can tell from reading the above, those two definitions
> mean the same thing.

Not if the file doesn't start with 0 (or if -ss is used).

[...]
-- 
FFmpeg = Furious and Faithless Meaningless Practical Exploitable Gadget


More information about the ffmpeg-user mailing list