Hi,
I used the Microsoft Media Foundation samples (namely MFCaptureToFile) to capture H264 frames from my webcam and write them to a file.
I'm trying to use IMFTransform to decode the captured frames and get the underline images out (YUV, BMP, whatever).
However, the ProcessInput method never returns with MF_E_NOTACCEPTING, and the ProcessOutput method always return MF_E_TRANSFORM_NEED_MORE_INPUT.
I basically read every frame and call ProcessInput on it.
Any ideas? Can someone modify the MFCaptureToFile sample to show me how it is done? I'm doing all my processing under CCapture::OnReadSample.
Any help would be greatly appreciated!
Ido