Windows Media Metafiles Overview

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The most important part of successfully using Windows Media metafiles is using the correct syntax for the metafile elements. Syntax errors in a Windows Media metafile can cause anything from a single attribute being overlooked, to the metafile not being recognized as valid and failing to work.

Almost as important is the order in which the elements appear in a Windows Media metafile. The attributes of some elements temporarily override the attributes of similar elements in different sections of the metafile. There is a defined Order of Precedence.

Windows Media metafile playlists are Windows Media metafiles that provide information that Windows Media Player uses to receive unicast streams, multicast streams, and other supported media from an intranet or the Internet. A metafile playlist is basically a shortcut to media content. A metafile playlist can be sent as email, used as a link reference on a webpage, created dynamically using Active Server Pages (ASP), or exist as a stand-alone file on a local disk drive. A metafile playlist can reference another metafile playlist, an ASP page, or a Windows Media station file (with an .nsc file name extension). An .nsc file is used to define a Windows Media station to Windows Media Player. The basic handling process is the same for each case.

About Windows Media Metafiles