I have an issue using the mfx h264 decoder, after decoding the stream header using "MFXVideoDECODE_DecodeHeader" method, the decoder didn't output any surface and asked infinitely for more data when calling "MFXVideoDECODE_DecodeFrameAsync" method.
The Media SDK sample filters has only been validated with a limited set of filters. The MainConcept filters are not part of the validation so there could be potential compatibility issues that may require changes to the sample code.
You may want to try dumping the elementary stream delivered from the demuxer to a file. This will enable you debug the issue using the Media SDK console samples and other stream analysis tools. If you can, feel free to share the stream or container with us, so that we can take a look at it and provide feedback.
I also suggest exploring alternate demultiplexers to see if the result differs.
Thank you for your help, the problem was the low value of the stack size of the decoding thread (in my code) witch were equal to 4K by increasing this value to 64K I was able to decode my stream correctly.