[FFmpeg-user] Difference Between -t and -to Options?
Paul B Mahol
onemda at gmail.com
Sun Sep 22 01:49:51 CEST 2013
On 9/21/13, Sam Logan <shapableline at gmail.com> wrote:
> On 9/21/13, Paul B Mahol <onemda at gmail.com> wrote:
>>> So what situation is there in which -t and -to would ever be different?
>> When you do not use -copy.
> No, that makes no difference. I just tested with
> ffmpeg -ss 00:00:30 -i "Input.mp4" -t 00:01:00 "Output1.mkv"
> ffmpeg -ss 00:00:30 -i "Input.mp4" -to 00:01:00 "Output2.mkv"
You said 'ever'. And than take one made up example to prove that point.
> And the produced files are still identical.
> On 9/21/13, Stefano Sabatini <stefasab at gmail.com> wrote:
>> Not if the file doesn't start with 0 (or if -ss is used).
> My original test DID use -ss, and the output files were identical. I
> just tested without -ss:
> ffmpeg -i "Input.mp4" -t 00:01:00 "Output1.mkv"
> ffmpeg -i "Input.mp4" -to 00:01:00 "Output2.mkv"
> And the output files are still identical.
> You're probably right, though, about files that don't start with 0. So
> I guess the only time there's ever going to be a difference between -t
> and -to is for badly-encoded video files that don't start at time 0?
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
More information about the ffmpeg-user