View Single Post
Old 30th June 2009, 15:53   #6  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by extra View Post
But if we stick to the spec of MPEG2 program stream, the last few packets should be displayed at the very beginning of the program, causing duplicate timestamps... I must be missing something, like a new time reference...
I suppose you are missing the SCR, which is the timebase of the stream.

Don't forget that the timestamps (SCR, PTS, DTS) are a finite size in bits, so they can wrap back to zero in normal operation.
Guest is offline   Reply With Quote