[vlc] Re: How RTP timestamps are used by VLC

Sigmund Augdal sigmunau at stud.ntnu.no
Tue Feb 1 13:58:28 CET 2005


On Tue, Feb 01, 2005 at 01:35:13PM +0100, Christophe Massiot wrote:
> At 21:10 +1100 1/02/05, Dennis Darcy & Kristy Suters wrote:
> 
> >How does VLC use rtp timestamps to present the mpeg-2 ts data to be 
> >decoded?
> 
> VLC doesn't use the RTP timestamps, so you must be mistaken. See 
> modules/access/udp.c if you don't believe me.
VLC can also read ts in rtp through the livedotcom module. This is much less
stable and can probably cause the problems described. You should try to make
vlc not use the livedotcom module for ts streams.

> 
> >What I've notice is that when the rtp timestamp is set continuously 
> >to zero, vlc is happy.
> >But when rtp timestamps contain valid timing information based on a 
> >32-bit 90kHz counter, vlc is not happy.
> >Also I tried setting the upper 16-bits of the rtp timestamp to zero, 
> >vlc was also happy with this.
> >
> >I also used Ethereal to verify that the rtp packet format was 
> >correct and to check the difference of two packets was correct,
> >hence the rtp timestamp difference was 49 (49 * 1/90k = 540us), for 
> >a transport stream @ ~19Mbps a rtp packet was rx every 540us .
> >
> >I'm using vlc 0.8.1 on windows 2000.
> >
> >I would be grateful for any insight on how VLC uses RTP timestamps 
> >before the a/v decoder.
> 

Sigmund Augdal

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list