Expand Minimize

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

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfapi.h

See also

IMFAttributes::GetUINT32
IMFAttributes::SetUINT32
IMFSample
Sample Attributes
Media Samples
Video Interlacing

 

 

Community Additions

ADD
Show:
© 2014 Microsoft