Building Video Server

  
in Win2003 With the increasing use of Internet and Intranet applications, video on demand is gradually being applied to broadband networks and local area networks. People are no longer satisfied with browsing texts and pictures, and more and more people prefer to watch movies and listen to music online. The implementation of video on demand and audio on demand functions must rely on streaming service technology. For now, there are only two of the most popular streaming media on demand servers, namely Windows Media Services and Real Server. Below we mainly discuss how to set up a video on demand server in the Windows 2003 Server environment. As we all know, Windows Media services use streaming media to transfer data. Files in the usual format must be completely downloaded to the local hard drive before they can be opened and run normally. Since multimedia files are usually large, it takes a long time to completely download to the local. The streaming media format file only needs to download a part locally, and then play it while downloading. Windows Media Services supports video files in ASF and WMV formats, as well as audio files in WMA and MP3 formats.

First, install

Windows Media services
Windows Media Services is one of the components Although Windows Server 2003 system, but does not automatically installed by default, Instead, users need to add it manually. In the Windows Server 2003 operating system, in addition to the Windows Component Wizard, you can use the "Configure Your Server Wizard" to install Windows Media Services.

(1) in the just-installed Windows Server 2003 Caozuoxitong and into Windows, the system will automatically run the "Manage Your Server" window. Click the Add or Remove Roles hyperlink to display the Configure Your Server Wizard dialog.

(2) the dialog box, click the "Next" button, the computer will begin automatically detect all devices, Caozuojitong and detects all the network settings. After the detection is complete, the Configuration Options dialog box will appear, select the Custom Configuration option to customize the network services you need to install. //This article from the application of computer hardware and software network www.45it.com reproduced, please indicate

(3) Click the "Next" button, the "server role" dialog box "server role" list All the servers that can be installed are listed in the box. Installation and uninstallation of most services in the system can be selected in this dialog.

(4) Select the "Streaming Media Server" option in the list box, and then click the "Next" button, the "Select Summary" dialog box will be displayed to view and confirm the selected option.

(5) Click the “Next” button, the “Configure Component” dialog box will be displayed, and the Windows Server 2003 installation CD will be inserted into the CD-ROM drive as prompted. After

(6) into the CD-ROM, click "OK" button, the system will start copying files from the CD and install Windows Media Services, and with the progress bar represents the current progress of the installation.

(7) After installation is complete dialog box is displayed, which said it had successfully set up this server as a streaming media server.

(8) Click the "Finish" button to close the wizard and return to the "Manage Your Server" window, which will show that the streaming media server has been successfully installed.

In addition, Windows Media Services can also be in the "Control Panel", the traditional "Add /Remove Programs" way to add installation. In the "Windows Components Wizard" dialog box, select the Windows Media Services check box and insert the Windows installation CD as prompted to complete the installation.

When the Windows Media service is installed, you will be returned to the "Manage Your Server" window. Click the Manage this streaming media server hyperlink to the right of Streaming Media Server, or click Start -> Control Panel -> Administrative Tools -> Windows Media The Services option will display the Windows Media Services window. All administrative work on Windows Media services can be done in this window.

the window describes some basic knowledge about streaming media, as beginners understand it. In the Getting Started tab, click on an option in the basics on the left to display an explanation of the item on the right.

Second, the production stream file


Web services can be used to publish HTML files, and video-on-demand service can be used to release natural stream media files. With Windows Media Encoder, files with file extensions .wma, .wmv, .asf, .avi, .wav, .mpg, .mp3, .bmp, and .jpg can be converted to stream files used by Windows Media services. The .asf, .wma, and .wmv file extensions represent the standard Windows Media file format. The .asf file extension is typically used for Microsoft Media-based content created with Windows Media Tools 4.0. The .wma and .wmv file extensions were introduced as standard naming conventions for Windows Media Encoders to allow users to easily distinguish between pure audio (.wma) files and video (.wmv) files. These three extensions can be used. Exchange use.

1, install Windows Media Encoder

Windows Server 2003 does not own Windows Media Encoder, Microsoft needs to the official website to download the Windows Media Encoder Simplified Chinese version, and then Perform the installation process. It should be noted that the encoder can be installed on a Windows Media server or on another computer. That is, the encoder only needs to be installed on a computer that performs the encoding (ie, the conversion file format).

(1) double-click the downloaded file to install Windows Media Encoder, the Setup Wizard dialog box displays, shows the components can be installed in the installation wizard.

