Share via


MFPKEY_DECODERCOMPLEXITYPROFILE Property

banner art

Specifies the device conformance template to which the encoded content conforms.

Constant for IPropertyBag

g_wszWMVCDecoderComplexityProfile

Data Type

VT_BSTR

Remarks

You can read this value only after encoding is completed.

This property must be one of the following values:

Value Description
"AP" advanced profile (available only on Windows Media Video 9 Advanced Profile codec)
"CP" no longer supported
"MP" main profile
"SP" simple profile

For video content, you can request a profile level by setting MFPKEY_DECODERCOMPLEXITYREQUESTED before you begin encoding. The codec will attempt to encode within the parameters of the requested complexity level, but the other settings that you configure will take precedence. You should always check the actual complexity profile value after encoding in case your request could not be honored.

Applies To

This read-only property is available on the encoder of the following codecs:

Requirements

Client: Requires Windows Vista or Windows XP.

Header: Include wmcodecdsp.h.

See Also