[FFmpeg-user] Understanding the behavior of "-ss/-t" option

Nicolas George george at nsup.org
Fri Sep 8 10:50:39 EEST 2017

Le duodi 22 fructidor, an CCXXV, Nitish Prabhu a écrit :
> I tried to seek to a particular time in the generated stream using the
> following:
> $ ffmpeg -ss 60 -t 10 -i input_clip_x264_offset.mp4 -copyts -filter:v

"take seconds 60-70 of input_clip_x264_offset as input to produce
seconds 0-10 of the resulting stream"

> "select=between(t\,60.000\,70.000)"

"only keep frames between seconds 60 and 70"

Since [0;10[ \cup [60;70[ = \emptyset, the result you observe is


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20170908/0d34d011/attachment.sig>

More information about the ffmpeg-user mailing list