[FFmpeg-user] Understanding the behavior of "-ss/-t" option
gyandoshi at gmail.com
Fri Sep 8 08:43:37 EEST 2017
On Fri, Sep 8, 2017 at 10:38 AM, Nitish Prabhu <nitishsprabhu at gmail.com>
> Does FFmpeg apply the option "-ss/-t" based on container time stamp
> information, or is it based on bit stream timing information?
Thus, I wanted to understand how seeking works under the hood in FFmpeg.
You'll want to use the seek_timestamp option.
As it says in the docs,
This option enables or disables seeking by timestamp in input files with
the -ss option. It is disabled by default. If enabled, the argument to the
-ss option is considered an actual timestamp, and is not offset by the
start time of the file. This matters only for files which do not start from
timestamp 0, such as transport streams."
More information about the ffmpeg-user