(2) Click the "Next" button, the "License Agreement" dialog box will be displayed, asking the user to read the End User License Agreement, whether the user can accept the terms of the license agreement, and then click "I" Accept the terms in the license agreement.

(3) Click the “Next” button after the selection, the “Install Folder” dialog box will be displayed, and the location where the Windows Media Encoder will be installed will be displayed in the “Installation Folder” text box. Of course, you can also type in other installation paths. Click the Browse button to select a different installation path.

(4) Click the "Next" button to display the "Ready to Install" dialog and the representation now ready to install the Windows Media Services.

(5) Click the "Install" button, the installation files will start copying files to the hard disk, and Windows Media Services installed. After the installation is complete, the Installation Complete dialog box will appear, indicating that the Windows Media Encoder 9 Series Installation Wizard has been successfully completed.

(6) Click "Finish" button to complete the installation and restart the computer system prompts.

Click "Start" -> "Programs" -> Windows Media-> "Windows Media Encoder" option, will run Windows Media Encoder, and display "Windows Media Encoder" window.

2, converting file formats

convert the file format standard description should be "to store information source coding", in fact, is saved on the hard disk or CD-ROM multimedia files into Windows Media The streaming file format that the service can use. This file format conversion process is called encoding. Windows Media Encoder can encode multimedia files in MPG and AVI format to WMV format.

(1) Click "Start" -> "All Programs" -> "Windows Media" -> "Windows Media Encoder" option, the "New Session" dialog box will be displayed. Select the "Convert File" icon to prepare to convert the video file.

(2) Click the "OK" button, the "New Session Wizard" window will be displayed. Type the folder and file name where you want to convert the file directly in the Source File text box, or click the Browse button to find the file you want to convert. By default, the output file is saved in the same folder as the source file. Of course, you can also reassign the saved folder.

(3) Click the "Next" button, the "Content Distribution" dialog will be displayed to specify how the content will be distributed. Since the program is made for the Windows Media service, you should choose the "Windows Media Server (Streaming)" option here.

(4) Click the "Next" button, the "Encoding Options" dialog box will appear, where you can specify the audio and video encoding. If the video file is only used for LAN or broadband transmission, you can select high quality video and audio and specify a higher frame rate for clear images and realistic sound. Of course, the network bandwidth occupied at this time is also high, and the file storage space is also large. Each time a bit rate is selected, a corresponding WMV file is generated, so usually only one bit rate is selected.

(5) Click the "Next" button, the "message" box, you can type information about each of the video file in the appropriate text boxes.

(6) Click the “Next” button, the “Setup Check” dialog box will be displayed, where you can display and check the information about the video file. If there are any errors, you can click the Back button to return to the relevant page to re-do the relevant settings.

(7) Click "Finish" button, the system will start converting file formats. This may take a while and you have to wait patiently. After format conversion

(8) file is completed, the "coding result" dialog box, click "Close" button to end the format conversion process. To continue to convert the next video file, click on the "New Session" button. To check the video file you just converted, click the Play Output File button.

. 3, for encoding the live

of live information source encoding operation, the coding operation is performed by means other audio or video input device audio, video or picture source information, to The process of converting them to stream or stream files. The process of encoding a live source is particularly similar to the encoding process for a stored information source.

(1) After starting the Windows Media Encoder, in the "Wizard" tab on the "New Session" dialog box, select the "Capture Audio or Video" icon, and then click the "OK" button to Run the New Session Wizard window. The Device Options dialog is displayed first, showing the video and audio devices available to the user.

(2) Click the "Next" button, the "Output File" dialog box, because the file you want to create a save, save path need to type in the "File name" text box, and from Define a file name, of course, you can also click the "Browse" button to select the folder where the file is saved.

(3) Click the "Next" button, the "Content Distribution" dialog box will be displayed, and the distribution method that can be used is listed in the "How do I distribute the content" list box. Streaming, so you should select the "Windows Media Server" option here.

(4) Click the "Next" button, the "Encoding Options" dialog will be displayed. The selected distribution is shown here. The encoding settings of the mode, including video, audio and bit rate, etc. If the user does not want to use these default settings, they can also be modified.

(5) Click the 'Finish' button, 'Open Windows Media Code "Encoder", you can also click the "Next" button, the "Show Information" dialog box will be displayed. Here you can add display information for the encoded file, this information will be played in Windows Media Player, and only exists to start You can see it only when you are subtitles.

(6)When you click the “Finish” button, the Windows Media Encoder will open and encode directly.
Copyright © Windows knowledge All Rights Reserved