MFPKEY_COMPLEXITY Property

[MFPKEY_COMPLEXITY is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use MFPKEY_COMPLEXITYEX.]

Specifies the encoder algorithm complexity.

Constant for IPropertyBag

g_wszWMVCComplexityMode

Data Type

VT_I4

Default Value

The default value depends on the version of the video encoder, as shown in the following table.

Encoder version Default value
Windows Media Video 9 encoder 3
Windows Media Video 7/8 encoder 1

 

Remarks

This integer value ranges from 0 to 3. Lower values cause the codec to use less complicated encoding algorithms. Although the simpler algorithms produce lower-quality output, the encoding process is faster and requires less processing power.

Requirements

Requirement Value
Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Wmcodecdsp.h

See also

Media Foundation Properties