Streaming media Live system _win server built with Windows Media Service

Source: Internet
Author: User
Tags anonymous

Tomorrow will continue to share Microsoft Next generation streaming Media solutions IIS Live Smooth streaming (real-time smooth streaming processing)

Let's get down to business.

Streaming media is the media format that is played on the internet by means of streaming transmission. and the need to download the entire video file to see the traditional way compared to the streaming media technology is through the special compression of video files into a small packet, by the video server to the user computer continuous, real-time transmission, users do not need to complete the entire video file download before viewing, Just a short buffer to watch this part of the downloaded video file, the rest of the file will continue to download. Common Streaming media file formats are Mov. asf. 3gp. Viv. swf. Rt. Rp. Ra. Rm.

Windows Media Service (WMS) is Microsoft's platform for publishing digital media content on corporate intranets and on the Internet, and through WMS, users can easily frame media servers, Realize streaming media video and audio on-demand playback functions. The new generation of multimedia content publishing platform WMS 2008 can be installed in 32-bit and 64-bit web, standard, Enterprise, and Datacenter versions of Windows Server 2008 R2. WMS 2008 's application environment is very extensive, in the enterprise internal application environment, can realize on-demand video training, course release, broadcast and so on. In commercial applications, can be used to publish movie trailers, news entertainment, dynamic insertion of ads, audio and video services.

I'll go into combat, install WMS 2008 in Windows Server 2008 R2, build a streaming media server, and live video.

Solution Layout Diagram:

WMS 2008 is not integrated into the Windows Server 2008 R2 system, but is a stand-alone plug-in that can be downloaded free of charge via the Microsoft Official website.

First, installation

1. Download and install Microsoft Update Standalone Package (MSU)

Download Address:

Http://www.microsoft.com/downloads/zh-cn/details.aspx?FamilyID=B2CDB043-D611-41C9-91B7-CDDF6E5FDF6B

After the successful download, click on the file installation can be

2. Add streaming Media server role

Open the 2008 Server Manager, right-click "Role" in the left pane, select "Add Role", open the Role Add Wizard

Select Streaming media server in the server Management role and next

Select the Windows Media Server, web-based Administration Tools, and log agent capabilities. If you choose to install the Web-mode administration tool, you need to install the IIS components. Next

Tick real Time Streaming Protocol (RTSP), Next

The Hypertext Transfer Protocol (HTTP) cannot be selected because of a conflict with the IIS port, which can change port settings later, resolve conflicts

Click "Install"

When the installation is complete, click "Close"

Second, the configuration

1, server-side configuration

Click "Start"-"Windows Media service" to open the Media service console

In the left-hand navigation bar, click and expand the publishing point

Right-click the "Example _ Broadcast" Publishing point, select "Rename"

Note: In this step you can also right-click the publishing point and select Add Publishing Point (Wizard) to create a new publishing point.

Rename the publishing point to live and click OK

Select Live publishing point and switch to the Source tab

Click "Change Button", modify the publishing point to transfer the content type of "encoder (push)", and in the position (L) input "push:*", (indicating that all the content of the push collection points), click "OK"

An error warning appears here: The release point can only be started by the encoder at the acquisition point and cannot be started by the server administrator. Click "OK" to complete the publishing point setup.

Click on the Windows Media server WMS01 in the left pane, in the right pane, switch to the Properties tab, in the Left category window, click "Authorize", right plugin window, and double-click "WMS Publishing Point ACL Authorization"

In the WMS Publishing Point ACL Authorization Properties dialog box, click Add Wmus Anonymous user who adds Windows Media Server

Give Wmus anonymous user, read, write, create permissions.

Then in the click Control protocol, the right side of the window double-click the WMS HTTP Server Control Protocol

Change port to any other port, such as 1450

Right-click and select Enable

2, Video Collection Computer Configuration

Install Expression Enconder 4.0

Download Address:

Http://www.microsoft.com/expression/try-it/Default.aspx

Expression Encoder is an upgraded version of Windows Media Encoder, Expression Enconder 4.0 is available for free download, but some features require a paid version of Expression Enconder 4.0 Pro, such as the smooth streaming media of IIS.

After the download is complete, extract the files first, and prompt for the required. NET4 support, download installation according to prompts

Start installing Expression Enconder 4.0, accept the license agreement

We use the Expression Enconder 4.0 function, this time skip the input product key, click Next

After successful installation, click Finish

Start Expression Enconder 4.0, select Live Broadcast Project

Open the Expression Enconder 4.0 Working window, first click on the middle preview to add a live source

Select a live source video device and audio device in the live source pane on the left

In the Right preset pane, select the System encoding type, switch the middle section to the Output tab, tick "streaming", select "Publishing Point", and enter Http://servername:portnumber/publishingport in the location, such as: http:// 192.168.1.105:1450/live, then click Connect

Switch to the Encoding tab, video and audio customization settings, when finished, click on the middle of the start button, that is, start the real-time broadcast, after the broadcast after the shutdown can be clicked.

3, the client real-time watch live

When the live broadcast begins, users can watch the show in two ways

Enter http://servername/publishingport.htm in IE browser, use Windows Medis player embedded in IE browser to watch

such as: http://192.168.1.105/live.htm

Another is to click Start – Run the input mms://servername/publishingport and open the local Windows Medis player player to watch.

such as: mms://192.168.1.105/live

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.