[vlc] Re: Question of running vlc (Win32 ver) on system with multiple NIC

Christophe Massiot massiot at via.ecp.fr
Fri Feb 28 11:22:03 CET 2003


On Thu, Feb 27, 2003, Gildas Bazin wrote:

> > I am running vlc (WIn32 version) on a system with 2 NIC's. How do I tell 
> vlc which NIC card to use? Does something like this would work?
> > 
> > 1) To let vlc plays video streaming on NIC#1 (ip = 192.168.192.2)
> > from command line type: 
> > vlc udp:@192.168.192.2:1234
> > 
> > 1) To let vlc plays video streaming on NIC#2 (ip = 192.168.195.110)
> > from command line type: 
> > vlc udp:@192.168.195.110:1234
> > 
> > Note that the vls server unicast video on UPD port 1234.
> > 
> 
> If you are trying to play a unicast stream, then you don't need to indicate 
> vlc which card to use. VLC will just listen on both cards, so should work 
> perfectly well just by typing "vlc udp:"

The problem is that you will get both streams mixed up.

> The syntax you are using above tells vlc to connect to the multicast stream 
> at address 192.168.192.x. This address isn't a multicast address so vlc 
> will give an error.

No it tells VLC to bind to the specified address instead of binding to
INADDR_ANY. If the specified address is a multicast address, it also
issues the required IGMP request. But AFAIK his syntax is correct, and
will allow only those packets who are sent in unicast to the specified
IP to be decoded.

> Now if you want to play a multicast stream, on windows you need to tell vlc 
> which card to use (when you have several). You can do so by using the 
> option "--iface-address ip_address_nic"

That's true.

-- 
Christophe Massiot.
-- 
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