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.

dm365 h264-Encoder bitrate cannot be controlled to max

Hi,Everybody.

I use DM365 + DVSDK4.0.0.21 + H264Codec2.30.00.04 to encode a D1@Pal video and transmit it through a wireless device, whose bandwidth is 1.3Mbps max.

Encoder params use SLICE+GOP+VBR.

The average bitrate is 800Kbps,and I don't want to exceed to 1Mbps, But I cannot control the max bitrate. When in some scene, the bitrate will go to 2.5Mbps, which is unacceptable.

I have try CBR, but there is a "breathing" reflection(picture will shake in every IDR frame).

So VBR is the only way to achieve it?

Here is sample param settings:

stStaticEncodeParams.videncParams.encodingPreset = XDM_HIGH_QUALITY;

stStaticEncodeParams.videncParams.rateControlPreset = IVIDEO_STORAGE;

stDynamicEncodeParams.rcQMax = 45;
    stDynamicEncodeParams.rcQMin = 0;
    stDynamicEncodeParams.rcQMaxI = 42;
    stDynamicEncodeParams.rcQMinI = 0;

stDynamicEncodeParams.rcAlgo = 1;
    stDynamicEncodeParams.maxDelay = 100;

and the max bitrate is not work:

stDynamicEncodeParams.maxBitrateCVBR = 900000; or

stStaticEncodeParams.videncParams.maxBitRate = 900000;

So how can I use VBR but not exceed 1Mbps?

Here is my settings:

2235.h264param.txt