Media Foundation SDK Samples on Code Gallery

We have published all of the Media Foundation samples from the Windows 7 SDK on MSDN Code Gallery. You can find them here: You will still need to download the Windows SDK in order to build the samples.      


Media Foundation: RC Documentation is Live

The Media Foundation SDK documentation has been updated for the Windows 7 Release Candidate (RC)  Highlights: Updated MFPlay documentation: Source Reader tutorial: New codec and file-format support: Please remember that everything new in the SDK is still pre-release and subject to change. – Mike This posting is provided “AS IS” with…


Windows 7 and new Media Foundation features

Based on a couple of threads in the Media Foundation Development forum, there is some confusion about the status of new Media Foundation features. All of the new features for Media Foundation mentioned here require Windows 7 to run. You can install the Windows 7 SDK on a Windows Vista or XP machine and use…


Introducing the Source Reader

One of the new features in Media Foundation is the Source Reader. Media Foundation, like DirectShow before it, has focused on the end-to-end pipeline. The application passes in a URL and streaming happens on another thread. The application gives commands (play, pause) and gets events (end of stream). While this approach is convenient for playback,…


MSDN TOC issues

It’s been brought to my attention that the MSDN table of contents (TOC) is having some problems, at least in the “Audio and Video” node of the MSDN Library.  1.  The TOC for the Media Foundation documentation is out of sync. Anything that is new for Windows 7 is not in the TOC. So if…


Introducing MFPlay

MFPlay is a new high-level playback API for Media Foundation. Previously, to play a file in Media Foundation, the application had to: Use the source resolver to create a media source. Enumerate the streams and find the media types (audio or video). Construct a partial topology, connecting the streams to the right renderers. Set the…


Windows 7 SDK

The Windows SDK for Windows 7 is available for download! Updated documentation for Media Foundation is also live on MSDN: You can read about what’s new for Media Foundation here: Please remember that everything new in the SDK is beta and subject to change. Over the next few weeks, I will be posting…


Why won’t the VMRPlayer sample play WMV files?

Depending which version of the SDK you have, if you try to play a WMV file using the VMRPlayer sample, you’ll get a message box that says Windows Media files (ASF,WMA,WMV) are not supported by this application And some stuff about a “key provider” and required libraries, etc. Background: WMV playback in DirectShow is built…


Video Test Source Filter

On MSDN Code Gallery, I have posted a DirectSow source filter that generates video in various formats (RGB and YUV). Originally I wrote this filter in order to pass test video content to the EVR. You can configure the format, including interlacing and PAR, and it has a property page for use with GraphEdit.


Recent updates to Media Foundation documentation

Recent updates to the Media Foundation documentation:  I added a topic on DXVA 2.0 Video Processing ( We have been expanding the section on the low-level ASF helper objects, particularly the ASF Splitter: See ASF Support in Media Foundation (