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

Mark Moriarty mfmbusiness at earthlink.net
Wed Dec 29 23:46:35 CET 2004


Not sure, but things may be confused due to your address selection:
224.0.1.0 - 224.0.1.255  (224.0.1/24) Internetwork Control Block

For my own purely restricted segment work, I generally use 239.20.30.40, and
do a lot of successful multicast.  You might want to switch your address a
bit, try something up around 239.240.x.y:

 239.192.000.000-239.251.255.255 Organization-Local Scope   [Meyer,RFC2365]
 239.252.000.000-239.252.255.255 Site-Local Scope (reserved)[Meyer,RFC2365]
 239.253.000.000-239.253.255.255 Site-Local Scope (reserved)[Meyer,RFC2365]
 239.254.000.000-239.254.255.255 Site-Local Scope (reserved)[Meyer,RFC2365]
 239.255.000.000-239.255.255.255 Site-Local Scope           [Meyer,RFC2365] 

-----Original Message-----
From: vlc-devel-bounce at videolan.org [mailto:vlc-devel-bounce at videolan.org]
On Behalf Of Marius Kjeldahl
Sent: Wednesday, December 29, 2004 5:09 PM
To: vlc-devel at videolan.org
Subject: [vlc-devel] vlc streaming / udp multicast performance

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

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