Media Foundation is a technology only for Vista, and as I understand it, it is supposed to replace DirectShow in the future. The reason WPF needs WMP v10 + is because milcore uses WMP OCX internally. The WMP v10 + OCX functions allow the mikor to use the Enhanced Video Renderer (EVR), which, in turn, uses its own presenter to render directly to the D3D surface and ultimately in WPF. In Vista, WMP will use the Media Foundation path through DirectShow if the media is supported (i.e. WMV files).
I have an alternative. My project is "WPF MediaKit" . I have a WPF control called MediaUriElement similar to MediaElement. It does not require WMP. The downside is that it uses the D3DImage class, available only in .NET 3.5 SP1.
Jeremiah morrill
source share