[MPlayer-dev-eng] Re: How to synchronize audio/video RTP streams?

Ross Finlayson finlayson at live.com
Wed Sep 25 21:34:09 CEST 2002


> > My question, then, is: How best can the rest of mplayer use this
> > information to properly synchronize audio and video?  I.e., can mplayer's
> > existing audio/video synchronization mechanism make use of the timestamp
> > information that's available for each 'demux_packet', and if so,
> > how?  (There's no obvious field in a "demux_packet_t" for
> > timestamp/synchronization information.)
>
>there IS.
>
>the 'pts' field of demux_packet is teh presentation timestamp, in seconds,
>float value. set it for each packet, and set it to 0 if you don't have
>timestamp.

A'rpi - you rule!

My next message will be a patch to make time synchronization work on RTP 
streams.

         Ross.




More information about the MPlayer-dev-eng mailing list