Windows Media Technologies

Download Report

Transcript Windows Media Technologies

Windows Media
Technologies
CIS454 GROUP 5
Wen tsyi Lee
Feng Jiang
Gene Li
David Lisberg
Modules










Introduction
The Windows Media Encoder
Encoding Techniques
The Windows Media Server
Server Security Issues
Logging and Server Performance Information
Windows Media Performance Tool
Windows Media Load Simulator
Multicasting
Load Balancing
Introduction


Windows Media Technologies is an innovative
digital media platform that provides end users
with unmatched audio and video quality.
Windows Media Technologies also provides the
emerging streaming media industry with the tools
to develop powerful applications, to create highquality multimedia content, and to reliably
distribute their content.
Features of Windows Media





Highest quality audio
Fast video encoding
Windows Media On-Demand Producer
Intelligent Streaming
Scalable to Full Screen
Features of Windows Media (Continue)





Advanced Compression Technologies
Easy Internet Radio Distribution
Integrated with other Microsoft Products
Digital Rights Management
Microsoft® PowerPoint® 2000 Presentation
Broadcasting
Windows Media Components

Microsoft® Windows Media™ Tools




Microsoft® Windows Media™ Services


Windows Multimedia formats WAV & AVE, Apple QuickTime
format, Internet music format MP3, Advanced Streaming
Format (ASF)
Windows Media™ Encode
Windows Media™ Author
Microsoft® Windows NT™ Server
Microsoft® Windows Media™ Player
Windows Media Services




Windows Media Unicast service
Windows Media Station service
Windows Media Program service
Windows Media Monitor service
Windows Media Player





Play audio and video in most popular formats
Read and perform commands scripted in an .asx
(ASF Stream Redirector) file
Receive script commands, markers, and
metadata, such as clip title, author, and copyright
Render Windows Media broadcasts and ondemand content for viewing live news updates
on the Internet
Play movie clips and music videos on a Web site
Windows Media Rights Manager




Packaging
Distribution
License acquisition
Piracy and security
The Microsoft Media Service
Protocol




Windows Media Technologies uses an
application –level protocol called Microsoft
Media Server (MMS)
UDP (User Datagram Protocol)
 Connectionless, transport-layer protocol, ideal
for real-time media
TCP (Transmission Control Protocol)
 Dominant Internet transport-layer protocol,
firewall problem
HTTP (Hypertext Transfer Protocol)
 Application-layer protocol, not designed for
streaming media, but has no firewall problem
The Windows Media Encoder

Window Media Encoder compresses
digitized media files that can be AVI,
MP3, WAV format, and converts them to
the ASF format used by Windows Media
Player.
Computer Hardware
Configurations



Selecting a CPU
 At least Pentium II
 Recommended for Pentium III
Adding Memory
 64 megabytes if optimal for encoding
 How to make sure the system isn’t paging to
disk
 How to check available memory and add
Memory\Available Bytes Counter
Adding Disk Drives
 Can be bottleneck for encoding rate
 SCSI – encoding speeds of 300 to 500 Kbps
 Consider RAID Level 0 disk arrays for faster
rates
Computer Hardware
Configurations – Con’t


Selecting an Operating System
 Windows Media Encoder can run on both
Windows 2000 Professional and Windows
2000 Server
 Professional is recommended
Selecting a Video Capture Card
 Consult the “Windows Media Hardware
Providers” Web Page
 http://www.microsoft.com/Windows/windows
media/



Selecting a Sound Card
Consult the Windows Hardware Compatibility
List for Sound Card
http://www.microsoft.com/hcl/default.asp
Encoding Techniques



Encoding Multiple Audio Streams
 Example: encoding different radio stations to
be broadcast online
 CPU - Pentium III
 Sound Card - single slot with multiple ports
Encoding Multi-Bandwidth Video Streams
 Multi-Data rate Encoding
 Intelligent Transmission
 Video Playback Enhancement Filter
Automated Encoding
 Means the encoder starts automatically when
the system boots and someone logs one
 How to create shortcut
