Hi,
Currently I'm working for an application, where it does both decoding as well as encoding. Decoding is working fine.
In Encoding, after intialization, querySurfaces and encoderInit is done.
I'm trying to call "MFXVideoENCODE_EncodeFrameAsync" to encode each frame.
For for the first time, I observed the SyncPoint holds appropriate value which acts as an out-parameter for "EncodeFrameAsync" API.
After that in-order to Synchronize called ("MFXVideoCORE_SyncOperation API), to wait until encoded frame is ready, where I observed the status as "MFX_ERR_GPU_HANG(-21)" .
For the sub-sequent frames I observed the status as "MFX_ERR_GPU_HANG(-21)" from "EncodeFrameAsync" API. So I'm unable to perform sync operation.
Please help me to resolve this issue.
Details :
CodecType : MPEG2
Enviroment : Linux
Media SDK version : 1.28