This small project shows how to set up Media Foundation H.264 Video Decoder transform to process raw H.264 ES.
The project comes with a sample file derived from MSDN Forums question
Build the project and run from debugger. The project will pick up test.mp4.h264 file and process it decoding video frames. The will be MFSampleExtension_FrameCorruption
information included in the output.
Sample project output is included.
- See #1 to find out how hardware assisted decoding is different; the branch uses Direct3D 11 device and DXGI device manager with the decoder and obtains decoded frames in Direct3D 11 textures