Performance Tuning the Server
•Disabling extraneous services
•Minimizing memory
•Setting registry keys
•Using the latest NIC driver
Disabling Extraneous Services
•License logging
•Print spooler
•Microsoft Internet Information Service
-
If IIS must run on same machine, disable
content indexer and FTP service
•In general, shut down all services not needed
Setting Registry Keys
•MaxConnectionPerSecondKey
Default is 25
For high-end server it should be 75-100
•MaxUserPort
Uppermost port for outbound connections
Values are between 1024 and 5000
Typical setting is OxFFFE
Using Latest NIC Drivers
•Significant increases can be seen from
updating to current drivers
Authentication with Unicast
Transmissions
•Anonymous (default)
•Basic authentication
Anonymous Authentication
•Default account name is Netshow Services
•Access can be denied to specific files by
denying access to Netshow Services
Basic Authentication
•Client is prompted for a plain text user name
and password
Windows Media Rights Manager
•Songs, videos, and other media are delivered
encrypted
•End users need a separate license to decrypt
Logging and Server Performance
Information
•The Windows Media Administrator Log Files
•The Windows Media Performance Tool
•The Windows Media Load Simulator
Windows Media Administrator Logs
•Logs information about events and about clients
connected to unicast publishing points
•Log shows client’s ID, IP address, port number, status, and
name of file being streamed
•Disabled by default
Source: <http://www.microsoft.com/WINDOWS2000/library/operations/streamingmedia/wmtbest.asp>
Windows Media Performance Tool
•Part of Windows 2000 administrative tools
•Includes counters relevant to streaming media
•Late Reads counter is very important-if value is not
zero, disk response is deteriorating
Source: <http://www.microsoft.com/WINDOWS2000/library/operations/streamingmedia/wmtbest.asp>
Windows Media Load Simulator
• Included in Windows 2000 resource kit
• Runs on a client machine and test the capacity of the media
server by simulating a large number of requests for
streaming media
• Can automatically alert administrators to performance
deterioration
Source: <http://www.microsoft.com/WINDOWS2000/library/operations/streamingmedia/wmtbest.asp>
Multicasting


Is a one-to-many form of
transmission that sends data to a
group of users.
Save network bandwidth
Defining a Station



.nsc file
Configuration file containing all the
information, such as IP address
and port number, that is necessary
for joining a multicast transmission.
Distribution of the .nsc file is
controlled by administrator, stops
unauthorized users form listening
to a transmission.
Configuring a Multicast Station


Use QuickStart Wizard
Create a new station
Source: <http://www.microsoft.com/WINDOWS2000/library/operations/streamingmedia/wmtbest.asp>
Specify a program and
Stream Name
Source: <http://www.microsoft.com/WINDOWS2000/library/operations/streamingmedia/wmtbest.asp>
Specify a Source for the Stream
Object
Source: <http://www.microsoft.com/WINDOWS2000/library/operations/streamingmedia/wmtbest.asp>
Specify a Source URL for the Stream
Object
Source: <http://www.microsoft.com/WINDOWS2000/library/operations/streamingmedia/wmtbest.asp>
Specify Stream Format
Information
Source: <http://www.microsoft.com/WINDOWS2000/library/operations/streamingmedia/wmtbest.asp>
Specify Path for .nsc file
Source: <http://www.microsoft.com/WINDOWS2000/library/operations/streamingmedia/wmtbest.asp>
Station information file URL
Source: <http://www.microsoft.com/WINDOWS2000/library/operations/streamingmedia/wmtbest.asp>
Select Publishing method
Source: <http://www.microsoft.com/WINDOWS2000/library/operations/streamingmedia/wmtbest.asp>
Ready to Publish
Source: <http://www.microsoft.com/WINDOWS2000/library/operations/streamingmedia/wmtbest.asp>
Troubleshooting Multicast
Transmissions





Checking the files
Checking Statistics
Keeping Track of IGMP Versions
Isolating the Problem
The Network Monitor
Checking the Files



.asf and .nsc files are accessible,
with no errors.
.asf files must be specified
Use Windows Media Administrator,
Export, to configure .asf and .nsc
files
Check Statistics



Protocal
Packets Rocovered
Packets Lost
Source: <http://www.microsoft.com/WINDOWS2000/library/operations/streamingmedia/wmtbest.asp>
Keeping Track of IGMP
Versions
Operating System
Version of IGMP
Windows 95
Version 1
Windows NT® 4.0 with SP3 or earlier
Version 1
Windows 98
Version 2
Windows NT 4.0 with SP4 or SP5
Version 2
Windows 2000
Version 2
Isolating the Problem
Source: <http://www.microsoft.com/WINDOWS2000/library/operations/streamingmedia/wmtbest.asp>
The Network Monitor



Available with System
Management Server
Allows user to look a packets on
the Network
Capture filters
Source: <http://www.microsoft.com/WINDOWS2000/library/operations/streamingmedia/wmtbest.asp>
Summary


Microsoft Windows Media™ Technologies is
distributed as part of the Microsoft Windows
2000 operating system. It allows you to create,
distribute, and play streaming media files.
This presentation has demonstrated why
someone would want to use Windows Media
Server and how Windows Media Server can be
implemented.
References




http://www.microsoft.com/WINDOWS2000/library/operations/strea
mingmedia/wmtbest.asp
http://msdn.microsoft.com/workshop/imedia/windowsmedia/serve
r/admin.asp
http://www.602pro.com/lite/support/mediaplayer.html
http://www.inktomi.com/new/press/windows.html