IWMCodecInfo interface

The IWMCodecInfo interface retrieves the number and types of codecs available. You can use this interface to get information about supported compressed data formats for creating custom profiles.

Individual codec formats exist only for audio codecs. The characteristics of compressed video will vary based upon the frame size and color depth of the original digital media and, therefore, cannot be predicted until the time of encoding.

An IWMCodecInfo interface exists for each profile manager object. You can obtain a pointer to an instance of this interface by calling the QueryInterface method of any other interface in the profile manager object, typically IWMProfileManager.

The methods of the IWMCodecInfo interface are inherited by IWMCodecInfo2 and IWMCodecInfo3.

Methods

The IWMCodecInfo interface has these methods.

Method Description
IWMCodecInfo::GetCodecFormat The GetCodecFormat method retrieves one format supported by a specified codec. This method retrieves a pointer to the IWMStreamConfig interface of a stream configuration object containing the stream settings for the supported format.
IWMCodecInfo::GetCodecFormatCount The GetCodecFormatCount method retrieves the number of formats supported by the specified codec. Each codec format is a stream configuration that is valid for use with the codec.
IWMCodecInfo::GetCodecInfoCount The GetCodecInfoCount method retrieves the number of supported codecs for a specified major type of digital media (audio or video).

Requirements

   
Target Platform Windows
Header wmsdkidl.h

See also

IWMCodecInfo2 Interface

IWMCodecInfo3 Interface

IWMProfileManager Interface

Interfaces

Profile Manager Object