[linux-dvb] relating PTS to 'real' time

Jon Burgess jburgess at uklinux.net
Fri Aug 26 23:29:13 CEST 2005


Stefan Magdalinski wrote:
> What I'm trying to do is break the stream into small chunks, and save 
> them mapped against 'wall clock time' - If the PTS and PCR don't carry a 
> reliable form of 'wall clock time', should I just make sure the PC's 
> clock is accurate and use that?

The DVB broadcast TS includes a date & time signal. See: 
http://cvs.sourceforge.net/viewcvs.py/dvbtools/dvbdate/

 From the readme...

dvbdate is a simple program to set the system clock from the Time and 
Date Table packets in a DTT stream... 'dvbdate' just looks at the TDT 
information from the currently tuned multiplex and sets the clock to UTC.


	Jon




More information about the linux-dvb mailing list