[Live-devel] using mplayer with live to stream Real Time MPEG4 ES Video Stream.

Saumya Chandra saumya at ece.ucsd.edu
Sun Nov 21 19:50:05 PST 2004

hi Ross,

I am using latest release of mplayer MPlayer-20041107 and there
libmpdemux/RTPSource.cpp is not there in the mplayer source code.


On Sun, 21 Nov 2004, Ross Finlayson wrote:

> >AFAIK, in the live.com implementation rtp timestamps are independant of
> >the timestamps in the mpeg stream, introduced by the encoder. And mplayer
> >does not use these timeStamps except for A/V sync. Can you confirm my
> >assumptions?
> Yes, that's correct.
> >I am trying to make changes in the live.com code for the same
> Because you want to do something that's application-specific (for MPlayer),
> I don't think you'll need to modify the LIVE.COM code at all.  Instead,
> just modify your copy of "libmpdemux/RTPSource.hh" (in the MPlayer source
> code).  Note that the "RTPSource::curPacketRTPSeqNum()" function will tell
> you the RTP sequence number of the last-received RTP packet (so you can
> detect whether there was packet loss).
> >But one serious flaw in this implementation would be if mplayer does use
> >the timestamp values as in the encoded mpeg4ES video stream - and also
> >from the fact that encoded frame is replicated. So there will be large
> >errors if a P frame is dropped and replicated with the previous _encoded_
> >P frame. In that case can you suggest how can I go about changing the
> >mplayer implementation so that it would output the previous decoded frame
> >(and not just display it for longer duration). Can some one let me know if
> >there is some patch available to do so?
> You'll need to ask the MPlayer people about this.
> 	Ross Finlayson
> 	<http://www.live.com/>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live.com
> http://lists.live.com/mailman/listinfo/live-devel

More information about the live-devel mailing list