Shows how to implement a video effect as a Media Foundation Transform (MFT). The grayscale MFT converts YUV video to grayscale by setting the chroma values in the video to neutral. The MFT accepts uncompressed video in UYVY, YUY2, or NV12 formats.
This sample demonstrates the following Microsoft Media Foundation interfaces:
The MFT_GrayScale sample builds a DLL that is a COM server for the MFT. Before using the MFT, you must register the DLL.
|Windows SDK||Windows 7|
This sample is available in the following locations.
|Windows SDK||SDK Root\Samples\multimedia\mediafoundation\mft_grayscale|
- About YUV Video
- Media Foundation SDK Samples
- Media Foundation Transforms
- MFT_AudioDelay Sample
- Writing a Custom MFT