[FFmpeg-devel] About guess_correct_pts / AVFrame.best_effort_timestamp

Måns Rullgård mans
Wed Feb 16 17:28:38 CET 2011


Nicolas George <nicolas.george at normalesup.org> writes:

> L'octidi 28 pluvi?se, an CCXIX, M?ns Rullg?rd a ?crit?:
>> ??? = frame.pkt_pts
>
> AV_NOPTS_VALUE if the input format is AVI. This is not acceptable. Please
> try again.

AVI doesn't have timestamps, so the first decoded frame has PTS 0, and
the following ones increment it by 1/framerate.  Simple.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list