DXVA does not work.
in the CustomPresenter-sample from MC is a bug. GetService to EVR to get the AccelerationService (IDirect3DDeviceManager9) from the Custom Presenter do not work. You can check it by:
bool IsDXVASupported(IBaseFilter evrfilter)
IMFGetService service = evrfilter
int hr = service.GetService(MFServices.MR_VIDEO_ACCELERATION_SERVICE,
IDirect3DDeviceManager9 devman = objToCreate as
return hr == 0 ;
you get always null (NoImplemented). So all filters in the graph can't use DXVA (Software rendering for MPEG2/H.264/VC1).
I have modified the code, no it works. CPU-Load is the same for MPEG2 and H.264 but the video card activity grows up. It is tested with Cyberlik H.264 Filter and Microsoft DTV-DVD Video Decoder Filter.
I don' know how to append the new code, say it and I send it.
sorry for my smal english