specifying which port to stream to

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
the4runner
Blank Cone
Blank Cone
Posts: 10
Joined: 02 Apr 2004 17:38
Location: US

specifying which port to stream to

Postby the4runner » 04 Apr 2004 00:55

Hi,

Is is possible to specify which port the VLC should send stream output to?

What I want to do is to read an mp4 file and stream it to a specific udp port .

Also, does this use sockets to send to that port?

Would appreciate any insight into this.

the4runner
Blank Cone
Blank Cone
Posts: 10
Joined: 02 Apr 2004 17:38
Location: US

Re: specifying which port to stream to

Postby the4runner » 04 Apr 2004 01:17

I tried streaming using VLC and was also able to specify the port and stuff.

What I really need to know now is whether the udp streaming uses sockets, because in my project I want to be able to sniff at that port and send it along to different players through my overlay network. ( without having to have direct unicasts between the vlcs on different machines.

Is this possible?
Could any one briefly explain to me how the udp streaming works?

I've installed vlc 0.7.1 on RH 9.0

markfm
Big Cone-huna
Big Cone-huna
Posts: 1536
Joined: 22 Feb 2004 17:42

Postby markfm » 04 Apr 2004 01:18

Yes, you can control the port.
In the GUI, Streaming Wizard, the "1234" you see in Step 2 is the port.
From the command line, it's similar. For instance:
:sout=#duplicate{dst=std{access=udp,mux=ts,url=192.168.10.20:4567}}
is a UDP stream to IP address 192.168.10.20, port 4567.

Streaming Wizard is handy -- look at the display box at the top of Step 1 and Step 2, to see how to construct a command line, if you want it.

For me, Windows, a command line is:
"c:\vlc\vlc.exe" the_stuff_at_the_top_of_Step1 the_stuff_at_the_top_of_Step2

You can experiment, try streaming a Webcam vs sending a file, to see how the "Step 1" part of the command line varies. Likewise, in Step 2 you can play with the different methods, try transcoding at different rates, using different mechanisms, and copy the stuff displayed at the top of the Step 2 window.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 38 guests