9
R&S® ROMES VLC Streaming Application HOW TO Refers to R&S® ROMES coverage measurement software Order-No. 1117.6885.04

VLC Video Streaming HOW To

Embed Size (px)

Citation preview

Page 1: VLC Video Streaming HOW To

R&S® ROMES VLC Streaming Application HOW TO

Refers to R&S® ROMES coverage measurement software Order-No. 1117.6885.04

Page 2: VLC Video Streaming HOW To

CONTENTS 1 Definition ........................................................................................................................... 3 2 Streaming Solution............................................................................................................. 3 3 How To Stream with VLC ................................................................................................. 3

3.1 RTP / Unicast Stream................................................................................................. 3 3.2 RTP / Multicast Stream .............................................................................................. 6 3.3 HTTP Stream.............................................................................................................. 7 3.4 VoD (Video on Demand) / RTSP Stream .................................................................. 7

Page 3: VLC Video Streaming HOW To

ROMES VLC Streaming Application HOW TO 29.07.2008

page 3 of 9

1 Definition The VLC (Video LAN Client) program is used in order to generate a stream which can be transmitted over one of the following protocols: RTP/Unicast, RTP/Multicast, HTTP or RTSP.

2 Streaming Solution The following depicts a typical Streaming solution:

3 How To Stream with VLC

3.1 RTP / Unicast Stream

• Open the VLC program. • Open the Wizard dialog under the File menu.

Page 4: VLC Video Streaming HOW To

ROMES VLC Streaming Application HOW TO 29.07.2008

page 4 of 9

• Select “Stream to Network” and then click on Next.

• Choose the file you want to stream to. Click Ok and then on Next.

Page 5: VLC Video Streaming HOW To

ROMES VLC Streaming Application HOW TO 29.07.2008

page 5 of 9

• Select the streaming method. In this case “RTP Unicast”. Stream to a single computer.

• Enter the address of the computer to stream to. i.e. Client Address and click Next. Client's IP address (in the 0.0.0.0 - 223.255.255.255 range).

• Define a TTL(Time To Live) value. This sets the numbers of routers your stream can go through, for UDP unicast and multicast access methods. If you do not know what this means, you should leave the default value.

Page 6: VLC Video Streaming HOW To

ROMES VLC Streaming Application HOW TO 29.07.2008

page 6 of 9

• Click on Finish and the stream will start being transmitted.

3.2 RTP / Multicast Stream

• Open the VLC program. • Open the Wizard dialog under the File menu. • Select “Stream to Network” and then click on Next. • Choose the file you want to stream to. Click Ok and then on Next. • Select the streaming method. In this case “RTP Multicast”. Stream to multiple

computers using Multicast. • Enter the multicast address to stream to. Multicast group (in the 224.0.0.0 to

239.255.255.255 range). • Define a TTL(Time To Live) value. This sets the numbers of routers your stream can

go through, for UDP unicast and multicast access methods. If you do not know what this means, you should leave the default value.

• Click on Finish and the stream will start being transmitted.

Page 7: VLC Video Streaming HOW To

ROMES VLC Streaming Application HOW TO 29.07.2008

page 7 of 9

3.3 HTTP Stream

• Open the VLC program. • Open the Wizard dialog under the File menu. • Select “Stream to Network” and then click on Next. • Choose the file you want to stream to. Click Ok and then on Next. • Select the streaming method. In this case “HTTP”. Stream by using HTTP protocol. • If you leave the Destination text box empty, VLC will listen on all the network

interfaces of the server on port 8080. Otherwise specify an address and port you want to listen to. Click then on Next.

• Choose an encapsulation method. MPEG-TS by default. Click on Next. • Define a TTL(Time To Live) value. This sets the numbers of routers your stream can

go through, for UDP unicast and multicast access methods. If you do not know what this means, you should leave the default value.

• Click on Finish and the stream will start being transmitted.

3.4 VoD (Video on Demand) / RTSP Stream

• Open a windows console.

• Under the VLC installation path insert the following command:

� vlc.exe --ttl [x] -vvv --color -I http --rtsp-host [ipAddress:port] � For example:

The command above enables the Http Interface in order to configure the VoD stream. In this example the server will transmit the VoD stream on the port number 5555.

Page 8: VLC Video Streaming HOW To

ROMES VLC Streaming Application HOW TO 29.07.2008

page 8 of 9

• Open a browser and set the following url: http://ipAddress:8080/vlm.html

For example:

• Now click on “Video on Demand”. • Enter a Name for the stream and then click on the “Send” button. If it does not accept

the command, please check that the firewall is not blocking the action. For example:

Page 9: VLC Video Streaming HOW To

ROMES VLC Streaming Application HOW TO 29.07.2008

page 9 of 9

• Now under the “Video on Demand Elements” sub-section select an input by clicking on the “Edit” button.

• Once you have selected the input file to be streamed, click on “Add input”. • Finally, click on the “Enable” button under the Video on Demand Elements sub-

section. • To verify that the VoD stream server has been well configured, you could run a

“netstat –an” in the command line and check that the machine is listening on the specified port number.