MFPKEY_COMPRESSIONOPTIMIZATIONTYPE Property

Specifies the optimal visual quality settings to use for the Windows Media Video 9 Advanced Profile encoder.

Constant for IPropertyBag

g_wszWMVCCompressionOptimizationType

Data Type

VT_I4

Default Value

0

Remarks

This property provides a quick way to configure a number of video encoding options. It may be set to one of the following values.

Value Description
0 The codec will not force optimization and will use whatever features are specified by other properties. In many cases, the codec will use internal logic to determine settings if they are not specified. This is the default value.
1 Enables the features that will produce the best visual quality.Using this value configures the codec as if you had set the following properties:
If you set any of the properties in the previous list, the value you set overrides the values associated with this setting, except for MFPKEY_COMPLEXITYEX.

 

Setting the value of the MFPKEY_COMPRESSIONOPTIMIZATIONTYPE property to 1 also has the effect of setting the Dquant Option registry setting to 2, and the Motion Vector Cost Method registry setting to 1.

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