Resource Page DescriptionSample applications that demonstrate Media Foundation.
| Sample Name | Click on File to Download | Description |
| All MF Samples | MFSamples.zip | Contains all of the Media Foundation SDK samples in a single zip file. |
| ASF Parser | ASFParser.zip | Shows how to parse data from an Advanced Systems Format (ASF) file by using the low-level ASF components in Media Foundation. |
| Audio Clip | AudioClip.zip | Shows how to use Media Foundation to decode audio from a media file. |
| Decoder | Decoder.zip | Shows how to write a decoder for Media Foundation. |
| DXVA2_VideoProc | DXVA2_VideoProc.zip | Shows how to use Microsoft DirectX Video Acceleration High Definition (DXVA-HD). |
| DXVA-HD | DXVA_HD.zip | Shows how to use DXVA Video Processing. |
| EVR Presenter | EVRPresenter.zip | Shows how to implement a custom presenter for the Enhanced Video Renderer (EVR). |
| MFCaptureD3D | MFCaptureD3D.zip | Shows how to preview video from a video camera, using Direct3D to render the video. |
| MFCaptureToFile | MFCaptureToFile.zip | Shows how to capture video from a camera to a file. |
| MFPlayer | MFPlayer.zip | Demonstrates advanced audio/video playback using the Media Session. |
| MFPlayer2 | MFPlayer2.zip | Demonstrates playback using the MFPlay APi. |
| MFT Audio Delay | MFT_AudioDelay.zip | Shows how to implement an audio effect as a Media Foundation Transform (MFT). |
| MFT Grayscale | MFT_Grayscale.zip | Shows how to implement a video effect as a Media Foundation Transform (MFT). |
| MPEG1 Source | MPEG1Source.zip | Shows how to write a custom media source in Media Foundation. |
| Protected Playback | ProtectedPlayback.zip | Shows how to play protected media content in Media Foundation. |
| SimpleCapture | SimpleCapture.zip | Shows how to preview video from a video capture device, using the MFPlay API. |
| SimplePlay | SimplePlay.zip | Shows how to play a media file using the MFPlay API. |
| Transcode | Transcode.zip | Shows how to reencode a media file to Windows Media format. |
| Video Thumbnail | VideoThumbnail.zip | Shows how to use Media Foundation to extract thumbnail images from a video file. |
| Wav Sink | WavSinkSample.zip | Shows how to implement a custom media sink in Media Foundation. |
| Wav Source | WavSource.zip | Shows how to create a custom media source in Media Foundation. |
For more information, see Media Foundation SDK Samples in the MSDN Library.
|