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

Constant for IPropertyBag


Data Type


Default Value



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

Value Description
0The codec will use the standard frame-type detection logic.
1The codec will treat all source video frames as interlaced frames.
2The codec will treat all source video frames as fields of interlaced video.
3The codec will automatically determine whether input video frames are interlaced frames or fields of interlaced video.
4The 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).


Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]



See also

Media Foundation Properties