MFPlayer2 Sample


Deprecated. This API may be removed from future releases of Windows. Applications should use the Media Session for playback.


Demonstrates some of the playback features that are omitted from the SimplePlay sample, such as:

  • Seeking
  • Rate control (fast forward and rewind)
  • Audio volume and mute controls
  • Video zoom

The following image shows the controls used for these features.

screen shot of the mfplayer sample

APIs Demonstrated

This sample demonstrates the following APIs.


Product Version
Windows SDK Windows 7


Downloading the Sample

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

Media Foundation SDK Samples

Using MFPlay for Audio/Video Playback