[mythtv] [mythtv-commits] Ticket #4621: dropped frames in MPEG4 AVC (H.264) streams due to non monotone dts

Mark Spieth mark at digivation.com.au
Mon Feb 11 22:26:30 UTC 2008

> (In [15910]) assure strictly monotonic increasing video pts
> For some/all h.264 streams our libav* copies report broken dts.
> Since we used the dts as video pts, non monotone dts causes
> playback issues resulting in dropped frames.
> This change calculates the next video pts if it detects
> non monotonicity. Refs #4621


does this also cater for mpeg2 pts/dts wrapping at 26.5h? 
otherwise it could cause problems for mpeg1/2.


More information about the mythtv-dev mailing list