This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

enclink error with Utils_bitbufGetEmptyBuf



The situation is when the links are running ,Utils_bitbufGetEmptyBuf  ( inside encLink_common.c )   return with pOutBuf =NULL. After that  forceAvoidSkipFrame=TRUE and all the frames are skiped.(It works well at the beginning)

And there shows no error, all systems still running.Just the enclink can't get the pOutBuf .

This problem came up with the source of VIP change from sii1161 into fpga.

I think that maybe the fpga can't offer a really standard video source.

Need your help.Any suggestion would be appreaciated. 

Regards

Yang

  • I got where the system goes wrong.

    The process stop at 

    error = ((IVIDENC2_Handle)handle)->fxns->process((IVIDENC2_Handle)handle,inputBufDesc,outputBufDesc,(IVIDENC2_InArgs *)inArgs,(IVIDENC2_OutArgs *)outArgs);

    in  File  encLink_h264.c     Function   Enclink_h264EncodeFrameBatch.

    It's blocking.    Just stop inside this handle)->fxns->process  function,return NO value.

    What would probablely cause this?

    Regards

    Yang