[FFmpeg-devel] [PATCH 7/9] fftools/ffmpeg_dec: disregard demuxer timestamps for NOTIMESTAMPS formats

Anton Khirnov anton at khirnov.net
Mon Oct 2 11:59:09 EEST 2023


Quoting Andreas Rheinhardt (2023-10-01 15:18:30)
> Anton Khirnov:
> > In this case any timestamps are guessed by compute_pkt_fields() in
> > libavformat. Since we are decoding the stream, we have more accurate
> > information from the decoder and do not need any guesses.
> > 
> > Eliminates spurious PTS gaps in a number of FATE tests.
> > 
> > Also avoids dropping the majority of frames in fate-dirac*
> 
> Why did that happen?

lavf generated timestamps that were consecutive integers with a timebase
of 1/1200000

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list