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.

Two questions re: CVBR and interpreting error results

I have two questions:

  1. I'm trying to test out the CVBR feature in the H.264 2.1 encoder, but I can't seem to get a configuration that doesn't throw an error when I go to configure my dynamic params.  Could someone share with me encoder settings that successfully create and configure an encoder to use CVBR for rate control?
  2. I do not understand how to interpret the error results I get from calls like VIDENC1_create() and VIDENC1_control(); I know I can examine the extended error, but there's no clear way I've seen to map them to the error codes outlined in the H.264 encoder.  Anyone know how to do this?

Thanks

  • JNoring ,

    You can get information on CVBR in the link below

    http://processors.wiki.ti.com/index.php/H.264_DM36x_Ver_2.0_Codec#CVBR_Rate_control

    The link below contains description of various rate control modes used in DM36x

    http://processors.wiki.ti.com/index.php/DM36x_Rate_Control_Modes#Custom_VBR1_.28rcAlgo_.3D_6.29

    CVBR uses three parameters maxBitrateCVBR, CVBRsensitivity, maxHighCmpxIntCVBR Make sure these variables are set correctly

    Also could you post the error code thrown by encoder

  • Thanks, I'll try setting those additional parameters today.

    Regarding the error, could you just show me how to parse out the error code myself?  Specifically, how do I take the extended error from VIDENC1_control() and convert that into something from IH264VENC_STATUS?

  • The release package contains a application where error parsing is done.

    Also package contains contains a file a header file ih264venc.h which has all the error codes in it. You can also do the mapping from here.