Stef, There is no process relating PCR /PTS to real time (assuming by real time you mean GMT or UTC etc) PCR values wrap at an interval greater than 24 hours. There is rarely any relationship between the PCR value and 'wall clock time'. The PTS relates to the PCR - that is the PTS is the presentation time stamp for the content it is embedded in (video, audio or subtitles). When the PCR value in the stream matches the PTS, the content should be presented (i.e. the video frame should be visible, audio heard, or subtitle displayed). Hope this helps... regards John Birch Senior Software Engineer, Screen Subtitling Systems The Old Rectory, Church Lane Claydon, Ipswich, Suffolk IP6 OEQ www.screen.subtitling.com See us at IBC Amsterdam 9th-13th September Stand No. 1.441 This message is intended only for the use of the person(s) ("the Intended Recipient") to whom it is addressed. It may contain information which is privileged and confidential within the meaning of the applicable law. Accordingly any dissemination, distribution, copying or other use of this message or any of its content by any person other than the Intended Recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are not the Intended Recipient please destroy this email and contact the sender as soon as possible. In messages of non-business nature, the views and opinions expressed are the author's own and do not necessarily reflect the views and opinions of the Screen Subtitling Systems Limited. Whilst all efforts are made to safeguard Inbound and Outbound emails, we cannot guarantee that attachments are Virus-free or compatible with your systems and do not accept any liability in respect of viruses or computer problems experienced. -----Original Message----- From: linux-dvb-bounces@xxxxxxxxxxx [mailto:linux-dvb-bounces@xxxxxxxxxxx]On Behalf Of Stefan Magdalinski Sent: 23 August 2005 13:28 To: linux-dvb@xxxxxxxxxxx Subject: Re: [linux-dvb] relating PTS to 'real' time Robert Schlabbach wrote: > From: <public@xxxxxxxxxxxxxx> > >>When grabbing channels from a dvb-t transport stream and demuxing, the >>presentation timestamps seem to be offset from physical time. E.g. for >>BBC One on freeview in the UK, it seems to be about 4.5 hours. > > > MPEG-2 PTS/DTS do _not_ refer to any real time clock, but rather to the > clock provided through the PCR. > That's what I figured. If I were to rephrase my question, what is the process for matching timestamp data from the streams to real time? > >>How does this work? I've googled all over the place, but can't find an >>explanation. > > > You need to read ISO/IEC 13818-1 or ITU-T H.222.0. The latter can be > downloaded for free if you register for three free standards downloads (per > year) at www.itu.org. I have read it, but not found it hugely edifiying. I'm not being lazy, just thick. stef > > Regards, > -- > Robert Schlabbach > e-mail: robert_s@xxxxxxx > Berlin, Germany > > > _______________________________________________ > > linux-dvb@xxxxxxxxxxx > http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb _______________________________________________ linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20050823/23d625c2/attachment.htm