I am trying to decode H264 encoded frames I receive from an android device.
The frames are encoded using the MediaCodec APIs on the android device and the output of the encoder is streamed to a windows pc.
However, I keep getting "More input samples are required to produce output" error when I try to get output by calling the ProcessOutput function.
I was wondering if there is some format inconsistency between the what i get from the android device and what i feed the Media Foundation H264 decoder.
I have verified that every sample that i feed to the MF decoder is a valid NAL unit(starts with 0x00 0x00 0x00 0x01.
I am able to play the streamed data with VLC after saving it to a file.
I can also upload the streamed data as a file if required.