Hi Rajat,
As I have mentioned, further debug showing that the m3video stuck at calling "Enclink_h264EncodeFrameBatch", when it start executing the following line, it doesn't quit.
error = ((IVIDENC2_Handle)handle)->fxns->process((IVIDENC2_Handle)handle,inputBufDesc,outputBufDesc,(IVIDENC2_InArgs *)inArgs,(IVIDENC2_OutArgs *)outArgs);"
And I have trace the code that, it should get the empty buffer ready before doing submit the batch for encoding.
Anyway, my use case is modified from "multich_encode_decode.c", please see the attachment.