DSP plugin - works fine with MPG, but not with PMP

I'm trying to create a DSP plugin that works in WMP 11 with both non-WMV and WMV video types.

I got the sample DSP plugin from the Windows SDK 6.0, compiled it and it works fine for MPG videos. When I try it with a WMV video (which causes an instance of mfpmp.exe to be launched, and the DSP plugin then runs in that), I always get the error from WMP that "Windows Media Player encountered a problem while playing the file. For additional assistance, click Web Help."

This happens with my own plugin, which works fine on WMP 10, as well as the sample plugin from the SDK. I have followed all the steps described on MSDN to make my plugin WMP-11 friendly, except for the proxy-stub DLL. However, the SDK plugin _does_ have the proxy-stub DLL, and it still doesn't work with WMF.

When I get the error, if I click "web help" the error is allegedly this:

"You've encountered error message C00D11B1 while using Windows Media Player. The following information might help you troubleshoot the issue."

"Technical details" then yields this:

Original Error Code

Original Error Message

80004001

error message not available


The error 0x80004001, assuming it's an HRESULT, means E_NOTIMPL.

I tried all this running both as an administrative user & LUA under Vista.

If I disable all DSP plugins, the video plays fine, both WMV and MPG. If I enable either my own DSP plugin, or the sample from the SDK, I get the error.

So, what's going on


Answer this question

DSP plugin - works fine with MPG, but not with PMP

  • andradrr

    Ok. Im experiencing difficulty viewing videos it seems to skip or run choppy. like it goes from picture to picture ,the sound too is choppy and skips. Its not just WMP either for nstance it wont play youtube vids correctly or vids on myspace or google. How might I fix such a problem normally know why things like these happen I just dont this time. Im sorry if this is the wrong post. But may anyone help me
  • davidg12

    Actually, DMOs are supposed to work, even when WMP is using Media Foundation to play the content (which is the case for WMV content). Our WMP DSP expert has made the following suggestion:

    You might also try having him disable DXVA. If he's got an nVidia card, there are select few files which will play with DXVA acceleration. A DMO-based video DSP plugin doesn't work with DXVA. You will get that very error message (E_NOTIMPL) from the EVR if you try to pull the buffers back into system memory from video memory.

    If you're an MFT, that's a slightly different story, but it's still not recommended to use system memory processing since it's a HUGE perf bottleneck on AGP cards.

    Can you try disabling DXVA and see if that helps your DMO



  • kevinj

    Hi Becky,

    Thanks for your help in this and the other thread. It's really helpful to get information from someone with the inside scoop...a lot of this stuff doesn't quite seem to have made it into MSDN yet.

    I take the point about not copying buffers from the video card into system memory. I'm guessing the approved way forward is to let DXVA do its thing, and manipulate the buffer in situ, in the video card memory...is that correct Can you point me in the right direction of how to do this Is that something I do through the WMF / DirectX APIs, or would I have to dig into the nVidia / ATI APIs (I hope it's not the latter!)


    -Darren.

  • Le Saint

    Well, from experimenting, it looks like in order to render WMV content, you have to be a MF transform -- using a DMO causes the error described above. This, despite what the SDK sample (which is a DMO) seems to imply.

    Can anyone from Microsoft at least confirm this

  • R.Tutus

    You've posted to a developer newsgroup, whereas your issue is with the consumer side of media playing.

    Try reposting somewhere like here: http://groups.google.com/group/microsoft.public.windowsmedia.player/topics lnk=sg&hl=en

  • DSP plugin - works fine with MPG, but not with PMP