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.

CBR and VBV settings for minimum latency

Hi,

I am using C6678 multi-core DSPs to encode the screen captured data into h264 format using H264 High Profile encoder (version 1.0.1.4) and I am streaming it to VLC player over the network. We need minimum latency for h264 encoding and for that we want to use CBR (Constant Bit Rate) and VBV (Video Buffering Verifier) settings. Is there any parameter which is used to set the VBV buffer value? and what should be the value of VBV buffer to get the minimum possible latency?

Thank you,

Harshal Patel

HPC Systems Engineer

Signalogic Inc.

  • Hi Harshal,

    As you know, CBR has faster convergence to meet the bit rate. Config parameters initialBufferLevel and HRDBufferSize will tune the VBV buffer internally. They are set as following:
    2*targetBitRate for VBR and
    0.5 *targetBitRate for CBR .

    Latency can be further reduced to sub frame level with slice level call back function.
    Please see user guide Appendix B for that. Also see "putDataFxn" in test application.

    You can see options like high speed mode also by selecting from encoderpreset.

    Thanks and regards
    Sudheesh