[FFmpeg-user] -t option is ignored

dE . de.techno at gmail.com
Tue Mar 27 05:38:25 CEST 2012

On 03/26/12 20:00, Tim Nicholson wrote:
> On 26/03/12 14:58, Rodney Baker wrote:
>> On Mon, 26 Mar 2012 21:31:44 Martin G wrote:
>>> FFMPEG users,
>>> I am trying to edit a subclip from a larger movie. I just want a two
>>> minute section.
>>> This is the command I have been working with:
>>> ffmpeg -i input.avi -ss 01:05:16 -t 120 -vcodec copy -acodec copy
>>> output.avi
>> In my experience it is faster to put -ss and -t options before -i, otherwise
>> ffmpeg parses the whole file up to -ss before starting conversion. With -ss
>> first, it begins reading at that point (or the closest i-frame or reference
>> frame).
> faster, yes, but sometimes less accurate.....
>> Unless, of course, the behaviour has changed in recent versions but I have
>> developed the habit of always putting the seek and duration options first.
>> [...]

Ok, now I see why did that happen. Thanks for the tip.

More information about the ffmpeg-user mailing list