How to set up a streaming media server

Source: Internet
Author: User

The so-called streaming media technology, refers to the continuous image and sound information is compressed processing and placed on the Web server, so that users can download while watching, listening (so-called "online Appreciation"), and do not need to wait for the entire compressed file to download to their own machine to enjoy the network transmission technology. Currently, the main competitors in this field are Microsoft, RealNetworks, Apple three companies, such as Microsoft recently released Windows Media Services 9, RealNetworks company recently released Helix Platform, Apple's newly released Darwin streaming Server 4.1 is intended to be a big game in streaming media.

In general, a complete streaming media services system requires three components: encoders, streaming servers, and players. Encoders encode content sources, such as MP3 files or microphone inputs, and send encoded content to a streaming server, and the streaming server publishes them to the Internet so that the client's player can play online as long as it is connected to a streaming server.

Using Winamp to erect MP3 Network radio station

When we were quietly admiring the wonderful MP3 music, have you ever considered MP3 music that was originally personal to be published through the network on the LAN, or even published over the internet? This will allow friends all over the world to share the MP3 music journey with you. In fact, to do this is not difficult, you just create the machine as a MP3 streaming media server, your favorite MP3 music playback, and then notify friends to visit your MP3 server on it.

Speaking of MP3 play, the most widely used is Winamp. For the field of MP3 streaming services, Winamp's developer Nullsoft, of course, will not give up, specifically publishing a streaming server Shoutcast server for MP3. While its features are not as powerful as Windows Media server and real server, it is not only very low on hardware requirements, but more critical is completely free to use with no worries. In addition you need to download a plug-in called Shoutcast DSP plug-in, only install this humble plug-in, Winamp to support streaming media services.

First Open Winamp (note that the version number must be above 2.22), switch to "Options" | "Preferences" | "Dsp/effect" tab, select the "Configure" button under "Nullsoft SHOUTcast Source DSP V1.8.2a[dsp_sc.dll]". Open the "SHOUTcast Source" window, select the "Output" tab, 1, and fill in the "Address" field with the IP address of the machine. If you want to broadcast MP3 music on the Internet, you must type the external IP address of the computer, and then you can run the Shoutcast DAAS (GUI) program from the program group to start the Shoutcast service. At this point the system will automatically connect to the server, then please return to the Figure 1 window click the "Connect" button. If the connection succeeds, the button changes to "disconnect" so that we complete the process of erecting the MP3 streaming server natively.

Set up a real-format video-on-demand Center

If you are setting up a video-on-demand server, then choosing the real format is very sensible. Because Realproducer Plus is a fairly simple operation, a wizard dialog box is displayed each time it is used. Currently the latest version is 10.0, we just choose 8.5.1 more than the version can be.

From the Tools menu, choose the Create Page command, which will pop up a 2 wizard-style dialog box, and click the Forward button to select the real multimedia file you want to use to create the Web page. Realproducer will then ask whether to create a "pop-up player" or an "embedded player", which is generally recommended because it requires less system resources and, of course, faster boot times. As for the player interface, you can select "Standard Player" and you will soon be able to create a success.

Finally, the RM file object's directory will add some files, upload the files with the RM object, but be careful that the RM file is in the same directory as the HTML file, or the player may not be able to find the playback object.

Set up a WMP streaming media server

Microsoft has a long hand and is in any field. With the impact of the Windows operating system, Windows Media Player is gaining in market share, and Microsoft's *.asf, *.wmv, *.wma, *.avi and other formats are becoming more and more acceptable to users.

To set up a WMP streaming server, you need to install Windows Media Encoder, currently the latest version is 9.0 Simplified Chinese version. 3, we should select "Broadcast live Event" Here, then select the audio and video device to encode. Note Make sure that the audio and video devices are properly connected to your computer beforehand, or you will not be able to detect them. Then you need to specify the service and publishing point, and of course you can use the existing publishing point. Then Windows Media Encoder will automatically create the server and give the HTTP connection address and LAN internal address, remember these, and finally click the "Start" button to formally launch the WMP streaming server.

Next, we can tell friends the HTTP connection address and local area network address that we just noted. They will soon be able to access the WMP streaming server by opening ie, entering the correct IP address and port number.

Setting up a QT streaming media server

In peacetime, most of what we see is to build MWF (vector map window files, map Windows file) or an RM streaming server, but do you know how the QuickTime (QT) streaming server should be built? In fact, with Apple's QuickTime Streaming Server tool, we can quickly build a QT streaming server in a short period of time.

