[FFmpeg-devel] [PATCH 2/4] concatdec: factorize duration calculating code to get_duration function
george at nsup.org
Mon Nov 9 18:53:48 CET 2015
Le nonidi 19 brumaire, an CCXXIV, Marton Balint a écrit :
> How do you know if it is reliable/authoritative? Is there a demuxer flag or
> something like that? Or you mean when the duration is explicitly set by the
> user or when inpoint and outpoint is both set, therefore the duration can be
That is what I call authoritative: even if the script does not hold the real
duration of the file, the script is considered right.
The duration is reliable when lavf has reached the end of the file and
computed the timestamps. In other words, when file->duration is set by the
current code, then it either authoritative or reliable.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the ffmpeg-devel