[Live-devel] MPEG2TransportStream time/position info

Ross Finlayson finlayson at live555.com
Mon Feb 11 20:22:15 PST 2008


>I would like to know how I can use the PresentationTime and
>PacketDurationEstimate to compute the time info from the start
>of the stream. The intent is determine the time lapsed since the
>stream started playing.

This information is obtained from PCR timestamps that appear in the 
MPEG Transport Data itself.  It is also present in the Presentation 
Times that are carried by RTP, but most receiving ciients, when 
decoding Transport Stream data, will use the PCR timestamps instead.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list