I'm trying make a video conference applicaton, in first i had made the encoder module, so it's ready and now i'm working in the decoder.
My problem is to set up the mfxVideoParam structure;
I know the parameters that encode module is using so my idea is simply putting them in the mfxVideoParameter of the decoder and init it, but always get the error MFX_ERR_INVALID_VIDEO_PARAM in return.
I tried to run the project sample_decode to see how the parameters looks like in the structure after calling the method DecodeHeader but could not find any video file that the sample could read, the sample always stops while trying to retrieve the parameters with the DecodeHeader method.
since I'm trying to decode a video stream and not a file with a header, I believe that the method DecodeHeader not serve but found no example that shows the decode without using this method.
i know that could be a elementary question but i made my research and i failed to discover any input file to the sample decoder works fine.
thanks for the attention and sorry for the poor english,