Decoder Sample

Shows how to write a decoder for Microsoft Media Foundation.

This sample implements a mock MPEG-1 video decoder that displays the time code for each video frame. It does not actually decode the MPEG-1 bitstream. The following image shows the video output from the decoder.

screen shot of a video frame from the decoder

Note

Prior to the Windows SDK for Windows 7, this sample was included as part of the MPEG1Source Sample.

 

APIs Demonstrated

This sample demonstrates the following Media Foundation interfaces:

Requirements

Product Version
Windows SDK Windows 7

 

Downloading the Sample

This sample is available in the Windows classic samples github repository.

Media Foundation SDK Samples

Media Foundation Transforms

Writing a Custom MFT