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.

h264 codec ratecontrol problem

Hi,

We are using dvrrdk4.1 on dm8168 platform.

The testing conditions are H264 codec (REL.500.V.H264AVC.E.IVAHD.02.00.08.00),

CBR mode, allowFrameSkip is TRUE, targetBitrate is 244 kbps, output is 720P@5

we observed some the output frame size is quite small among all frames, around 9 bytes only,

hence it causes the average bitrate output is too low.

as the pic shown below

we have tried tuning the QP, but the result is not very different.

thanks,

  • Moving this post from DM814x to DM816x forum.
  • Hi,
    Can you please try these below:

    1. allowFrameSkip is FALSE.
    2. HRDBufferSize = initialBufferLevel = (½*targetBitRate) for CBR RateControl

    Latest codec release is REL.500.V.H264AVC.E.IVAHD.02.00.09.00
  • Hi Prashanth,

    Thanks for your promptly reply,
    I have tried the suggested setting, allowFrameSkip is FALSE and HRDBufferSize = initialBufferLevel = (½*targetBitRate),
    but the result is still the same.

    BTW, i also observed that

    when

    1. QPmin = 1 and QPmax = 51,

    the average bitrate output is around 45 kbps (45kbps is still too low since target bitrate is 244kbps),

    but there is no frame size = 9 bytes issue

    2. QPmin = 18 and QPmax = 46

    frame size = 9 bytes issue is frequently happened each 1~2 second. 

    I have check those "9 bytes size" frames, all of them are the same as previous frame.

    about the latest h264 codec release version, could you give me the link to download it?

    thank you very much,

  • Hi Dwayne,

    Can you please share all the config params and the encoded bitstream?

    Dwayne Johnson said:
    about the latest h264 codec release version, could you give me the link to download it?

    You will have to contact your local TI FAE for same.