See the ProcessOutput documentation for details about handling format changes. When the decoder receives enough input samples to produce an output frame, it signals a format change by returning MF_E_TRANSFORM_STREAM_CHANGE from IMFTransform::ProcessOutput. If the input type contains only these two attributes, the decoder will offer a default output type, which acts as a placeholder. MFVideoFormat_H264 or MFVideoFormat_H264_ES The input type must contain at least the following two attributes: Attribute The CLSID for the decoder is CLSID_CMSH264DecoderMFT, declared in wmcodecdsp.h. Call the MFTEnum or MFTEnumEx function.To create an instance of the decoder, do one of the following:
The H.264 video decoder exposes the following interfaces. The Media Foundation H.264 video decoder is a Media Foundation Transform that supports decoding of Baseline, Main, and High profiles, up to level 5.1.