Windows Media Support

The LEADTOOLS Multimedia toolkit wraps many of the Windows Media objects and interfaces to provide the maximum flexibility for authoring digital media.

✎ NOTE

If the user is using the Windows Server, it is required to enable/install the Desktop Experience feature for WMV support.

WMV Files

The Advanced Systems Format is the container for the Windows Media-based digital content. Windows Media Video (WMV) is used to store and play back synchronized digital media streams, or to transmit such streams over networks. For more information on the WMV format, refer to the Microsoft documentation on the WMV Format.

Profiles

A profile is a collection of data that describes the configuration of an WMV file that contains at least one stream. The profile contains information about each stream, stream configuration, and the relationships between the different streams (for example, mutual exclusion).

The profile object and its subordinate objects are used to configure various aspects of the profile. Profiles can be saved to disk for later use. For more information on WMV profiles, refer to the following topics:

ltmmWMProfileManager object

ltmmWMProfile object

IltmmWMProfileManager interface

IltmmWMProfile interface

Stream Configuration and Mutual Exclusion

The Stream Configuration object is used to specify stream properties like the stream type, number, name, bit-rate, quality, etc. For more information on Stream Configuration, refer to the ltmmWMStreamConfig object and the IltmmWMStreamConfig interface.

The Mutual Exclusion object helps multiple streams co-exist, and delivers streams one at a time. For more information about the Mutual Exclusion object, refer to the ltmmWMMutualExclusion object and the IltmmWMMutualExclusion interface.

Pushing Data to the Windows Media Server

Push data to a Windows Media Server while compressing for real-time streaming using the LEAD MMS Sink filter (without having to use the Windows Media Encoder utility). The video can be compressed with H264 or with the Windows Media Video codec. For more information on pushing data to a Windows Media Server, refer to Using LEAD MMS Sink.

Adding Script Metadata

You can add script metadata at various points to a Windows Media file using the IltmmWMScript interface and the ltmmWMScript Object.

Script metadata can be detected during playback and playback applications can respond to metadata in various ways. For example, a Windows Media Player could automatically open an URL in a browser whenever an URL command is issued. See the Microsoft documentation, Using Script Commands Supported by Windows Media Player, for a complete list of script commands supported by the Windows Media Player.

Help Version 22.0.2023.1.26
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.