Use VLC to build a simple Streaming Media Proxy Server

Source: Internet
Author: User

This time involvesRTSPAgent Problems, feelingsVLCIn this regardDemoIt is better. Here we will summarize it for my reference later.

Environment:Darwinstreamingserver 6.0.3 + VLC 2.0.3

My previous articleArticle(Http://www.cnblogs.com/MikeZhang/archive/2012/09/09/vlcStreamingServer20120909.html).VLCBuilding a simple Streaming Media ServerSample1.aviReplaceRTSPLink. In this article, onlyRSTP.

Interface Operation Method

Here we will mainly describe how to set up a server, so we will not describe the client. If you are not familiar with it, refer to my article:Http://www.cnblogs.com/MikeZhang/archive/2012/09/09/vlcStreamingServer20120909.html

1,Open "media --Enable network streaming (N)"Option ,:

2, InputRTSPLink and select "streaming ",:

3, Click "Next" in the pop-up interface to enter the following interface:

4Select a format (for exampleRTSP), Click "add", select the corresponding encoding file, and click "stream:

Command Line

The command line method is introduced here, mainly to operate in a batch test environment using scripts.

HypothesisDSSServerIPThe address is192.168.1.100, There are the followingRTSPLink:

RTSP: // 192.168.1.100/test.mp4

ThenVLCThe access is as follows:

VLC-vvv rtsp: // 192.168.1.100/test.mp4

If you wantRTSPIf the proxy server is used, the following call is required:

VLC-vvv rtsp: // 192.168.1.100/test.mp4-- Sout"# Transcode {vcodec = h264, VB = 0, scale = 0, acodec = mpga, AB = 128, channels = 2, samplerate = 44100}: RTP {SDP = rtsp: //: 8554/test }"

For exampleIPIs192.168.1.101And the above command is executed, the access on the client is as follows:

VLC-vvv rtsp: // 192.168.1.101: 8554/test

Okay, that's all. I hope it will help you.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.