MFPKEY_VTYPE Property

Specifies the logic that the codec will use to detect interlaced source video.

Constant for IPropertyBag

g_wszWMVCVType

Data Type

VT_I4

Default Value

0

Remarks

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

Value Description
0 The codec will use the standard frame-type detection logic.
1 The codec will treat all source video frames as interlaced frames.
2 The codec will treat all source video frames as fields of interlaced video.
3 The codec will automatically determine whether input video frames are interlaced frames or fields of interlaced video.
4 The codec will automatically determine whether input video frames are progressive frames, interlaced frames, or fields of interlaced video.

 

This property determines the picture encoding method used for progressive or interlaced video encoding.

If no video type is specified, the codec will use progressive frame encoding for progressive encoding sessions, and field interlaced encoding for interlaced encoding sessions. The type of video encoding session (progressive or interlaced) is set by using the MFPKEY_INTERLACEDCODINGENABLED property.

Note

The MFPKEY_INTERLACEDCODINGENABLED property must be set to VARIANT_TRUE in order to produce interlaced output; otherwise, setting the MPFKEY_VTYPE property will have no effect.

 

When interlaced video is being encoded, it is possible to specify several picture encoding methods. Typically the most efficient way to encode interlaced video is to use the field interlaced method (2). If the source video contains very little motion, the frame interlaced method (1) or the auto frame/field method (2) might be more suitable.

When encoding mixed content (containing both progressive and interlaced frames), it's best to use the value auto frame/field/progressive method (4).

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