AVDurationEstimationMethod

The duration of a video can be estimated through various ways, and this enum can be used to know how the duration was estimated.

Values

ValueMeaning
AVFMT_DURATION_FROM_PTS0

< Duration accurately estimated from PTSes

AVFMT_DURATION_FROM_STREAM1

< Duration estimated from a stream with a known duration

AVFMT_DURATION_FROM_BITRATE2

< Duration estimated from bitrate (less accurate)

Meta