This question has been archived.

VLC CAN'T open UDP stream on UBUNTU 14.04

February 6, 2016 2.4k views
Linux Commands Miscellaneous Ubuntu


I have Ubuntu desktop 14.04 with two NIC, eth0 and eth1. One is just for internet and the other one is on local subnet where multicast UDP stream is coming.
Default route is on eth0, and multicast route is on eth1. UDP stream is coming on eth1 and I can see that is here with TCPDUMP on that interface but can't open it in VLC. In VLC log I can see that VLC can't open that port or what?
Can someone help me? Is that problem with some user rights or port is closed, or what?
The same stream I can play on other computer with windows. Here is VLC log:

main debug: processing request item: udp://, node: Playlist, skip: 0
main debug: resyncing on udp://
main debug: udp:// is at 9
main debug: starting playback of the new playlist item
main debug: resyncing on udp://
main debug: udp:// is at 9
main debug: creating new input thread
main debug: Creating an input for 'udp://'
main debug: using timeshift granularity of 50 MiB, in path '/tmp'
main debug: udp://@' gives accessudp' demux ' path@'
main debug: creating demux: access='udp' demux='' location='@' file='(null)'
main debug: looking for accessdemux module matching "udp": 20 candidates
main debug: no access
demux modules matched
main debug: creating access 'udp' location='@', path='(null)'
main debug: looking for access module matching "udp": 25 candidates
accessudp debug: opening server=:0 local=
main debug: net: opening datagram port 1002
main error: socket bind error (Permission denied)
udp error: cannot open socket
main debug: no access modules matched
main error: open of `udp://@' failed
main debug: dead input
main debug: changing item without a request (current 9/10)
main debug: nothing to play

here is ip route:

ip route
default via dev eth0 proto static dev eth0 proto kernel scope link src metric 1 dev eth1 proto kernel scope link src metric 1 via dev eth1

Be the first one to answer this question.