Page 1 of 1

Can I tell vlc which network interface must it listen to?

Posted: 09 Nov 2006 19:14
by aln
I have eth0 and eth1 on my computer, but the multicast stream I want to play is only present on eth1. It seems vlc listens to eth0. I've tried with bind address, in the hope it would know which interface must it listen to given the source address, but no way, Jose.

The commands I've tried are
vlc -vvvv udp:@239.255.1.1:7777
vlc -vvvv udp:172.32.2.10@239.255.1.1:7777

Any ideas?

Posted: 09 Nov 2006 21:55
by dionoea
I think that you basically need to change your routes.

Posted: 10 Nov 2006 09:47
by aln
Thanks, I'll try fiddling with that...

Posted: 16 Nov 2006 17:18
by aln
Well, it was easier than that... There is an option specifically for telling VLC on which interface must listen to multicast data:

Code: Select all

vlc -vvv --miface-addr=172.32.2.201 udp://@239.255.1.3:7777
Sometimes it's good to read the online help... :oops: