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_PTS

< Duration accurately estimated from PTSes

AVFMT_DURATION_FROM_STREAM

< Duration estimated from a stream with a known duration

AVFMT_DURATION_FROM_BITRATE

< Duration estimated from bitrate (less accurate)

Meta