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.

Bitrate is fluctuating with CBR also,when resolution is 720p in SDK5.0

Bitrate is fluctuating +-200KBPS with CBR(constant bit rate) ,when resolution is 720p on DM365.We are using SDK5.0. If other resolutions(D1, 4CIF,VGA etc) are selected then bit-rate is coming fine .

Please give your valuable suggestions to resolve this issue 

  • Hi,

    What is the target bitrate you are setting for 720p resolution?. Can you send the generated stream and complete codec parameters?

    Thanks

  • Hi Veeranna,

    I have checked with 512KBPS, 1 MBPS, 2 MBPS and 3 MBPS ,same behavior is coming in each case. Complete codec parameters are below :

    Compression : H264

    Resolution   : 720p

    FPS               : 30

    Bit rate          : 512/1/2/3

    Rate control : CBR

    Please check the attached video also , this video with 512 KBPS and 720p.

  • Hi

    Which tool you are using to measure the bitrate?. The stream you provided has average bitrate as 500Kbps and max bitrate as 520Kbps.

    Some how if you are not happy with generated bits, please increase max Qp to 51 from 42.

    Thanks,

    Veeranna

  • Hi

    We are checking bit-rate  in VLC media player, in this video bit-rate is going from 600 to 450.But movement is not so high.We are facing this issue, when movement is going in front of sensor.

    Check this video , Bit rate is fluctuating from 800 to 340 KBPS, we have set 512.

  • Hi

    512kbps for 720p video with high motion, its difficult for encoder to achieve the target bitrate. 512kbps is too less for 720p video. And Hand movement in the video results INTRA MBs , so the spike in bitrate is expected.

    Option left for application is to increase the maxQP to 51 and set IH264VENC_DynamicParams ->LBRmaxpicsize small value.

    Thanks

  • Hi

    maxQP is already 51 and IH264VENC_DynamicParams ->LBRmaxpicsize = 0

    We have checked video with 1 and 2 MBPS also, same issue is coming.

    Please check this video with 2MBPS.

  • Hi,

    Can you point me at what frame number you are seeing the bitrate overshoot?, if possible please attach images with overshoot information.

    if you set LBRmaxpicsize = 0, codec will take default value. Please see the use guide for its usage.

     

    Thanks,

    Veeranna