1057082125.doc

1,395 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,395
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

1057082125.doc

  1. 1. Windows Media Encoder
  2. 2. Legal Notice Information in this document, including URL and other Internet Web site references, is subject to change without notice. Unless otherwise noted, the example companies, organizations, products, people and events depicted herein are fictitious and no association with any real company, organization, product, person or event is intended or should be inferred. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation. Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property. © 2000-2001 Microsoft Corporation. All rights reserved. Microsoft, MS-DOS, Windows, Windows Media, Windows NT, ActiveSync, ActiveX, Direct3D, DirectDraw, DirectInput, DirectMusic, DirectPlay, DirectShow, DirectSound, DirectX, FrontPage, JScript, Microsoft Press, MSN, NetShow, Outlook, PowerPoint, SQL Server, Visual Basic, Visual C++, Visual InterDev, Visual J++, Visual Studio, WebTV, Win32, and Win32s are either registered trademarks or trademarks of Microsoft Corporation in the U.S.A. and/or other countries. The names of actual companies and products mentioned herein may be the trademarks of their respective owners. -2-
  3. 3. Table of Contents Windows Media Encoder.....................................................................................................................1 Legal Notice..........................................................................................................................................2 Table of Contents.................................................................................................................................3 Windows Media Encoder.....................................................................................................................1 New features.................................................................................................................................................2 Hardware and software requirements...........................................................................................................3 Supported formats.........................................................................................................................................3 Understanding streaming media concepts.....................................................................................................4 Understanding the differences between a Windows Media server and a Web server.............................4 Understanding intelligent streaming and multiple-bit-rate video............................................................5 Understanding sources and source groups...............................................................................................5 Understanding looping.......................................................................................................................6 Understanding codecs..............................................................................................................................6 Understanding profiles.............................................................................................................................7 Creating the best audio and video stream.................................................................................................9 Creating and improving video..........................................................................................................10 Compensating for flaws in video.....................................................................................................10 Creating and improving audio..........................................................................................................11 Using Windows Media Encoder.................................................................................................................11 Using the Windows Media Encoder user interface................................................................................12 About the Sources panel...................................................................................................................13 About the Audio panel.....................................................................................................................13 About the Video panel......................................................................................................................14 About the Monitor panel..................................................................................................................14 About the Script panel......................................................................................................................14 About the Control panel...................................................................................................................15 Changing the language setting.........................................................................................................15 Setting up an encoding session...............................................................................................................16 Setting up a session using the New Session Wizard........................................................................18 Opening an existing session...................................................................................................................21 Editing your session configuration ........................................................................................................22 Adding source groups to your broadcast..........................................................................................22 Inserting scripts................................................................................................................................23 Configuring devices...............................................................................................................................25 Archiving content...................................................................................................................................25 Clipping noise from video before encoding...........................................................................................27 Optimizing the quality of your video encoding.....................................................................................27 Editing display and attribute information...............................................................................................29 Changing the selected profile.................................................................................................................30 Changing the output settings..................................................................................................................31
  4. 4. Indexing your content.............................................................................................................................31 Encoding content.........................................................................................................................................32 Capturing and encoding screens.............................................................................................................34 Distributing content.....................................................................................................................................38 Setting up a multicast.............................................................................................................................38 Using advanced features.............................................................................................................................40 Creating content that is compatible with Windows Media Services 4.1................................................41 Creating and encoding video content that is compatible with the ISO MPEG-4 standard ...................41 Running multiple encoders on one computer.........................................................................................41 Controlling the encoder remotely...........................................................................................................42 Achieving optimal system performance.................................................................................................44 Applying time compression to your content..........................................................................................44 Capturing uncompressed audio and video files......................................................................................46 Encoding high-motion content at 60 fps................................................................................................47 Encoding slide-show content.................................................................................................................47 Batch encoding.......................................................................................................................................48 Testing your content...............................................................................................................................48 Masking Internet protocol addresses......................................................................................................49 Frequently asked questions.........................................................................................................................51 Windows Media Encoder glossary.............................................................................................................51 -4-
  5. 5. Windows Media Encoder Windows Media Encoder Microsoft® Windows Media™ Encoder 7.1 is an easy-to-use, powerful production tool for converting both live and prerecorded audio and video to Windows Media Format. With Windows Media Encoder, you can deliver live content in real time to client computers or to a file for later use. Real-time sources of audio and video content include anything that you can plug into your audio or video card, including a CD player, microphone, VCR, video camera, or video player. Stored sources are audio or video files. Users can view encoded Windows Media-based content with Microsoft Windows Media Player or with any application built using the Windows Media Format 7.1 Software Development Kit (SDK). The following sections introduce conceptual information about the encoding process and provide steps for using Windows Media Encoder. • New features. Summarizes the enhancements made to Windows Media Encoder 7.1. • Hardware and software requirements. Provides a link to the Microsoft Web site where the latest hardware and software requirements are listed. • Supported formats. Summarizes the formats that are supported by Windows Media Encoder. • Understanding streaming media concepts. Explains multiple-bit-rate encoding, profiles, codecs, and more. • Using Windows Media Encoder. Provides detailed information about setting up an encoding session, and the process of encoding and distributing content. • Encoding content. Provides step-by-step procedures for encoding content and using the screen capture feature. • Distributing content. Discusses distribution options and explains how to set up a multicast. • Using advanced features. Provides information about advanced features, such as running multiple encoders on one computer, administering the encoder remotely, and automating the encoder. • Frequently asked questions. Provides a link to the World Wide Web where you can find suggestions for resolving issues that might arise when using the encoder. • Accessibility for people with disabilities. Provides information about features, products, and services that make Microsoft Windows® more accessible for people with disabilities. • Windows Media Encoder glossary. Provides definitions and terms related to Windows Media Encoder. -1-
  6. 6. New features Windows Media Encoder 7.1 has been completely redesigned to include enhancements that are both powerful and easy to use. This section summarizes the enhancements made in this release. Ease of use • A new graphical user interface makes it easier for you to produce Windows Media-based audio and video content, both for live and on-demand viewing. • The New Session Wizard and Profile Manager tools help you to set up an encoding session quickly and to create encoding profiles, which you can transfer to other computers that you use for encoding. • The visual feedback was improved to provide pre-encode and post-encode views of your content. You can also monitor real-time encoding statistics right from the encoder main window. • The ability to switch between input sources, such as between a main speaker and intermission video, was added, providing you with greater control over the production of live events. Improved encoding capabilities • The deinterlacing feature helps you to produce high-quality output from interlaced National Television Standards Committee (NTSC) content. • A new inverse telecine feature supports higher-quality output from film sources. • The built-in support for high-motion content has improved, and the encoder can produce encoded content from an interlaced source that is 320 x 240 pixels and has a frame rate of 60 frames per second (fps). • New codecs have improved the quality for encoding audio and video content, and several profiles are now available to take advantage of the encoding quality of the Microsoft Windows Media Video 8 codec. The Windows Media Screen codec helps you create screen capture demonstrations for both live and on- demand scenarios. • New time compression technology means you can reduce the time it takes to play back encoded content. • Added support for the leading video capture cards, including the new Osprey-500WM. Improved programmability, administration, and delivery • The Windows Media Format 7.1 SDK has expanded to enable third parties to develop applications that fully automate the encoder functionality. The automation interface enables automation of all of the encoder functions. Developers can also use the automation API to develop content production processes. • A new remote administration API, when used in conjunction with distributed COM (DCOM), enables administrators to control encoders residing on other clients on the local area network (LAN), such as in corporate and multimedia production environments. This API also enables Web developers to remotely administer their servers over the Internet with full encoder functionality. • The encoder is a redistributable component enabling application developers to include encoder support in third-party applications. • With improved unicast support, up to 50 players can connect directly to the encoder to receive Windows Media-based content. -2-
  7. 7. Windows Media Encoder Related topics • Understanding profiles • Understanding codecs • Setting up a session using New Session Wizard • Understanding sources and source groups • Configuring devices • Capturing and encoding screens Hardware and software requirements The hardware and software requirements for Windows Media Encoder differ depending on whether you are capturing a live event or converting an existing file to Windows Media Format. Live encoding requires a fast processor; file conversion does not. Because encoding and compressing video and audio content requires a high percentage of a computer’s processing capability, it is recommended that you run the encoder on a separate computer from the one that is running Microsoft Windows Media Services. The list of currently supported hardware and software is updated continually. For the latest requirements, see the Windows Media Technologies page at the Microsoft Web site. Supported formats You can use the following file formats with Windows Media Encoder: Format File name extensions Windows Media .wma, .wmv, .asf Windows .avi, .wav Moving Picture Experts Group (MPEG) .mpg, .mp3 Picture .bmp -3-
  8. 8. Understanding streaming media concepts This section introduces concepts that are important to understand as you use Windows Media Encoder. • Understanding the differences between a Windows Media server and a Web server. Describes how streaming media from a Windows Media server is different from a Web server. • Understanding intelligent streaming and multiple-bit-rate video. Explains how the encoder supports intelligent streaming. • Understanding sources and source groups. Defines source groups and explains how they are used in the encoder. • Understanding codecs. Describes each of the codecs included with Windows Media Encoder. • Understanding profiles. Describes the role profiles serve in this version of Windows Media Encoder. • Creating the best audio and video stream. Provides tips for improving the quality of your source material and for fixing flaws in files that have already been recorded. Understanding the differences between a Windows Media server and a Web server You can stream Windows Media-based content either from a server running Windows Media Services or from a Web server to a player, such as Windows Media Player. The server and player can be used either on the Internet or an intranet, and they can be separated by a firewall. Although a Windows Media server is designed specifically for streaming Windows Media-based content, a standard Web server is not. If you decide to use a Web server, you need to be aware of the differences in the way the content is delivered, which can affect the quality of the playback. The method of sending data differs between a Web server and Windows Media server. A Web server is designed to send as much data as it can, as quickly as possible. This is the preferred method for sending packets containing static images, text, and Web page script, but it is not the best method for sending packets containing streaming media. Streaming media should be delivered in real time, not in large bursts, and the player should receive packets just ahead of rendering them. The Windows Media server meters the delivery of packets according to feedback information it receives while sending a stream to a player. When a player receives packets in this way, the presentation is much more likely to be smooth. Because bandwidth use is controlled, more users can connect concurrently to your site and receive streams that are free of interruptions. Web servers do not support multiple bit rate video. When a file streams from a Web server, the quality of the delivery is not monitored, and no adjustment to the bit rate can be made. Web servers cannot use the preferred delivery protocol, User Datagram Protocol (UDP), so delivery of a stream is more likely to be interrupted by periods of silence while the player buffers data. Live streaming and multicasting are also not possible with a Web server. Related topics • Understanding profiles -4-
  9. 9. Windows Media Encoder Understanding intelligent streaming and multiple-bit-rate video Intelligent streaming is a set of features in Microsoft Windows Media Technologies that automatically detects network conditions and adjusts the properties of a video stream to maximize quality. Because Windows Media Technologies is a client/server system, the server and the client communicate with each other to establish actual network throughput and automatically make a series of adjustments to maximize the quality of the stream. With intelligent streaming, users receive a continuous flow of content tailored to their connection speeds. To take full advantage of intelligent streaming, you must encode your content using multiple bit rates. To encode content at multiple bit rates, you create a single Windows Media Format stream or file containing multiple streams (audio, video, and script) that are encoded at different bit rates. When a multiple-bit-rate Windows Media file or live stream is received by a player, only one of the video streams is played: the one that is the most appropriate for current bandwidth conditions. The process of selecting the appropriate stream is handled by the Windows Media server and Windows Media Player and is completely invisible to the user. Windows Media Encoder provides predefined multiple-bit-rate profiles, making encoding content for multiple bit rates an easy process. You can also create your own multiple-bit-rate profiles using Profile Manager. Note Web servers do not support multiple-bit-rate video. Understanding sources and source groups With Windows Media Encoder, you can encode content from three different sources: audio, video, or script. You can capture audio and video from a card installed in your computer or from a file. And you can type scripts directly in the main window of the encoder during an encoding session. The combination of audio, video, and script sources is known as a source group. A source group represents the stream that is displayed in a player. Although only one source group streams at a time, as you encode, you can switch between source groups to stream different content. For example, before broadcasting a live event, such as company meeting, you can set up source groups for the main event as well as for welcome, intermission, and goodbye videos. When you broadcast the event, you could start with the welcome source group, switch to the main speaker when appropriate, switch to the intermission source group during a break, and then switch to the goodbye source group when the event finishes. A source group must consist of at least one audio source; it can also include one video source and one script source. You can add an unlimited number of source groups to an encoding session, either before or after encoding has begun, but they must contain the same combination of source types (audio, video, and script). You can use capture cards only once. For example, let’s say that you create two sources. One source is a live event in which a speaker is introducing a new video. The second source is the video. When setting up the sources, you would need a separate card for each one. A script can be either a URL or a caption. A URL is the path to a Web page; a caption is a text string. When a player receives a script, it transmits it to an application that can run the command. URLs are transmitted to the Web browser, and captions are displayed in a player. When a URL is inserted into a stream, the default browser opens and the requested URL loads into the browser. If you have embedded the player within a browser, the requested URL replaces the player, and you cannot view the rest of the stream. You can get around this either by displaying the requested URL in a separate frame in the same browser instance or by opening an additional instance of the browser on your screen. When you set up an encoding session, the New Session Wizard helps you create three source groups. To add more source groups, use the Session Properties dialog box. -5-
  10. 10. Related topics • Editing your session configuration • Understanding looping Understanding looping Looping is a feature of Windows Media Encoder where file-based content is played repeatedly until encoding is complete. Looping ensures that you have no interruption in the stream as a result of reaching the end of a file before completing a broadcast or capture session. Looping is available for broadcast and capture scenarios. In a broadcast scenario, looping is applied automatically when one of your source groups is a file. In a capturing scenario, looping is applied automatically when you have a configuration that includes multiple source groups. In both cases, looping is applied to only the active source group. Looping is not available for file-conversion scenarios or when you are sourcing content from an .mpg file. Looping is also not invoked when you use the time compression feature to accelerate or decelerate the playback of your content. Related topics • Understanding sources and source groups • Applying time compression to your content Understanding codecs Audio and video content can consume a lot of bandwidth on a network when it is streaming. By compressing the content, it can be broadcast over common Internet bandwidths. You can compress content by applying compression algorithms to the data, taking into account the desired output quality and available bandwidth. Before the stream is played on a player, it is decompressed using decompression algorithms. These compression and decompression algorithms are called codecs. Codecs are designed to compress a stream to a certain bit rate. The target bit rate determines the amount of compression applied. Codecs that do not compress source content as much produce content that usually sounds and looks richer and more dynamic, but requires more bandwidth to stream. The following list provides more detailed information about the codecs available to you when using Windows Media Encoder profiles: • Microsoft Windows Media Audio 8 codec. Use to encode most audio streams. This codec provides unmatched audio quality for Internet narrowband streaming and high-fidelity downloadable music. It delivers near CD-quality audio at 48 kilobits per second (Kbps) and CD-quality audio at 64 Kbps. And it is fully compatible with Windows Media Player versions 6.4 and 7. • Sipro Labs ACELP codec. Provides excellent voice compression at low bit rates. This codec comes with several audio formats depending on the network bandwidth you choose. • Microsoft Windows Media Video 8 codec. Use for most encoding scenarios. The compression quality of Windows Media Video 8 codec is better than the quality of version 7 and delivers near DVD-quality at 500 Kbps. This codec supports a wide variety of network bandwidths and enhances video quality for broadband Internet users. The Windows Media Video 8 codec has greater CPU performance requirements than the Windows Media Video 7 codec. -6-
  11. 11. Windows Media Encoder • Microsoft Windows Media Video 7 codec. Use when you want clients running Windows Media Player 7 to view encoded content without first having to download the version 8 codec. You should also use this codec if your computer cannot support the performance requirements of the Windows Media Video 8 codec. • Microsoft MPEG-4 version 3.0 codec. Included with Windows Media Encoder version 4.0. • ISO MPEG-4 video codec version 1.0. Based on the International Standards Organization (ISO) MPEG-4 standard. You can use this codec to encode content produced by many consumer electronics devices, such as digital video cameras and cellular phones. • Microsoft Windows Media Screen 7 codec. This screen capture codec enables lossless streaming of computer screen images at data rates as low as 15 kbps. You can use it for on-demand training, software demonstrations, and helpdesk applications. It is well suited for capturing screens in productivity applications, such as Microsoft Word, Excel, and Visual Studio®. Windows Media Screen codec is fully optimized for both streaming and download scenarios and makes use of Digital Rights Management (DRM) technology to encrypt the encoded screen content. It is included with Windows Media Player 7.1. Note To encode audio and video content for Windows Media Encoder 4.0, use the Windows Media Audio 7 codec and the MPEG-4 3.0 codec. For more information about Windows Media compression technology, see the Windows Media page at the Microsoft Web site. Understanding profiles A profile is a collection of properties tailored to the type of content being encoded, the audience, and the intended distribution (file or broadcast). The properties stored in a profile include: the audio and video quality, connection speed for the intended audience, available bandwidth, and appropriate codecs. The use of profiles simplifies the process of setting up an encoding session. You can use three kinds of profile when encoding: • System profile. A profile that is installed with the encoder and cannot be changed or deleted. Many system profiles are installed with the encoder, including multiple-bit-rate profiles, which are based on the most common encoding scenarios. By using Profile Manager, you can copy a system profile and then edit it according to your needs, creating a custom profile. • Custom profile. A profile that you create with Profile Manager. You can edit and delete custom profiles. They are saved as files with a .prx file name extension in the Program FilesWindows media components EncoderProfiles folder. You can reuse custom profiles on multiple computers running Windows Media Encoder by copying the .prx files to them. • Session profile. When you create an encoding configuration, a session profile is automatically saved as part of the Windows Media Encoder configuration file, which has a .wme extension. It is only available for the current session and gets used when the .wme file specifies a profile that does not exist on the current computer—for example, when the custom profile file is deleted or when the .wme file is used on another computer running Windows Media Encoder that does not contain the custom profile. Session profiles are not listed in Profile Manager, New Session Wizard, or in the New Session dialog box. They are indicated on the Monitor panel and in the Session Properties dialog box as Session. You cannot edit or view session profiles or use them to create another session. Note If you change a profile after saving the encoding configuration and then copy the configuration to another computer, the session profile will not contain the changes. To ensure that your custom and session profiles remain synchronized, either copy the custom profiles to each computer that you plan to use for encoding or resave the .wme file to include any profile changes before moving it to another computer. -7-
  12. 12. Profile Manager is the tool for creating, editing, and deleting profiles. It is available from the Tools menu or the New Session Wizard in Windows Media Encoder. For more information about Profile Manager, see the Profile Manager Help. Related topics • Understanding intelligent streaming and multiple-bit-rate video • To access Profile Manager • To access Help for Profile Manager • To create a profile To access Profile Manager • On the Tools menu, click Manage Profiles. Related topics • Understanding profiles To access Help for Profile Manager 1. On the Tools menu, click Manage Profiles. 2. Click Help. Related topics • Understanding profiles To create a profile 1. On the Tools menu, click Manage Profiles, and then click New. -or- On the Profile Selection page of the New Session Wizard, click Create and Manage Profiles, and then click New. 2. In Name of profile, type a name for the profile. 3. Click Video, and then click Compressed. 4. In Description, type a description for the profile (optional), and then click Next. 5. Select the audience or audiences that you want the profile to support, and then click Next. Selecting more than one audience creates a multiple-bit-rate profile. 6. In Audio, select the Windows Media Audio codec and appropriate bit rate. 7. In Video, select the Windows Media Video codec and appropriate video size. Click Next. 8. In Frame rate, Key frame interval, and Image quality, enter the appropriate information, and then click Next. 9. Review the settings, click Finish, and then click Close. -8-
  13. 13. Windows Media Encoder To create a PAL profile 1. On the Tools menu, click Manage Profiles, and then click New. -or- On the Profile Selection page of the New Session Wizard, click Create and Manage Profiles, and then click New. 2. In Name of profile, type a name for the profile. 3. Click Video and then click Compressed. 4. In Description, type a description for the profile (optional), and then click Next. 5. Select the audience or audiences that you want the profile to support, and then click Next. Selecting more than one audience creates a multiple-bit-rate profile. 6. In Audio, select the Windows Media Audio codec and appropriate bit rate. 7. In Video, select the Windows Media Video codec. 8. In Video size, select 352 x 288 (CIF). Click Next. 9. In Frame rate, type 25. 10. In Key frame interval and Image quality, enter the appropriate information, and then click Next. 11. Review the settings, click Finish, and then click Close. Related topics • Understanding profiles Creating the best audio and video stream The quality of the stream you create depends upon the quality of the source material you start with. This section provides simple tips for creating the best possible video and audio as well as tips for reducing the impact of flaws in video that has already been shot. Related topics • Creating and improving video • Compensating for flaws in video • Creating and improving audio -9-
  14. 14. Creating and improving video Regardless of the type of source material you are using—live music, prerecorded film, or a home video—the quality of the content you stream cannot be any better than the quality of the source. This section provides information about manipulating background, lighting, and your subject's clothing to improve the quality of your video. • Background. If possible, use a low-motion background when recording video. If you need to record against a moving background, try reducing the depth of field to help reduce the amount of detail in the background. Reducing the depth of field or shortening the area in focus softens the background and helps reduce the amount of data that changes from frame to frame. To reduce the depth of field and make the background go out of focus, use a lower level of light and move the subject closer to the lens or move the subject farther away from the lens and use a telephoto lens to zoom in. • Lighting. Provide adequate lighting; use soft light, diffuse light, and consistent light levels. A certain amount of contrast is necessary for lighting a subject, but avoid direct, high-contrast lighting. For example, when recording a face lit by strong sunlight from the side, the facial features in the shadow can be lost on video. • Clothing. Use clothing colors that complement your subject's skin tone and that are sufficiently different from the background and other overlapping objects. Avoid bright colors, which tend to bleed or spread outside an object. Also avoid stripes, which might cause moiré patterns, especially when the subject is moving slowly. Compensating for flaws in video Ideally, video producers have complete control over production elements such as shot selection, lighting, and video format. But in many cases, they have to shoot in harsh sunlight using an inferior video format. Or, producers might have to use a videotape that is either inadequate or unsuitable for streaming. This section includes some common flaws that appear in video and tips for dealing with them. • Oversaturation. Occurs when colors in a video bleed outside the edges of objects or smear when an object moves. You can often fix oversaturation before capturing video by adjusting your capture card's saturation setting to a lower level. Saturation is the amount of color in the image. Too little saturation produces images that can appear black and white. Too much saturation produces colors that appear artificially bright. • Too bright or too dark. If a picture is extremely bright or dark, the recording can be beyond repair. You can recover a picture by adjusting the following properties for your capture card: • Brightness, to raise or lower the video level. • Contrast, to optimize the number of shades of gray or levels of luminance, also known as the grayscale. By raising the video brightness setting and optimizing the grayscale, you can correct a dark picture. However, in doing so, you increase video noise because noise is most noticeable in dark areas of an image. It is possible to partially hide the noise by increasing the contrast. For more information about capturing video, see your capture card documentation. - 10 -
  15. 15. Windows Media Encoder Creating and improving audio As with video, the quality of your source content affects the quality of the final compressed audio stream. This section provides tips for improving the quality of your audio. • Ambient noise. Sound reflects off hard surfaces, such as walls and windows. Computers, air conditioning, and street traffic can create additional ambient noise. Use the following tips to reduce the amount of ambient noise in your audio: • Soften hard surfaces by hanging curtains or tapestries on the walls. Large rugs make excellent sound dampeners. • Turn off computers, fans, and other machines in the room. If you can, also turn off the heating, ventilation, and air conditioning system. • Use an interior room that is isolated from street noise. If the room has a persistent low rumble, you can reduce it to some extent by using equalization on an audio mixer. You can also use the roll-off switch, if your microphone has one. • Microphone usage. Use the following tips to ensure the best recording when using a microphone: • Point the microphone facing out, away from the person’s clothing. Make sure clothing does not cover the front of the microphone and the speaker’s mouth isn't too close to it. High-velocity air from a person exhaling can cause loud pops in microphones that do not have pop filters built into them. Small lavaliere microphones are designed to be clipped to a tie and have little or no protection against pops and wind. • Eliminate microphone noise. Microphone noise is an artificial sound that is introduced when an object touches the microphone. When placing a microphone, make sure that it will not be bumped. Remind speakers who will be holding a microphone not to tap pencils and rings against it or play with the cable. Leave the front of the microphone exposed. Holding the head of a microphone introduces noise and can cause feedback if the microphone is used in a public address system. Using Windows Media Encoder You can use Windows Media Encoder to encode a stream and distribute it as a live broadcast event or save it to a file for later distribution. Common scenarios for using the encoder include: • Converting existing audio or video files to Windows Media files. • Capturing a live event and either converting the captured stream to a file for later use or broadcasting the event live. When broadcasting the event, you can stream it to a server running Windows Media Services or have up to 50 players connect directly to the computer that is running the encoder. • Developing a custom encoder application using a powerful automation API. With the Windows Media Encoder 7.1 SDK, a developer using C++, Microsoft Visual Basic®, or a scripting language can capture multimedia content and encode it to a Windows Media file or stream. For more information about creating an encoder application, see the Windows Media Encoder 7.1 SDK. The topics in this section describe the process for setting up an encoding session, encoding the content, and then distributing the content. - 11 -
  16. 16. Related topics • Using the Windows Media Encoder user interface • Setting up an encoding session • Encoding content • Distributing content Using the Windows Media Encoder user interface The main window of the encoder has five panels and one window that provide information about your encoding session, as shown in the following figure. The panels that are displayed when you encode depend on the kind of content being encoded, the number of source groups set up for the current session, and your personal preference. You can display additional panels or hide the ones that are displayed. Any changes you make to the display are saved between sessions. Each area of the main encoder window is explained in the following sections. - 12 -
  17. 17. Windows Media Encoder Related topics • About the Sources panel • About the Audio panel • About the Video panel • About the Monitor panel • About the Script panel • About the Control panel About the Sources panel The Sources panel contains separate buttons for each source group you create. To activate a source group during an encoding session, click the appropriate source group button. Related topics • To display or hide a panel • Using the Windows Media Encoder user interface About the Audio panel The Audio panel contains controls for monitoring and adjusting the volume of the audio stream you are encoding. The controls include: • Recording-level meter. Use to view a visual representation of the sound level of your content as it is encoded. As the sound level increases, the color of the meter changes from green to yellow to red. Recording at too high (mostly in the red) or too low (mostly in the green) of a level will give you unsatisfactory results. For best results, try to keep your recording level constant. • Recording-level control. This control is similar to the master recording-volume control available in the mixer application that comes with your audio card. Use it to adjust the audio level of the content you are encoding. When you adjust this control in the encoder, the control in your mixer application is adjusted simultaneously. If your audio card drivers do not support a master recording-volume control, this control is not available. • Mute button. Use to silence the audio track while encoding. Your capture card determines the availability of this button. If your card does not have a mute control, the Mute button on the encoder is not available. To determine whether your card contains a mute control, double-click the Volume icon in the lower-right corner of your screen and select the recording properties. • Mixer button. Use to adjust the volume for various inputs, including camera, microphone, and CD. You can also use the master control to adjust the volume of all inputs. Clicking the Mixer button launches the recording mixer application that comes with your capture card. The Mixer button is available only if you have selected an audio device. Related topics • To display or hide a panel • Using the Windows Media Encoder user interface - 13 -
  18. 18. About the Video panel The Video panel displays the content you are encoding. Depending on the type of content you are encoding, you can customize the display to show just the pre-encoded content, the encoded content, or both. You cannot view pre-encoded content in the Input area when: • You are capturing a screen. • You are using the deinterlacing feature with .avi or .mpg files. • You are using a Windows Media file with a .wmv or .asf extension as your source, and it has the same properties as the output. • You are using a video capture card that does not support the previewing of an image before it is encoded. You cannot view encoded content in the Output area when: • You are using a screen capture profile or uncompressed profile. • You are using a Windows Media file with a .wmv or .asf extension as your source, and it has the same properties as the input. Note The video shown in the Output area might look blockier than it does when played on Windows Media Player because Windows Media Player contains deblocking filters, which are not available in the Output area. The blockiness is normal and does not affect the quality of the encoded content. If you are encoding a video for multiple bit rates, you can check the quality of it at each bit rate by selecting the desired bit rate from the Preview Output box. This box contains only the video bit rates, not the bit rate for the entire stream (audio, video, and script). Related topics • To display or hide a panel • Using the Windows Media Encoder user interface About the Monitor panel The Monitor panel consists of three tabs, each containing status information about the encoding session. The General tab displays information such as the devices you are encoding from, the profile being used, and the number of frames per second being encoded. The Display Information tab displays any descriptive information you added (for example, title, copyright, and author). If you are distributing content through a unicast transmission, the Connections tab displays a list of the Internet Protocol (IP) addresses currently connected to the computer running the encoder. Related topics • To display or hide a panel • Using the Windows Media Encoder user interface About the Script panel The Script panel is where you type a URL or caption that is inserted into the stream you are encoding. This panel is available if you enabled script as a source type when you set up the session. - 14 -
  19. 19. Windows Media Encoder Related topics • To display or hide a panel • Using the Windows Media Encoder user interface About the Control panel The Control panel is where you start and stop encoding and manually control the archive during a broadcast. It contains several indicators that provide the status of the encoding session. The Error Indicator button is displayed when an error occurs during an encoding session. Click this button to display the error log. When you start the encoder again, the Error Indicator button does not appear. The status line changes color based on the encoding status. The status line is gray when the encoder is idle. It changes to green during a broadcast, to yellow when the encoder is starting or stopping, to black when the encoder is running, and to red when an error occurs. The progress meter shows the progress of a file conversion or indexing process. Related topics • To display or hide a panel • Using the Windows Media Encoder user interface To display or hide a panel • On the View menu, click the panel you want to display or hide. Related topics • Using the Windows Media Encoder user interface Changing the language setting By default, the language on the encoder interface matches the settings in the Regional Options dialog box in Microsoft Windows Control Panel. Regional options are what control the number, time, and currency formats that are used on your computer. You can change the default language for the encoder, which will not affect the language and other regional option settings in any other application on your computer. Related topics • To change the language setting To change the language setting 1. On the Help menu, click Preferences, and then click the Language tab. 2. In User Interface Language, select the desired language, and then click OK. Note You must close and restart Windows Media Encoder before the language setting will take effect. - 15 -
  20. 20. Related topics • Changing the language setting Setting up an encoding session Before encoding content, you must set up an encoding session. The easiest way to set up an encoding session is to use the New Session Wizard. The wizard is available from the Welcome screen (if enabled) that is displayed when you first open the encoder application, or from the Session menu in the main encoder window. As you run the New Session Wizard, you are asked to: • Specify the kind of encoding to do. The three options available are: broadcast a live event, capture content from an attached device, or convert an existing file to Windows Media Format. • Specify source types and source groups. Possible source types are audio (always selected), video, and script. You can also create up to four source groups for a broadcast encoding session, for example, live, welcome, intermission, and goodbye source groups. All source groups in a session must have the same combination of source types. • Configure input devices (optional). After selecting the input devices, you can set the properties for each one. You can set some properties to apply to all source groups and others to apply to an individual source group. • Add descriptive information (optional). You can add descriptive information about the encoded content (title, author, copyright, rating, and description). This information is displayed when the stream is viewed in Windows Media Player. • Choose a profile. Select an existing profile or use Profile Manager to create a profile that better matches the encoding requirements of your encoding session. Only profiles that match the source types (audio, video, and script) selected for your current session are available. • Choose the distribution method. Select whether to broadcast the content or encode it to a file. If you choose to broadcast the content, specify the port through which a connection can be established. You can also choose to archive a copy of the broadcast for later use. Once your encoding session is set up, you are ready to encode content. You can save session settings to a configuration file either before or after you encode, and then load the session at a later date to reuse the settings. Session files are saved with a .wme extension. Windows Media Encoder no longer supports .asd files. If you attempt to load an .asd file, you will be asked to create a .wme file. Note Another way to set up an encoding session is using the New option on the Session menu. As a minimum, you must provide the source type, input device, profile, and output information. Related topics • Setting up a session using the New Session Wizard • Opening an existing session • To save a session - 16 -
  21. 21. Windows Media Encoder To set up a session using the New Session dialog box 1. On the Session menu, click New, and then click the Sources tab. 2. In Source types for this session, select the content source types you want to use in this session, and then click New. 3. In Name, type a name for the source group. 4. In Video, select a device, screen capture, or browse for a video file. 5. In Audio, select a device or browse for an audio file. If you selected a video file as a source, the same file is listed as the audio source; you can select a different option for the audio source. Click OK. 6. Click the Profile tab, and then select the profile you want to use for this session. 7. Do one of the following: • Click Edit to change the selected profile. • Click Manage to create a new profile using Profile Manager. 8. Click the Output tab, and then do one of the following: • To broadcast the content from this session, select the Broadcast encoded output check box, and then either specify a port or click Find Free Port. • To archive a copy of the broadcast, select the Archive to file check box, and then enter the name and location of the archive file. • To encode to a file, select the Encode to file check box, and then enter the name and location of the file. (Encode to file is displayed when Broadcast is cleared.) Note This procedure includes the steps required to set up a session with only the minimum configuration. For more information about configuring additional settings, see Related topics. Related topics • Editing your session configuration • Encoding content To save a session 1. On the Session menu, click Save As. 2. In File name, enter a name and location for the file, and then click Save. Related topics • Setting up an encoding session - 17 -
  22. 22. Setting up a session using the New Session Wizard The New Session Wizard walks you through the steps necessary to set up three of the most common encoding scenarios. You can choose to encode immediately after you complete the wizard, or wait and begin encoding content manually. The three common encoding scenarios are: • Broadcast a live event from attached devices or computer screen. Select this option to capture audio or video from devices installed on your computer or to capture computer screens and then broadcast a live event. You can broadcast up to three other files with a main event, for example: welcome, intermission, and goodbye content. To add other source groups to the session, you must use the Session Properties dialog box. • Capture audio or video from attached devices or computer screen. Select this option to capture audio or video from devices installed on your computer or to capture computer screens and then convert the captured content to a Windows Media file for later distribution. Windows Media Encoder accommodates any capture devices that support Video for Windows or Windows Driver Model drivers. • Convert an audio or video file into a Windows Media file. Select this option to convert an audio or video file into a Windows Media file for later distribution. If you need to change session properties, you must either run the New Session Wizard again or use the Session Properties dialog box. If you want to open and use the session again, save your settings in an encoder configuration file with a .wme extension. Related topics • Encoding content • To open the New Session Wizard • To convert a file using the New Session Wizard • To capture from devices to a file using the New Session Wizard • To set up a live broadcast using the New Session Wizard • Editing your session configuration • To save a session To open the New Session Wizard • If you have just launched Windows Media Encoder, on the Welcome screen, click Broadcast, capture, or convert a file using the New Session Wizard. -or- On the Session menu, click New Session Wizard. Related topics • Setting up a session using the New Session Wizard - 18 -
  23. 23. Windows Media Encoder To set up a live broadcast using the New Session Wizard 1. Open New Session Wizard, and then click Broadcast a live event from attached devices or computer screen. If you want encoding to start after you complete the wizard, select the Begin broadcasting when this wizard finishes check box, and then click Next. 2. If you want to encode video, select the Video check box, and then click the arrow to select from the list of capture devices. 3. In Audio, click the arrow to select from the list of capture devices, and then click Next. Audio is always selected. 4. Specify a port for broadcasting or click Find Free Port, and then click Next. Note A Windows Media server connects with the encoder through Hypertext Transfer Protocol (HTTP) , which is based on Transmission Control Protocol/Internet Protocol (TCP/IP). HTTP enables content to stream through firewalls. Windows Media Encoder no longer supports the Media Stream Broadcast Distribution (MSBD) protocol. If you configured your Windows Media server to use MSBD, you must reconfigure it to use HTTP. 5. Select an existing profile that is best suited to your content; use the profile description to help you decide. –or- Click Create and Manage Profiles to create a profile. Note Click Edit to change the settings of an existing profile. 6. To create an archive file of the broadcast, select the Archive a copy of the broadcast check box, and then enter a file name and location for the file. Click Next. 7. Do one of the following, and then click Next. • To broadcast the main event without additional content, select the No, I want to broadcast from my selected devices only check box, and then proceed to step 8. • To broadcast the main event with additional content, select the Yes, I want to add welcome, intermission, and goodbye video files check box. 8. Enter the name and location of the video files you want to include, and then click Next. 9. (Optional) In Title, Author, Copyright, Rating, and Description, enter information about the content, and then click Next. The information you add is displayed in Windows Media Player when the content is viewed. 10. Review the summary of your selections, and then do one of the following: • Click Back to modify a session. • Click Finish to complete the session configuration. Related topics • Setting up a session using the New Session Wizard • Encoding content - 19 -
  24. 24. To capture audio or video from devices to a file using the New Session Wizard 1. Open the New Session Wizard, and then click Capture audio or video from attached devices or computer screen. If you want start encoding after you complete the wizard, select the Begin capturing when this wizard finishes check box, and then click Next. 2. If you want to encode video, select the Video check box, and then click the arrow to select from the list of capture devices. 3. In Audio, click the arrow to select from the list of capture devices, and then click Next. Audio is always selected. 4. In Windows Media file to create, enter the file name and location that you want to create, and then click Next. 5. Select how you want to distribute the file (through a Windows Media server, Web server, or locally on a computer), and then click Next. 6. Select an existing profile that is best suited to your content; use the profile descriptionto help you decide. -or- Click Create and Manage Profiles to create a profile. Note Click Edit to change the settings of an existing profile. 7. (Optional) In Title, Author, Copyright, Rating, and Description, enter information about the file, and then click Next. The information you add is displayed in Windows Media Player when the content is viewed. 8. Review the summary of your selections, and then do one of the following: • Click Back to modify a session. –or- • Click Finish to complete the session configuration. Related topics • Setting up a session using the New Session Wizard • Encoding content • Understanding differences between a Windows Media server and a Web server - 20 -
  25. 25. Windows Media Encoder To convert a file using the New Session Wizard 1. Open the New Session Wizard, and then click Convert an audio or video file into a Windows Media file. If you want start encoding after you complete the wizard, select the Begin converting when this wizard finishes check box, and then click Next. 2. In File to convert, enter the name of the file you want to convert. 3. In File to create, enter the name of the Windows Media file you want to create, and then click Next. 4. Select how you want to distribute the file (through a Windows Media server, Web server, or locally on a computer), and then click Next. 5. Select an existing profile that is best suited to your content; use the profile description to help you decide. Click Next. -or- Click Create and Manage Profiles to create a new profile, and then click Next. Note Click Edit to change the settings of an existing profile. 6. (Optional) In Title, Author, Copyright, Rating, and Description, enter information about the file, and then click Next. The information you add is displayed in Windows Media Player when the content is viewed. 7. Review the summary of your selections, and then do one of the following: • Click Back to modify a session. • Click Finish to complete the session configuration. Related topics • Setting up a session using the New Session Wizard • Encoding content • Understanding differences between a Windows Media server and a Web server Opening an existing session You can save session settings to a .wme file so that you can open and reuse the session at a later date. You can open the saved session either from the Welcome screen (if enabled) or from the Session menu. Note The Welcome screen automatically appears when you start the encoder. If the encoder is already running, you can access the Welcome screen from the Help menu. Related topics • Setting up an encoding session • To open an existing session - 21 -
  26. 26. To open an existing session 1. On the Session menu, click Open. –or- On the Help menu, click Welcome, and then click Open an existing encoding session. 2. In File name, enter the name and location of the session file you want to open. Session files have a .wme extension. 3. Click Open. Related topics • Opening an existing session Editing your session configuration When you complete the New Session Wizard, the settings you selected are collected in the Session Properties dialog box. You can use Session Properties to edit existing settings, access other settings, or set up a new session. If you prefer to create an encoding session using Session Properties, you are required to provide the source type, input device, profile, and output information at a minimum. Some of the features available in Session Properties include: Optimizing the quality of the final video by using deinterlace or inverse telecine techniques. Related topics • Adding source groups to your broadcast • Inserting scripts • Configuring devices • Archiving content • Clipping noise from video before encoding • Optimizing the quality of your video encoding • Editing display and attribute information • Changing the selected profile • Changing the output settings • Indexing your content • Setting up an encoding session Adding source groups to your broadcast If you use the New Session Wizard to set up a broadcast session, you can create a maximum of three source groups. If you need additional source groups, either before or after encoding begins, you can add them in the Session Properties dialog box. Using Session Properties, you can add as many source groups as necessary. All source groups in a session must have the same combination of source types (audio, video, and script). You can use audio and video devices for only one source group. - 22 -
  27. 27. Windows Media Encoder Related topics • To add source groups to your broadcast To add source groups to your broadcast 1. On the Session menu, click Properties. 2. Click the Sources tab, and then click New. 3. In Name, type a name for the source group. 4. In Video, select the video device or screen capture you want to use, and then do one of the following: • Click Configure to configure the properties for the selected device. • Click Browse for file, and then enter the name of the file you want to use as an input source. 5. In Audio, select the desired audio device, and then do one of the following: • Click Configure to configure the properties for the selected device. • Select Browse for file, and then enter the name of the file you want to use as an input source. 6. Select the archive option (Record, Pause, or Stop) for the source group. If you did not choose to create an archive file when you created the session using the New Session Wizard, the archive options are unavailable. You must run the wizard again to make the archive options available for the source group. Related topics • Capturing and encoding screens • Adding source groups to your broadcast • Setting up a session using the New Session Wizard Inserting scripts Windows Media Encoder enables you to insert script into a stream while you are encoding. The scripts are saved as part of the stream. The encoder supports three types of scripts: • Captions. Free-form text strings that are displayed in Windows Media Player along with your other encoded content. In order for the captions to be visible, the Windows Media Player must have the Captions option selected. To turn captions on in Windows Media Player, on the View menu, click Now Playing Tools, and then click Captions. • URLs. When inserted into a stream, the URL opens the browser and takes the user to the specified address. • Custom script commands. A two-part command that consists of a type and a value. When the player receives the script command, it fires an event, such as launching a Web page with an embedded player. Because these scripts are saved in the stream, they are not available for editing. Inserting scripts into an encoding session requires that you use a profile that supports scripts. None of the system profiles installed with the encoder are configured to use scripts, but you can use Profile Manager to create your own. - 23 -
  28. 28. Related topics • To create a profile that includes scripts • To set up a session that includes scripts • To insert a script To create a profile that includes scripts 1. On the Tools menu, click Manage Profiles, and then click New. -or- In the New Session Wizard, in the Profile Selection page, click Create and Manage Profiles, and then click New. 2. In Name of profile, type a name for the profile. 3. Click Video, click Script, and then click Compressed. 4. In Description, type a description for the profile (optional), and then click Next. 5. Select the audience or audiences that you want the profile to support, and then click Next. Selecting more than one audience creates a multiple-bit-rate profile. 6. In Audio, select the Windows Media Audio codec and appropriate bit rate. 7. In Video, select the Windows Media Video codec and appropriate video size. 8. In Script, adjust the bit rate if necessary. The bit rate shown is based on the settings you have chosen while creating the profile. Click Next. 9. In Frame rate, Key frame interval, and Image quality, enter the appropriate information, and then click Next. 10. Review the settings, click Finish, and then click Close. Related topics • Inserting scripts To set up a session that includes scripts 1. Using the New Session Wizard, create an encoding session. When selecting a profile, select one that includes scripts. 2. After you create the session, on the Session menu, click Properties. 3. Click the Sources tab. 4. In Source types for this session, click Script. 5. Click OK. Related topics • Inserting scripts - 24 -
  29. 29. Windows Media Encoder To insert a script 1. In Control panel, click Start to start encoding. 2. Click the button that represents the kind of script you want to insert. You can insert a caption (text string), URL, or custom script. 3. For a caption or URL, type the text or URL that you want to insert. For a custom script, enter the script type and value. 4. Click Insert. The Total scripts entry on the Monitor panel increases with each script that you insert. Related topics • Inserting scripts Configuring devices When you set up an encoding session, you must choose the devices that you want to use for encoding. You can use audio devices, video devices, or screen captures. After choosing devices, you can set their properties directly from the encoder. The properties for some of your devices, such as audio and video cards, are global and apply not only to all source groups in your encoding session but to all applications on your computer. (For example, brightness, contrast, capture dimensions, and audio mixer settings.) Screen capture properties apply only to individual source groups and can be different for each source group that is included in your encoding configuration. You can configure audio and video device properties using the New Session Wizard, the Session Properties dialog box, or the Configure Devices option on the Tools menu. Screen capture properties are not available from the Configure Devices option on the Tools menu. Note The devices must already be installed on your computer. You cannot use the encoder to add or remove hardware; use Control Panel instead. Archiving content When running the New Session Wizard, you have the option to archive a live event to a file for later use. You can archive the file to the computer running the encoder or to your Windows Media server. Archiving to the Windows Media server is the best solution when: • You want the archive to be available immediately for on-demand viewing. • The resources on your encoding computer are mostly being used for encoding. • You have more disk space available on your server than on your encoding computer. If you choose to archive the broadcast, all the sources you used in the broadcast are archived automatically, but archiving all sources is not always desirable. For example, let’s say that one of the sources in your broadcast is an advertisement. To save disk space or to speed up the playback of the archived broadcast, you can archive only the live portion of the broadcast by turning off archiving when the ad is playing. This requires that you either set the archiving option individually for each source in your broadcast in the Session Properties dialog box or turn archiving on and off manually from the Control panel in the main encoder window. Archiving is only available in conjunction with broadcasting. - 25 -
  30. 30. Related topics • To set archive options for each source • To start and stop archiving manually • To archive files after the broadcast has started To set archive options for each source 1. On the Session menu, click Properties. 2. Click the Sources tab, and then select the source that you want to archive. You must have configured the source to broadcast through a port and archive to a file. 3. Click the Sources tab. 4. Click Record to turn on automatic archiving. –or- Click Pause or Stop to turn off automatic archiving. You can override these settings from the encoder Control panel. Related topics • Archiving content To start and stop archiving manually 1. If the archive controls aren’t already displayed, on the View menu, click Archive Controls. To Do this Start archiving Click Record. A new file is generated automatically and a number is appended to the current file name to create a unique name. Pause archiving Click Pause. Stop archiving Click Stop. Note Manual control of the archiving feature is available only when archiving is selected in the New Session Wizard or Session Properties dialog box. Using the manual archive controls overrides all automatic archive settings. Related topics • Archiving content - 26 -
  31. 31. Windows Media Encoder To archive files after the broadcast has started 1. On the Session menu, click Properties. 2. Click the Output tab. 3. Select the Archive to file check box to enable archiving. 4. Type or browse for the archive file name. 5. Click OK. To start archiving immediately, press Record and clear Manual. Related topics • Archiving content Clipping noise from video before encoding When encoding audio and video, it is always advisable to start with the best possible source content. If your video includes wavy lines or other artifacts, you can use the Windows Media Encoder Video Clipping feature to trim noise from the edges of your video before you start to encode. You can also use Video Clipping to create a letterbox effect. This feature is only available in Session Properties. Related topics • To clip noise from your video To clip noise from your video 1. On the Session menu, click Properties. 2. Click the Sources tab, select a source group, and then click Change. 3. Click the Video Clipping tab. 4. Enter the number of pixels to trim from the top, bottom, left, and right sides of the video. If you are clipping content that is also being deinterlaced, the top clipping value must be evenly divisible by 2. Related topics • Clipping noise from video before encoding Optimizing the quality of your video encoding Content can originate from a variety of sources: a digital source, such as Windows Media files with .avi, .wmv, or .wav extensions; an analog source, such as television; or from film. The National Television Standards Committee (NTSC) defines video as analog data that is interlaced and broadcast at 30 frames per second (fps). Interlaced video is displayed using a half-resolution image known as a field and uses two video fields to make a single frame of video. Each field of video contains alternating lines of an image: field one displays the odd numbered lines and field two displays the even numbered lines. Interlacing saves bandwidth when the video is transmitted over the airways or on cable, but when interlaced content is transferred to a digital format, the quality suffers. Any content encoded from sources such as digital video cameras, VHS tapes, 8mm film, and cable television could be affected by the quality degradation. You - 27 -
  32. 32. can use Windows Media Encoder to deinterlace the content, filtering the alternate fields into two frames to achieve a smoother result. Deinterlacing is not supported for: • A source that was not previously interlaced. • Capturing a live, uncompressed source. • Converting a Windows Media file with a .wmv extension to an .asf extension. • Content that has time compression applied. Film that is produced by high-end video cameras, such as those used by television or movie studios, is shot at 24 fps. When put onto another medium such as a digital video disc (DVD) or videotape, extra fields are added to achieve the standard 30 fps required by NTSC or 25 fps required by Phase Alternating Line (PAL). The method of adding frames is called 3:2 pulldown and is performed in a telecine room. You can use Windows Media Encoder to remove the added fields of video and encode the image at 24 fps, resulting in a smaller file size and higher-quality image. The process of removing the extra frames is called inverse telecine. Inverse telecine is not supported for: • An NTSC source that was not previously telecined at 30 fps. • Capturing a live, uncompressed source. • Converting a Windows Media file with a .wmv extension to an .asf extension. • Content that has time compression applied. Video optimization settings must be the same between source groups. If you have multiple source groups in your session configuration, make sure that each one uses the same video optimization setting. For example, if you have one source group that you want to deinterlace, you must deinterlace the other source groups as well. You must set the video optimization for each source group individually. Related topics • To deinterlace video • To convert film-based content from 30 to 24 frames per second (inverse telecine) To deinterlace video 1. On the Session menu, click Properties. 2. Click the Sources tab, select the source containing the video that you want to deinterlace, and then click Change. 3. Click the Video Optimization tab. 4. Click Deinterlace. 5. If you are using multiple source groups, repeat steps 2 through 4 for each. Note Use the deinterlace feature only with a video source that was previously interlaced. Make sure that Deinterlace is not selected when capturing screens. Related topics • Optimizing the quality of your video encoding - 28 -
  33. 33. Windows Media Encoder To convert film-based content from 30 to 24 frames per second (inverse telecine) 1. On the Session menu, click Properties. 2. Click the Sources tab, select the source containing the video that you want to convert to 24 fps, and then click Change. 3. Click the Video Optimization tab. 4. Click Inverse telecine. 5. If you are using multiple source groups, repeat steps 2 through 4 for each. Note Use the inverse telecine feature only with a video source that was previously telecined with a frame rate of 30 fps. Make sure that Inverse telecine is not selected when capturing screens. Related topics • Optimizing the quality of your video encoding Editing display and attribute information Both the display and attribute information are optional entries. Display information includes facts about your content such as the title, author, copyright, rating, and description. Users see this information in Windows Media Player when viewing your content. Attributes contain information about the content that you want to include in the encoded stream such as the creation date, source file, editor’s name, and so on. You can extract these attributes by using search tools or other custom applications that are built using the Windows Media Format 7.1 SDK. Related topics • To edit display information • To edit attributes To edit display information 1. On the Session menu, click Properties. 2. Click the Display Information tab. 3. In Title, Author, Copyright, Rating, and Description, type the appropriate information. These fields are optional. 4. Click OK. Related topics • Editing display and attribute information - 29 -
  34. 34. To edit attributes 1. On the Session menu, click Properties. 2. Click the Attributes tab. 3. Select the attribute that you want to edit, and then click Change. –or- Click New to create an attribute. 4. Type a name and a value for the attribute, and then click OK. Related topics • Editing display and attribute information Changing the selected profile If, after configuring your session and encoding some content, you decide that the selected profile is not meeting your needs, you can select a different one, edit the one you are using, or create a new one. If you are currently encoding content, you must wait until encoding is complete or stop the encoder before making any changes to the profile. Note When you edit the current custom profile in the Session Properties dialog box, you will lose any changes you have made to other settings in that dialog box. To avoid this problem, edit the profile first before changing any other settings. For more information about creating or editing profiles, see the Profile Manager Help. Related topics • To change the selected profile To change the selected profile 1. On the Session menu, click Properties. 2. Click the Profile tab. 3. In Profile, select a profile from the list. 4. To edit the current profile, click Edit. –or- To create a new profile, click Manage. 5. Click OK. Related topics • Changing the selected profile - 30 -
  35. 35. Windows Media Encoder Changing the output settings The output of an encoding session is content that is either broadcast live or saved to a file. You specify the desired output when you configure the encoding session using the New Session Wizard. Once a session is configured, you can change the specified file, create an archive from a broadcast, and so on. The following list defines the types of changes you can make and when: • Before or after encoding, you can: • Change the output port for a live broadcast. • Select or cancel archiving to a file. • Change the name or location of the output file. • While encoding, you can: • Select or cancel archiving to a file. • Change the name of the archive file if you are not currently archiving. • While encoding, you cannot: • Change the port number. • Change from a broadcast session to an encode-to-file session. Related topics • To change the output settings To change the output settings 1. On the Session menu, click Properties. 2. Click the Output tab. 3. Select the desired output. If you select Encode to file or Archive to file, type or browse for the output file name. 4. Click OK. Related topics • Changing the output settings Indexing your content Indexing enables you to make use of the fast-forward and rewind features of the player while viewing encoded content. Indexing is turned on by default whenever you archive or encode to a file. Indexing is not available for live broadcast scenarios. Use the procedures in this section to turn the indexing feature on and off. - 31 -
  36. 36. Related topics • To turn on indexing • To turn off indexing To turn on indexing 1. On the Session menu, click Properties. 2. Click the Output tab. 3. Select the Add index to file check box. 4. Click OK. Related topics • Indexing your content To turn off indexing 1. On the Session menu, click Properties. 2. Click the Output tab. 3. Clear the Add index to file check box. 4. Click OK. Related topics • Indexing your content Encoding content After you have set up a session, you can encode content. If you are broadcasting a live event, the stream begins shortly after you start encoding. If you are encoding a session with multiple source groups, you can use the Sources panel to switch between the source groups to stream different content. If you want to insert scripts into a stream, use the Script panel. If you are creating an archive of a broadcast, you can use the archive controls on the Control panel to pause and resume archiving while encoding, which helps you to remove portions of the broadcast that you do not want to appear in the archive file. As you are encoding, you can use the Monitor panel to view status information about the session, including time elapsed, bandwidth, and disk space left on the computer. If you are encoding a multiple-bit-rate stream, you can use the Video panel to test the different bandwidths. The topics in this section provide steps for encoding content. - 32 -
  37. 37. Windows Media Encoder Related topics • Setting up an encoding session • To start or stop encoding • To switch between multiple source groups • To insert a script • To set archive options for each source • To display or hide a panel To start or stop encoding To Do this Start encoding from the Control panel On the Control panel, click Start. A message notifies you that encoding has started. Start encoding from the command line Click the Start button, and then click Run. Type wmenc session.wme /start where session.wme is the name of your configuration file. Use this command in conjunction with Windows Scheduled Tasks to run the encoder automatically. Stop encoding On the Control panel, click Stop. A message notifies you when encoding has stopped. A summary of the session results is available in the Encoding Results dialog box. Related topics • Encoding content • Setting up an encoding session • To switch between multiple source groups • To insert a script • To set archive options for each source • To display or hide a panel To switch between multiple source groups 1. On the View menu, click Sources Panel. 2. On the Sources panel, click the source group you want to start with, and then start encoding. 3. To switch to a different source group, on the Sources panel, click the button for that source group. Note You can change the order in which source groups are displayed in the Sources panel. Open the Session Properties dialog box, click a source group, and then click Move up or Move down. - 33 -
  38. 38. Related topics • Encoding content • Setting up an encoding session • Understanding sources and source groups • To start or stop encoding • To display or hide a panel Capturing and encoding screens The screen capture feature of Windows Media Encoder enables you to capture your entire desktop, individual windows, or a region of the screen and broadcast them or encode them to a file just as you would any other content. You can use the screen capture feature for: • Capturing from .avi files that were created with a third-party screen-capture utility. • Capturing directly from your desktop. • Capturing from a card that is connected to a scan converter device. Note Artifacts can be introduced when an analog signal is run through a scan converter and converted to NTSC. These artifacts are amplified during encoding and can degrade the quality of the encoded video. Because of the amount of data being manipulated and the CPU power necessary to compress it quickly, capturing screen images is a performance-intensive process. The power of your computer, the size of the screen being captured, the color depth of the display (256 colors, 16-bit, and so on), and the specified frame rate all have an effect on performance. Also, the quality of your encoded screen images can be affected by the amount of motion that occurs during the encoding process. The Windows Media Screen codec is designed specifically for capturing large areas that involve little movement. (Using the codec to capture a motion video, for example, will not give good results.) Use the following guidelines to ensure that the screen image you capture will encode and play well: • Set your monitor to use a lower display size. For example, capturing at a 1024 x 768 yields more data than capturing at 640 x 480. • Set your monitor to use 256 colors or 16-bit color. • Use a profile that includes the Windows Media Screen codec. • Use a low frame rate in the profile. • Avoid multiple scene changes, such as opening and closing windows in rapid succession, during the capture. • Avoid changing the profile. • Capture screens or regions from the primary monitor only when using a dual-monitor scenario. - 34 -
  39. 39. Windows Media Encoder If you are capturing to a file, the main encoder window is minimized while the screen is being captured so you can monitor the encoding statistics and the input and output images. Restoring the window to its regular size stops the encoding session. If you do not want the encoder window to minimize while a screen is being captured, on the Tools menu, click Options, click the General tab, and then clear Minimize main window to capture screen. Note If you are capturing a screen for broadcast and have selected a broadcast port, the encoder window does not minimize while the screen is being captured. Broadcasting a screen capture session overrides the Minimize during screen capture session, then stop on restore setting on the General tab. Windows Media Encoder includes three system profiles that make use of the Windows Media Screen codec. Use them when capturing a screen directly from the encoder or when sourcing from files (such as .avi) that contain screen capture content. The three screen capture profiles are: • Screen capture (live) for dial-up modems (28.8 Kbps). This profile is designed for encoding on a wide range of computer systems and is tuned for real-time or live capture. A lower frame rate setting is used to improve performance during capture, which can be an issue on less capable computers. The target audience has a dial-up modem connection (28.8 Kbps), and the output video resolution will match the resolution of the source (for example, the entire screen, selected window, and so on). • Screen capture for dial-up modems (28.8 Kbps). This profile has a setting of 5 fps. It creates a smoother video capture but requires more processing power from your CPU. The target audience has a dial-up modem connection (28.8 Kbps) and the output video resolution will match the resolution of the source file or capture device. • Screen capture for e-mail and dual Integrated Services Digital Network (ISDN) (128 Kbps). This profile has a setting of 10 fps. The target audience has a connection of 100 Kbps or more. Use this profile with content intended for distribution by e-mail or local playback. The output video resolution will match the resolution of the source file or capture device. For more information about creating a screen capture profile, see the Profile Manager Help. Related topics • To create a screen-capture profile • To capture and encode a screen • Understanding profiles • Optimizing the quality of your video encoding • To encode an .avi file containing screen content - 35 -

×