[vlc] Re: Can't play RTP

Sigmund Augdal sigmunau at stud.ntnu.no
Tue Mar 30 11:27:49 CEST 2004


On Fri, Oct 17, 2003 at 02:23:38PM +0200, Jean-Paul Saman wrote:
> Philippe De Neve wrote:
> 
> >Hi,
> > 
> >I've written a program to stream UDP/RTP video. The UDP pakkets are 
> >correctly played back, but the RTP doesnt seem to work. VLC doesnt 
> >respond when it receives these packets. I think that my program is 
> >working good cause ive analysed the output with Ethereal and the RTP 
> >packets are correct (Im using the JRTPLIB library). Is there anyone 
> >who had a similar problem with RTP or who knows the reason why VLC 
> >refuses to play RTP packets?
> > 
> >friendly regards, Philippe De Neve
> 
> VLC only supports MPEG-TS encapsulation in RTP. VLS uses 7 packets 
> inside an UDP packet, I guess VLC assumes this. So if your streamer does 
> 1 packet inside a UDP packet, VLC will not be able to play it. Could you 
> check this for your streamer?
VLC also supports raw mp3 in rtp, at least I have played this before. And if
you give it a sdp it will play most things in rtp. VLC assumes an integer
number of ts packets, and at most 7, but this could be adjusted with the
--mtu switch.

Sigmund

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list