Could someone throw out ideas on how to change the bitrate of an H264 video encoding on the fly?
I believe that, the bitrate configuration is fixed at launch for the VPU.
Does anyone have suggestions on how to work on this?
Joan Xie , would you please help us with this question?
mx6 vpu can support it. refer to the vpu api,
bitRate is the target bit rate in kbps. If 0, there is no rate control and pictures are encoded with a quantization parameter equal to quantParam in EncParam.
+ int bitrate = 1000;
+ if (frame_id==100)
+ vpu_EncGiveCommand(handle, ENC_SET_BITRATE, &bitrate);
ret = vpu_EncStartOneFrame(handle, &enc_param);
Retrieving data ...