[vlc-devel] Re: vlc streaming / udp multicast performance

Benjamin PRACHT bigben+spam at videolan.org
Thu Dec 30 09:31:52 CET 2004


On Wed, Dec 29, 2004, Marius Kjeldahl wrote :
> I've done some testing using vlc for streaming a local file over my 
> network using the --sout parameter from the command line. If I stream 
> "point to point" over udp with the following setup:
> 
> Server: vlc --sout udp:192.168.0.10:1234 somefile.mpg
> Client: vlc udp:192.168.0.10:1234
> 
> the client displays the video just fine. However as soon as I try to use 
> multicast with the following setup:
> 
> Server: vlc --sout udp:224.0.1.1:1234 somefile.mpg
> Client: vlc udp:224.0.1.1:1234
> 
> the client only gets a fraction of the packets/bandwidth, and very 
> little of the video and sounds gets through. Although I'm pretty new to 
> this multicast stuff, I believe I set up the multicast more or less 
> correctly on linux, using:
> 
> $ ip route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
> 
> To try to rule out possible mistakes at my end, I've tested this across 
> a couple of different machines in my network and across linux and 
> windows. Even when I stream from windows to another linux machine, I get 
> the same behavour with multicast (very poor performance, seems packet 
> loss is big).
> 

Well, considering the fact unicast is working well, this is certainly a network
related issue. Not all switches behave well with multicast packets
(However, any one built within the past few years should). Multcast also
works pretty badly over WLAN.

-- 
BigBen

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list