What is the status of Microsoft Media Foundation?

For me, Media Foundation is really a very nice API to do multimedia programming.

What I can blame, is that Media Foundation's releases don't apply to Windows 7, currently the most popular OS in the world.

Media Foundation has a lot of competitors (DirectShow, Ffmpeg, Gstreamer, etc...). So, more choice, less developers, less tutorials and so on...

I try to promote this API as i can, so here is my work on Media Foundation : MFNode

I cover a lot of scenarios, and you have to check source code to learn.

You will find :

  • audio/video player (win32)
  • custom media session
  • sequencer source
  • audio/video capture
  • screen capture
  • kinect V1 capture
  • wave audio mixer
  • http streaming (winsock)
  • jpeg encoding (Gdiplus)
  • dxva2 technology
  • cuda decoding
  • directX9 renderer and shader
  • COM technology
  • different kind of mediafoundation Source, Sink and Transform (mpeg2, flv, a52, vp6...)
  • mp3 to wave transcoder

EDIT

More MediaFoundation code here : github mofo7777


Firstly I don't know the answer and am someone who has spent way too long trying to get even basic Media Foundation scenarios working; at times it feels more like a quest in search of some long lost secret scripture than programming.

My suspicion is that Microsoft does want to make MF the standard media API for the Windows platform and perhaps the best indication is the Windows Universal App Samples where there are 7 instances of "mfapi.h" but zero instances of "dshow.h". Also the relatively new WPF MediaCapture and MediaElement controls do hook into the Media Foundation APIs so it seems safe to say that for all new work Microsoft are using MF instead of DirectShow.

Wow I see what you mean about Polinger's MF book! I have the book (which I'll now shortly be selling at that price) and can assure you it's definitely not worth it. I've never really found it much help despite re-reading it numerous times. It's pretty much the same as the online docs in that it sticks to a small number of specific scenarios (in fact a number of chapters in the book just re-print the SDK samples) and as soon as you need to do something outside those you are on your own.

In regards to the official MF blog there was a thread on the MSDN forums griping about thing and to which one of the Microsoft guys responded saying they have switched blogging platforms (it obviously would be nice if they could put a note indicating that). Apparently a number of the Microsoft MF devs are still blogging. This seems to be the most "active" one.

Update: If anyone happens to get drawn here due to the Polinger book reference note that the companion code can be downloaded from here (the original link quoted in the book is http://go.microsoft.com/FWLink/?Linkid=229072 which at the time of writing redirects to the aforementioned page).