IWMEncProfile2 Interface

Windows Media Encoder SDK banner art

The IWMEncProfile2 interface customizes all the aspects of a profile and saves them. You can copy settings from other profiles, add and remove audiences and languages, and specify basic properties.

In addition to the methods inherited from IWMEncProfile, the IWMEncProfile2 interface exposes the following methods.

Method Description
AddAudience Adds a new audience to the current profile.
AddLanguage Adds a language to the profile.
Clear Removes all the audiences from the current profile interface.
Clone Creates a copy of a profile interface.
Compare Compares one profile interface to another, indicating whether the profiles are identical and whether one profile is a subset of the other.
DeleteAudience Removes an audience from the current profile.
DetectCompatibility Detects which version of Windows Media-based content the profile is compatible with, according to its current settings.
EnumAudioCodec Retrieves the name and FOURCC value of a specific audio codec.
EnumAudioFormat Retrieves information about a specific audio format.
EnumVideoCodec Retrieves the name and FOURCC value of a specific video codec.
get_Audience Retrieves a specific audience from the profile.
get_AudienceCount Retrieves the number of audiences in the current profile.
get_AudioCodecCount Retrieves the number of audio codecs supported in the current profile.
get_AudioFormatCount Retrieves the number of audio formats supported by a specific audio codec in the current profile.
get_BroadcastMode Retrieves a value that indicates the video format of the current profile.
get_CompatibilityMode Retrieves the Windows Media version that the current profile supports.
get_ContentType Retrieves the type of content streams that the current profile supports.
get_EnableTimecode Retrieves a Boolean value indicating whether time code is enabled for content created with the current profile.
get_InterlaceMode Retrieves a Boolean value indicating whether the video output will be interlaced.
get_Language Identifies the languages the current profile supports.
get_LanguageCount Retrieves the number of languages in the current profile.
get_NonSquarePixelMode Retrieves a Boolean value indicating whether the profile can produce output with pixels that are not square.
get_ProfileDescription Retrieves the profile description.
get_ProfileName Retrieves the profile name.
get_ValidateMode Retrieves a Boolean value indicating whether profile settings are validated immediately as they are set.
get_VBRMode Retrieves the variable bit rate (VBR) mode of the current profile.
get_VideoCodecCount Retrieves the number of video codecs available in the current profile.
GetCodecFourCCFromIndex Retrieves the FOURCC value of a specific audio or video codec.
GetCodecIndexFromFourCC Retrieves the audio or video codec index for a specific FOURCC value.
LoadFromFile Loads a profile from a saved file.
LoadFromIWMProfile Loads a profile from an IWMProfile or IWMEncProfile interface.
LoadFromMemory Loads a profile from an XML string, which contains the profile data.
Merge Merges the audiences from the current profile with another profile interface.
put_BroadcastMode Specifies the video format of the current profile.
put_CompatibilityMode Specifies the Windows Media version that you want the profile to support.
put_ContentType Specifies the type of content streams that the current profile supports.
put_EnableTimecode Specifies a Boolean value indicating whether time code is enabled for content created with the current profile.
put_InterlaceMode Specifies a Boolean value indicating whether the video output will be interlaced.
put_NonSquarePixelMode Specifies a Boolean value indicating whether the profile can produce output with pixels that are not square.
put_ProfileDescription Specifies the profile description.
put_ProfileName Specifies the profile name.
put_ValidateMode Specifies a Boolean value indicating whether profile settings are validated immediately as they are set.
put_VBRMode Specifies the variable bit rate (VBR) mode of the current profile.
RemoveLanguage Removes a language from the profile.
SaveToFile Saves the current profile to a file.
SaveToIWMProfile Saves the current profile to an IUnknown interface.
SaveToMemory Saves the current profile to an XML string.
Validate Indicates whether the settings in the current profile are valid.

See Also