First of all we have to prepare some tools, the QuickTime Media playback tool is of course essential. Currently the latest version is 6.5 Simplified Chinese version, can be found everywhere, or directly to the Apple website download, and need to be installed on both the server and the client. Perl language Parser, minimum version requirement is more than 5.0. QuickTime Streaming server was first met with users in 1999, when the foundation of the streaming media industry was deeply shaken by its open source and standards-based real-time transport protocol/real-time Streaming Protocol (RTP/RTSP) engine. Currently the latest version is 5.0, download file Total 9.2MB.

The address can be downloaded for free, but you must have an Apple registered user name to sign in (registration is free), and there are versions of Mac OS X, Red Hat, Solaris, Windows nt/2000/xp, and more to choose from. Download back is a self-extracting file, released after execution Install.bat run the installer, run the process in the Command Prompt window to complete, and finally need to set the login username, password, 4, when you see "Setup complete!" The prompt message is done. The QT streaming server construction process is similar to RM and is not mentioned here.

How to share audio and video

Share Audio

Earlier, we used Winamp, SHOUTcast server to set up the machine as a MP3 streaming server, then how to let all over the far apart friends or local area network colleagues to enjoy these wonderful music?

There are two ways to do this: Open the Winamp, choose the location command from the Play menu, or simply type "ctrl-l" to open a dialog box, and then type the URL address or IP address, port number (default 8000) of the MP3 streaming server. For example "" or "" to listen, the other way is more simple, from IE open "" into the Web Management page, 5, and then click on the "Listen" button to listen to MP3 stream music online.

Share video

While the market share of Apple's QuickTime player is far less than real or Windows Media Player, there are still many loyal users. And Apple, after all, is the pedigree of web streaming, so many of the latest blockbusters are in QT format.

You first have to start the QT service on the machine and then notify your friends to open QuickTime on the remote computer. From the File menu, select the open URL in new play Window command, and type "Rtsp://server/file.mov" to access the QT streaming server for remote playback. Here the "server" is the IP address of the server, "File.mov" is the media file name, the default RTSP transport port is 554 port. If there is no problem with the network connection, 6, then you will soon be able to connect successfully.

Create a playlist or on-demand system

Worked hard to set up a streaming media server, we can also build playlists or on-demand system, or even live webcast, anyway, has been used in broadband, not to be wasted.

Configuring the QT Streaming Media server

Open IE, enter "" in the Address bar, where "server" represents the IP address of the server. If there is no problem with the previous configuration, it will soon go to the admin page shown in 7, which shows the current system resource usage and related server information in a list. Here we can see the type of user connected to the server, IP address, data rate, transmission volume, packet loss ratio, connection time, connection files and other content, you can also set the mapping folder here, encrypted transmission, maximum number of connected users, allocate bandwidth, reset password, change port, if you need, You can also view the error log and the action log.

Create playlists

By clicking on the "New MP3 Playlist" or "New movie Playlist" button on the right side of the Figure 7 window, we can create a playlist of MP3 or movies. However, it is necessary to note that you need to copy the relevant media files to the C:\Program Files\darwin streaming server\movies folder.

As shown in 8, we can re-adjust the playlist playing order by the small triangle arrow next to "Weight", but the QuickTime streaming server support for Simplified Chinese is very poor, it shows some garbled characters. Finally, click the "Save Changes" button in the bottom right corner of the window to save the new playlist, and then choose "Edit Playlist" to reconfigure it if you need to change it later.

However, if you want other users to be able to access the playlist file, you must also click the Play button under "status" in the "Avaliable Playlists" list box, which means that the "Stopped" of the Status column changes to "Playing".

Enable Webcast

If you still want to say a word after playing the MP3 song, it's simple, just a microphone. However, there are a few settings that you need to make in Winamp, as shown in 9, by selecting the Soundcard input item in the input Device drop-down list box so that the Soundcard mixer settings item in the diagram appears. If you use the default setting "Winamp (Recommended)", then only input levels one, the following there are "Music level", "Bgmusic level", "Mic level" several sliders to adjust the volume size, and " Fade time "is used to set

The time value is offset.

Now, you don't need to make any other settings, get ready, clear your throat, click the "Push to talk" button, and then press the "lock" button to lock the current voice input mode. You can then start your webcast tour to the microphone, and by the end please press the "lock" button again to unlock it.

How to set up a streaming media server

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.