[vlc-devel] vlc streaming / udp multicast performance

Marius Kjeldahl marius at kjeldahl.net
Wed Dec 29 23:08:53 CET 2004


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).

Does anybody know if these issues are related to vlc itself, or should I 
keep looking elsewhere?

Thanks,

Marius K.

-- 
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