Partager via


MFPKEY_COMPLEXITYEX Property

Specifies the encoder algorithm complexity.

Constant for IPropertyBag

g_wszWMVCComplexityEx

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

 

Possible Values

The possible values depend on the version of the video encoder, as shown in the following table.

Encoder version Possible values
Windows Media Video 9 encoder 0, 1, 2, 3, 4, 5
Windows Media Video 7/8 encoder 0, 1

 

Remarks

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. This can be important when encoding content from a live source because the encoder must process inputs fast enough to keep up with the source.

Any value assigned to this property will be ignored if the MFPKEY_COMPRESSIONOPTIMIZATIONTYPE property is set to 1. In that case, MFPKEY_COMPLEXITYEX is automatically set to 3.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Wmcodecdsp.h

See Also

Properties

 

 

Send comments about this topic to Microsoft

Build date: 4/7/2010