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

*nix specific usage questions
aln
Blank Cone
Blank Cone
Posts: 13
Joined: 05 Jan 2005 17:58

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

Postby aln » 09 Nov 2006 19:14

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?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 09 Nov 2006 21:55

I think that you basically need to change your routes.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

aln
Blank Cone
Blank Cone
Posts: 13
Joined: 05 Jan 2005 17:58

Postby aln » 10 Nov 2006 09:47

Thanks, I'll try fiddling with that...

aln
Blank Cone
Blank Cone
Posts: 13
Joined: 05 Jan 2005 17:58

Postby aln » 16 Nov 2006 17:18

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:


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 7 guests