I have the transcoding module which extracts the SPS/PPS information from the H.264 encoder by calling the encoder's GetVideoParam() method. Usually (or to say the least: on several machines) this call fills out the SPSBuffer / PPSBuffer members of mfxExtCodingOptionSPSPPS structure.
On one particular machine, the outcome of this call is that SPSBuffer / PPSBuffer are set to NULL, and the return value ends up being MFX_ERR_NONE. Waiting for this condition to change and repeating the calls after the encoding goes on for a while does not change the things at all - I never get back the desired SPS/PPS values.
Since I am embedding the encoded H.264 stream into a container format(s) of choice, I need to form the decoder configuration record, for which the SPS/PPS blobs are needed.
Wonder if there is a workaround for this problem ?
More data about the 'troubled' system:
- Lenovo W520
- CPU is Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz
- Device Manager lists under the 'Display Adapters' section: 'Intel(R) HD Graphics Family' + 'NVIDIA Quadro 1000M'