Share via


MFPKEY_MOTIONSEARCHLEVEL Property

banner art

Specifies how color information is used in motion search operations.

Constant for IPropertyBag

g_wszWMVCMotionSearchLevel

Data Type

VT_I4

Default Value

0

Remarks

This property may be set to one of the following values.

Value Video information used
0 Luma only.
1 Luma with nearest-integer chroma.
2 Luma with true chroma.
-1 Macroblock-adaptive with true chroma.
-2 Macroblock-adaptive with nearest-integer chroma.

By default, the codec performs motion search only in the luma channel. Including chroma information in motion estimation can significantly improve the quality of encoded video. Motion search with luma and true chroma will yield the best video quality, but at the highest performance cost. The two dynamic modes (-1 and -2) and the luma with nearest-integer chroma mode will provide reasonable compromises between quality and performance.

Applies To

This write-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