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

DSP plugin - works fine with MPG, but not with PMP
andradrr
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:
Can you try disabling DXVA and see if that helps your DMO
kevinj
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
Can anyone from Microsoft at least confirm this
R.Tutus
Try reposting somewhere like here: http://groups.google.com/group/microsoft.public.windowsmedia.player/topics lnk=sg&hl=en