[MPlayer-dev-eng] Receiving data RTP/MP2T over UDP
jacob
jacob83 at gmail.com
Tue Nov 14 10:27:06 CET 2006
Sorry I made a mistake, the traffic is rtsp:// not rtp://. The video
is a mpeg2 using mpeg-ts to transport it. VLC can handle it with no
problems. I call mplayer like this.
mplayer -v -v -v rtsp://ip:port/video.mpg
Some of the errors (in live555) that I detect are:
MultiFramedRTPSource::doGetNextFrame1(): The total received frame size
exceeds the client's buffer size (148). 1128 bytes of trailing data
will be dropped!
MPEG2TransportStreamFramer.cpp[162]: WARNING: Missing sync byte!
if I make
nc -l -p port -u | mplayer -
this is played ok!, I know that is difficult to help me but I will be
very happy to know where I can begin to work to solve te problem.
PD: Is the first time that I try to help in an open source
development, sorry for my lack of experience and my english.
On 11/13/06, Nico Sabbi <nsabbi at email.it> wrote:
> jacob wrote:
>
> > I need to adapt mplayer to RTP/MP2T, for RTP I use the live555
> > libraries but i have no idea how to make mplayer to detect that the
> > traffic received is mpeg2-ts.
>
>
> rtp:// already works as you need. Notice that it doesn't use live555
> and it's not the same stream as rtsp://
>
> >
> > -demuxer flag doesn't work for this purpose because it needs to call
> > two demuxers, first demux_rtp and then demux_ts.
>
>
> indeed it can't work
>
> >
> > The RTP negotation works well, mplayer open the socket but doesn't use
> > the demux_ts demuxer. If a take the UDP traffic and send it directly
> > to mplayer it detects that the traffic is mpeg2-ts and reproduce it (i
> > make this with netcat and the - flag).
> >
> > Where can I begin to change source code?, I think that would be in
> > libmpdemux/demuxer.c but I'm not sure.
> >
> in theory you don't need to change anything: the code to detect and open
> the TS demuxer from rtsp and rtp streams was added (and tested) years ago.
> Give us more informations about how you are sending and how you
> are receiving the stream, please
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>
More information about the MPlayer-dev-eng
mailing list