Open Network Stream selecting network interface

*nix specific usage questions
kjrobinson08
New Cone
New Cone
Posts: 1
Joined: 08 Jun 2012 17:52

Open Network Stream selecting network interface

Postby kjrobinson08 » 08 Jun 2012 18:11

I have my laptop's wired ethernet connected directly to a video server play out a UDP multi-cast of 224.1.1.1 on port 8000. when I use vlc to view the stream I get an "cannot pre fill buffer". Wireshark has no problems seeing the stream so my source is ok.

I believe VLC is looking for the multi-cast on my wireless, when I disable it the following commands occur:
Your input can't be opened:
VLC is unable to open the MRL 'udp://@224.1.1.1:8000'

So I do I tell VLC to look for the multi-cast on my wired connection? I have tried the following commands(w/ and w/o the quotes) everytime I get "cannot pre fill buffer":
vlc udp://224.1.1.1:8000 --miface="eth0"
vlc udp://224.1.1.1:8000 --miface="192.168.0.199"
vlc udp://@224.1.1.1:8000 --miface="eth0"

I have also tried the following commands(w/ and w/o the quotes) everytime I get "invalid multicast interface: 192.168.0.199" error:
vlc udp://@224.1.1.1:8000 --miface="192.168.0.199"

I have no luck with using the GUI.
VLC media player 2.0.1 Twoflower (revision 2.0.1-0-gf432547) on Ubuntu 12.04 LTS

What is the correct command?

I have no problems when I use Windows 7 and the VLC GUI to view the same multi-cast off of the same video server.

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Open Network Stream selecting network interface

Postby Rémi Denis-Courmont » 08 Jun 2012 19:56

--miface=eth0 is correct. But make sure the protocol and port numbers are correct.

If it still fails, then check your local firewall settings. Some distributions block all inbound traffic by default.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

benou
New Cone
New Cone
Posts: 4
Joined: 14 May 2012 16:59

Re: Open Network Stream selecting network interface

Postby benou » 15 Jun 2012 11:06

Hi,

Did you solve your problem ? I'm facing the same error with same version of VLC (2.0.1). However if using 1.0.6 (Goldeneye) the udp stream can be read without any problem.

drc
New Cone
New Cone
Posts: 1
Joined: 15 Nov 2012 16:49

Re: Open Network Stream selecting network interface

Postby drc » 15 Nov 2012 16:50

Hi,

Same issue here

if I open the stream with TSreader and run "vlc udp://@239.24.8.11:1234 --miface=10.27.7.2" is working if i close TSreader the stream is gone.

jdwiegman
New Cone
New Cone
Posts: 8
Joined: 29 May 2013 20:11

Re: Open Network Stream selecting network interface

Postby jdwiegman » 29 May 2013 20:32

Anyone have any luck with this? Its happening on my system too (Ubuntu VMware). My Windows host can pull it fine, and I am getting the stream in Wireshark.

grayfox
New Cone
New Cone
Posts: 1
Joined: 11 Jul 2013 20:31

Re: Open Network Stream selecting network interface

Postby grayfox » 11 Jul 2013 20:40

Been struggling with this problem for quite some time now, but a trick I found on another thread solved my issue: Simply add a route within your system to force traffic to go out on the proper interface (eth0/192.168.1.1) in my case:
//windows
route add 239.0.0.0 mask 255.0.0.0 192.168.1.1
//linux?
route add -net 239.0.0.0/8 dev eth0

By using wirehshark with igmp filter it is easy to check on which interface the igmp join traffic request is going out. If you see the join going on the correct iface but if you still do not receive your stream, it means there is another issue...

jdwiegman
New Cone
New Cone
Posts: 8
Joined: 29 May 2013 20:11

Re: Open Network Stream selecting network interface

Postby jdwiegman » 21 Nov 2013 02:28

I have this working by adding the multicast route: route add -net 224.0.0.0/4 dev eth0 (or whatever interface you want multicast on)


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

Who is online

Users browsing this forum: No registered users and 15 guests