Streaming Media System Guide Server Architecture Knows

  

The so-called streaming media technology means that continuous video and audio information is compressed and placed on the web server, allowing users to watch and listen while downloading (so-called " Online viewing & rdquo;), without the need to wait until the entire compressed file is downloaded to your own machine to enjoy the network transmission technology. At present, competitors in this field mainly include Microsoft, RealNetworks, and Apple. For example, Microsoft recently released Windows Media Services 9, RealNetworks' newly released Helix Platform, and Apple's newly released Darwin streaming server 4.1, which is intended to be streaming media. The field is going to be a big one. In general, a complete streaming service system requires three components: an encoder, a streaming server, and a player. The encoder encodes the content source (such as MP3 files or microphone input) and sends the encoded content to the streaming server; the streaming server then publishes them to the Internet, so that the client's player can connect to the streaming server. Played online. Using Winamp to set up MP3 internet radio stations
When we are quietly enjoying the wonderful MP3 music, have you ever thought about releasing these original personal MP3 music on the LAN through the network, even through Internet publishing? This will allow friends all over the world to share the MP3 music journey with you. In fact, it is not difficult to do this. You just need to create this machine as an MP3 streaming server, keep playing your favorite MP3 music, and then inform your friends to visit your MP3 server. . Speaking of MP3 playback, the most widely used is Winamp. For the field of MP3 streaming services, Winamp developer Nullsoft will certainly not give up, specifically released the stream server SHOUTcast Server for MP3. Although its function is not as powerful as Windows Media Server and Real Server, it not only requires hardware. Very low, more critical is completely free, no worries in use. In addition, you need to download a plugin called SHOUTcast DSP Plug-in. Only when this inconspicuous plugin is installed, Winamp can support streaming services. First open Winamp (please note that the version number must be above 2.22), switch to the "Options" “Preferences” “DSP/Effect” tab, select “Nullsoft SHOUTcast Source DSP v1.8.2a[dsp_sc.dll]&rdquo ; under the "Configure" button. Open the “SHOUTcast Source” window and select the “Output” tab. As shown in Figure 1, fill in the IP address of the machine in the “Address” column. If you want to broadcast MP3 music on the Internet, you must type the external IP address of the machine, and then you can run the SHOUTcast DAAS (GUI) program from the program group to start the SHOUTcast service. At this time, the system will automatically connect to the http://yp.shoutcast.com server, then return to the window of Figure 1 and click the “Connect” button. If the connection is successful, the button will change to "disconnect", so we have completed the entire process of setting up the MP3 streaming server in this rack. Set up a video on demand center in REAL format
If you are setting up a video on demand server, it is wise to choose the Real format. Because the powerful software of RealProducer Plus is quite simple to operate, a wizard dialog box pops up every time you use it. The latest version is currently 10.0, we only need to choose version 8.5.1 or higher. Select the “Create Web Page” command from the “Tools” menu. A wizard dialog box like the one shown in Figure 2 will pop up. Click the “Forward” button to select the Real you want to use to create the web page. Multimedia files. RealProducer then asks if it is creating a “pop-up player” or “embedded player”. It is generally recommended to choose the latter because it requires less system resources and of course faster startup. As for the player's interface, you can choose "“standard player", and you can create it quickly. Finally, the directory where the RM file object is located will add some files. Please upload these files together with the RM object, but be careful to ensure that the RM file is in the same directory as the HTML file, otherwise the player may not be able to find the playback object. Set up a WMP streaming server
Microsoft's hand stretches out for a long time, and everything needs to be inserted. With the influence of the Windows operating system, the market share of Windows Media Player is getting higher and higher, and Microsoft's *.asf, *.wmv, *.wma, *.avi and other formats are beginning to be used by more and more users. accept. To set up a WMP streaming server, you need to install Windows Media Encoder. The latest version is 9.0 simplified Chinese. As shown in Figure 3, we should select "Broadcast Live Event" here, and then select the audio and video equipment used for encoding. Note Please connect the audio and video equipment to your computer correctly beforehand, otherwise it will not be detected. Then you also need to specify the service and publishing point, of course, you can also use the existing publishing point. Then Windows Media Encoder will automatically create the server and give the HTTP connection address and the internal address of the LAN. Please remember these contents, and finally click the "Start” button to officially start the WMP streaming server. Next, we can tell the friends the HTTP connection address and the internal LAN address that we just recorded. They just need to open IE, enter the correct IP address and port number, and they will be able to access the WMP streaming server very quickly. Set up QT streaming media server
Usually, most of the things we see are built MWF (Map Window File) or RM streaming server, but you can know that QuickTime (hereinafter referred to as QT) streaming server should How to build it? In fact, with Apple's QuickTime Streaming Server tool, we can quickly build a QT streaming server in a short time. First we have to prepare some tools, and the QuickTime media player is of course essential. The latest version is 6.5 Simplified Chinese version, which can be found everywhere, or downloaded directly from Apple's website, and needs to be installed at both the server and the client. The Perl language parser requires a minimum version of 5.0 or higher. QuickTime Streaming Server met with users as early as 1999, when its open source and standards-based real-time transport protocol/Real-Time Streaming Protocol (RTP/RTSP) engine deeply shaken the foundation of the streaming media industry, the latest version It is 5.0 and the download file is 9.2MB. It can be downloaded free of charge from http://developer.apple.com/darwin/projects/streaming/, but you must have Apple's registered username to log in (registration is free), here Available in Mac OS X, Red Hat, Solaris, Windows NT/2000/XP and more. Downloaded is a self-extracting file. After release, execute Install.bat to run the installer. The running process is completed in the command prompt window. Finally, you need to set the login user name and password, as shown in Figure 4, when you see “ The Setup Complete!” prompt message is complete. The QT streaming media server construction process is similar to RM and will not be described here.

Copyright © Windows knowledge All Rights Reserved