[cpp]sts = pEncoder->m_mfxVideoSession.SyncOperation(*it->psyncP, 0);[/cpp]returns with -1 (MFX_ERR_UNKNOWN), afterwards the graph is stopped. This happens only when using high resolutions. The same statement returns always 1 (MFX_WRN_IN_EXECUTION) when using low resolutions.
Thats a lot of data coming from the camera at those resolutions. Usually, Cameras will output MJPEG for Hi-def. Does your camera support this? Can you change the graph to:
Camera->MJPEG Decompressor -> Intel Media SDK Encoder -> Intel Media SDK Decoder -> Render
The MJPEG Decompressor usually output RGB32, and we added RGB32->NV12 in the encoder filter using VPP for this purpose. Thus, you will be able to eliminate the color conversion filter from the graph.