Share via


MFPKEY_FORCEFRAMEHEIGHT Property

banner art

Specifies an intermediate frame height for encoded video.

Constant for IPropertyBag

g_wszWMVCForceFrameHeight

Data Type

VT_I4

Remarks

You can set this value and the MFPKEY_FORCEFRAMEWIDTH property to force the encoder to encode the video stream with a frame size that is smaller than the input or output frame sizes. When decoded, the video will be resized to its original input resolution.

Valid frame dimensions on either axis are 32 to 8192 pixels. Frame dimensions must be divisible by 32 and will be rounded up to the nearest multiple of 32 if you specify a non-conformant size.

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