MFSampleExtension_Interlaced attribute

Indicates whether a video frame is interlaced or progressive. If TRUE, the frame is interlaced. If FALSE, the frame is progressive. If not set, the media type describes the interlacing. This attribute applies to media samples.

Data type

BOOL stored as UINT32

Get/set

To get this attribute, call IMFAttributes::GetUINT32.

To set this attribute, call IMFAttributes::SetUINT32.

Applies to

IMFSample

Remarks

For video content that contains mixed progressive and interlaced frames, set the media type to interlaced and use this attribute on each frame to indicate whether the frame is progressive or interlaced.

For video content that is entirely interlaced, set the media type to interlaced and omit this attribute, or set it to TRUE on every sample.

For video content that is entirely progressive, set the media type to progressive and omit this attribute, or set it to FALSE on every sample.

The GUID constant for this attribute is exported from mfuuid.lib.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps | UWP apps]
Minimum supported server
Windows Server 2008 [desktop apps | UWP apps]
Header
Mfapi.h

See also

Alphabetical List of Media Foundation Attributes

IMFAttributes::GetUINT32

IMFAttributes::SetUINT32

IMFSample

Sample Attributes

Media Samples

Video Interlacing