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.

IPNC RDK 3.5 H.264 codec CBR BitRateMode

Hi,

We are working on DM8127 platform and using IPNC RDK 3.5

H.264 codec version : 02.00.04.01

H264 encoder create time parameter settings are:

maxBitRate = -1;

encodingPreset  = 3

rateControlPreset = IVIDEO_USER_DEFINED;

enableHighSpeed = 0;

format    =  9

profile    = 100

dataLayout = 0

fieldMergeEncodeEnable  = 0

enableAnalyticinfo  = 0

qpMin  = 10

qpMax  = 40

qpInit  = -1

Folowing parameter dynmically set for CBR mode

rateControl = ALG_VID_ENC_RATE_CONTROL_CBR (1)

targetBitRate = <inputBitRate>

reteControl  is set with ENC_LINK_CMD_SET_CODEC_RATECONTROL control command and targetBitRate is set with ENC_LINK_CMD_SET_CODEC_BITRATE.

Is there any possibility that FPS will drop with CBR Mode on DM8127 platform ?

Thanks,

Rachit

  • Hello,

    I will notify the IPNC RDK team for help.

    Regards,
    Pavel

  • Hello,

    Rachit Shah said:
    Is there any possibility that FPS will drop with CBR Mode on DM8127 platform ?

    I am not familiar with IPNC on DM8127 platform but I would recommended you to check the h264 encoder user guide.
     
    In case CBR mode when the skip frame shall not be allowed:
    skipDistributionWindowLength = 5;  //Number of frames over which the skip frames can be distributed
    rateControlParams.numSkipInDistributionWindow = 0;   //Number of skips allowed within the distribution window.
    allowFrameSkip = 0;                     //Controls frame skip. 0 - Frame can never be skipped
    enablePartialFrameSkip = 0;         //Control flag to enable partial frame skip. This is useful with CBR rate control mode

    These params are parts of the rateControlParams structure.
    In CBR mode the maxBitRate shall be equal with targetBitRate.

    Best Regards,

    Margarita