IWMEncProfile Interface

Windows Media Encoder SDK banner art

The IWMEncProfile interface is used to retrieve the name, description and media types for a specific profile. Windows Media Encoder compresses input streams according to a profile tailored to both the content being broadcast and the expected bandwidth of the client computer. Multiple profiles can exist during an encoding session, but only one can be applied to a source group at any time.

Profiles identify the media type of the encoded output stream, the target audience bandwidth, and whether the output stream can be encoded at multiple bit rates. Only one profile can be associated with a specific source group, and only one source group can be encoded at a time. System-defined profiles cannot be changed or removed, but user-defined profiles can be added. To edit a profile, use the IWMEncProfile2 and IWMEncAudienceObj interfaces. You can also use the IWMEncProfileManager interface to create the predefined dialog boxes that edit and list profiles.

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

Method Description
get_AudienceCollection Not implemented in this release.
get_Description Retrieves a profile description.
get_MaxPacketSize Retrieves the maximum size, in bytes, of the Windows Media data units generated during encoding.
get_MediaCount Retrieves the number of audio, video, HTML, and script streams supported by a profile.
get_MinPacketSize Retrieves the minimum size, in bytes, of the Windows Media data units generated during encoding.
get_MultipleBitrate Retrieves a Boolean value indicating whether the profile supports multiple-bit-rate-encoded output.
get_Name Retrieves the name of the profile.
put_MaxPacketSize Specifies the maximum size, in bytes, of the Windows Media data units generated during encoding.
put_MinPacketSize Specifies the minimum size, in bytes, of the Windows Media data units generated during encoding.

See Also