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.

DM8148 EZSDK encoding constant bitrate

Hello,


I am using the custom 8148 board with EZSDK on it,  We are setting tVidEncBitRate.nTargetBitrate to 12Mbps, but its observed sometimes it jumps to 27Mbps as well.

Is it possible to force to fixed bitrate ?

Thanks,

Mike

  • Hello,

    You could check these threads:
    e2e.ti.com/.../1286023

    e2e.ti.com/.../1598607

    BR
    Margarita
  • Hi,

    I am using IH264_ENTROPYCODING_CABAC, but the file which you shared uses IH264_ENTROPYCODING_CAVLC, will the below settings,


    //If ratecontrolpreset is set as user defined then the rcAlgo should be set. In case is set as IVIDEO_LOW_DELAY the rcAlgo should be not set
    tStaticParam.videoStaticParams.h264EncStaticParams.videnc2Params.rateControlPreset = IVIDEO_LOW_DELAY;
    tStaticParam.videoStaticParams.h264EncStaticParams.rateControlParams.rateControlParamsPreset = IH264_RATECONTROLPARAMS_USERDEFINED;
    tStaticParam.videoStaticParams.h264EncStaticParams.rateControlParams.rcAlgo = IH264_RATECONTROL_PRC_LOW_DELAY;
    tStaticParam.videoStaticParams.h264EncStaticParams.videnc2Params.maxBitRate = pAppData->nBitRate;
    tStaticParam.videoStaticParams.h264EncStaticParams.rateControlParams.enablePartialFrameSkip = 1;
    tStaticParam.videoStaticParams.h264EncStaticParams.rateControlParams.allowFrameSkip = 1;
    tStaticParam.videoStaticParams.h264EncStaticParams.rateControlParams.HRDBufferSize = pAppData->nBitRate * 0.5;
    tStaticParam.videoStaticParams.h264EncStaticParams.rateControlParams.initialBufferLevel = pAppData->nBitRate * 0.5;

    Still work for CABC ?

    Thanks,
    Mike
  • Hi Mike,

    Entropycoding cavlc/cabac works irrespective of RateControl type. So cabac will work.

    Regards

    Gajanan

  • Hello,

    You could try with these settings.
    Let us know the result.

    BR
    Margarita