[MPlayer-dev-eng] Revisiting: Support for playing MPEG-2 TS over RTP

Nico nsabbi at tiscali.it
Tue Feb 17 22:14:35 CET 2004


Ross Finlayson wrote:

> Back in July of last year, I added a hook in the LIVE.COM interface code
>         int demux_is_multiplexed_rtp_stream(demuxer_t* demuxer)
> to support the playing of MPEG Transport Streams (or MPEG Program 
> Streams) over RTP.  Such streams - unlike most other RTP streams - 
> consist of audio+video multiplexed together in a single RTP stream.  
> The LIVE.COM code receives such a stream OK, but the higher-level 
> MPlayer 'demux' code needs to recognize that this is a multiplexed 
> stream, and behave accordingly.  My function
>         int demux_is_multiplexed_rtp_stream(demuxer_t* demuxer)
> was intended to allow this.
>
> (Note also my message from last July 
> <http://mplayerhq.hu/pipermail/mplayer-dev-eng/2003-July/019859.html>.)
>
> It would be cool if someone familiar with the MPlayer 'demux' code 
> (libmpdemux/demuxer.c) could update it to check this function, and 
> behave accordingly if the stream is multiplexed.
>
>         Ross.
>
>
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>

In August I posted a tiny patch  to support *any* muxed stream in rtp, 
so why don't you apply it? :)
It doesn't mess with demuxer.c, because in IMHO every demuxer should be 
as unintrusive  as possible.
Here it is:
http://mplayerhq.hu/pipermail/mplayer-dev-eng/2003-August/020197.html




More information about the MPlayer-dev-eng mailing list