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

Måns Rullgård mru at mru.ath.cx
Wed Dec 29 23:54:25 CET 2004


Marius Kjeldahl <marius at kjeldahl.net> writes:

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

Are you by any chance using a wireless LAN?  Multicast and WLANs do
not always play well, and may need special tuning of the access points
to work at all.

The obvious question: have you tried other clients and/or other
servers?

-- 
Måns Rullgård
mru at mru.ath.cx

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