21
9
This is how ffmpeg describes it:
‘-ss position (input/output)’
When used as an input option (before -i), seeks in this input file to position. When used as an output option (before an output filename), decodes but discards input until the timestamps reach position. This is slower, but more accurate.
position may be either in seconds or in hh:mm:ss[.xxx] form.
‘-itsoffset offset (input)’
Set the input time offset in seconds. [-]hh:mm:ss[.xxx] syntax is also supported. The offset is added to the timestamps of the input files. Specifying a positive offset means that the corresponding streams are delayed by offset seconds.
So, what is the difference between the two when both are used as input options? Are they same when -ss is used as input option?
1good answer but please note that
-shortestwill affect both-ssand-itsoffset– minusf – 2019-07-22T13:58:17.527So, when set to a positive offset the output at 5seconds after the blank output corresponds to the first frame of the input? Is any input discarded or only blank potions inserted? – d33pika – 2013-01-18T03:39:49.600
Ad 1) Yes. Ad 2)
-ss 5doesn't discard. Still would be more appropriate for videos. The first frame is visible during the first five seconds, then the video gets played as usual. Note that this only affects the video streams! – Dennis – 2013-01-18T03:43:57.567Sorry, I did not get the second part of the comment: -ss 5 discards first 5 seconds of the input right? as mentioned in the first example of your answer so when does the first frame get displayed for 5 seconds? I understand this is only for videos. – d33pika – 2013-01-18T03:51:40.203
1Yes, sorry. I meant
-itsoffset 5doesn't discard... – Dennis – 2013-01-18T03:52:45.490