MF_SOURCE_READER_ENABLE_ADVANCED_VIDEO_PROCESSING attribute

Enables advanced video processing by the Source Reader, including color space conversion, deinterlacing, video resizing, and frame-rate conversion.

Data type

BOOL stored as UINT32

Remarks

If this attribute is TRUE, the Source Reader can insert a video processor into the processing pipeline, which enables the following types of format conversion:

  • Color space conversion (YUV to RGB-32)
  • Deinterlacing
  • Video resizing
  • Frame-rate conversion

If this attribute is TRUE, the MF_READWRITE_DISABLE_CONVERTERS attribute must be FALSE.

The Source Reader looks for video processors that are registered in the MFT_CATEGORY_VIDEO_PROCESSOR category, including MFTs that are registered for the local process. (See MFTRegisterLocal for more information about local registration of MFTs.) The Source Reader uses the Transcode Video Processor (XVP) if no other suitable video processor is found.

The application specifies the desired output type by calling IMFSourceReader::SetCurrentMediaType. When the Source Reader configures the video processor, it attempts to match the following attributes of the output type:

This attribute is similar to the MF_SOURCE_READER_ENABLE_VIDEO_PROCESSING attribute, but offers the following advantages:

  • A greater range of format conversions is supported.
  • Applications can register their own converters.
  • Some conversions can be performed in hardware using the GPU.

Requirements

Requirement Value
Minimum supported client
Windows 8 [desktop apps | UWP apps]
Minimum supported server
Windows Server 2012 [desktop apps | UWP apps]
Header
Mfreadwrite.h

See also

Alphabetical List of Media Foundation Attributes

Source Reader

Source Reader Attributes