Page 1 of 1

UDP Streaming on LAN (and which port number?)

Posted: 05 Jun 2011 19:34
by Mel_3
The Setup:
Sending PC ip = 192.168.1.101
Receiving PC ip = 192.168.1.104

Sending PC command Line:
vlc --vvv --loop video1.mp4 --sout udp:192.168.1.104 --ttl 12
Receiving PC command line:
vlc udp://:1234

But then using...
... Windows Task Manager to find VLC's PID (process id)
... netstat -ano to find port number being used by that process

I see that VLC is using another port number ??? not 1234

The Questions:
1 - Are my command lines correct for Sending & Receiving PC?
2 - Can I specify a port number for the Sending PC to use?
3 - Like this? vlc --vvv --loop video1.mp4 --sout udp:192.168.1.104:1234 --ttl 12
4 - I thought VLC used port 1234 by default for UDP? Correct? If not what?

I'm not using UDP right now but just want to make sure I understand how to do it.

Thanks for any help.

Re: UDP Streaming on LAN (and which port number?)

Posted: 06 Jun 2011 17:57
by VLC_help
3. Yes.
4. It should if you start streaming via GUI but I ain't sure about command-line.