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.

Compiler/DRA745: IVAHD Encode Bitrate abnormal

Part Number: DRA745

Tool/software: TI C/C++ Compiler

hardware: dra745 customized board
software: ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03
 
My application is Driving Recorder.
I set target bitrate as 2M.
Output bitrate will be reached 8M, while a great many of hot pixel on  
input video.   
How to make the bitrate reliable?
bellow are my params.
 
    enc->profile     = IH264_HIGH_PROFILE;
    enc->level       = IH264_LEVEL_40;//40;//
    enc->fps         = 30;
    enc->bps         = 2000;
    enc->if_interval = 15;
    h264enc_dynParams->rateControlParams.HRDBufferSize = enc->bps *1000* 2;
     
    dynParams->inputHeight  = enc->height;
    dynParams->inputWidth  = enc->width;
    dynParams->refFrameRate = enc->fps * 1000; // refFrameRate in fps * 1000
    dynParams->targetFrameRate= enc->fps * 1000; // Target frame rate in fps * 1000
    dynParams->targetBitRate = enc->bps * 1000;
     
    params->encodingPreset = XDM_USER_DEFINED;  
    params->rateControlPreset = IVIDEO_USER_DEFINED;
    params->maxHeight = enc->height;
    params->maxWidth = enc->stride;
    params->dataEndianness = XDM_BYTE;
    params->maxBitRate = enc->bps * 1000 ;


the other params are the same as offical demo

attachment is my record sample


 record.h264.zip