I want to encode Desktop Duplication API frames to send over the network after encoding them with Media Foundation. I\'m stuck with a E_NOTIMPL error when I call IMFTransfor
The first thing to do, is to check if your encoder is MF_SA_D3D11_AWARE
I think it does not, reading this : MFT_MESSAGE_SET_D3D_MANAGER
If an MFT does not support this message, it should return E_NOTIMPL
But one thing is strange : DirectX Surface Buffer
Call IMFMediaBuffer::Lock. Generally this is not recommended, because it forces the object to copy memory from the Direct3D surface and then back again.
ProcessInput should have worked.