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.
for example,
+ {
+ int bitrate = 1000;
+ if (frame_id==100)
+ vpu_EncGiveCommand(handle, ENC_SET_BITRATE, &bitrate);
+ }
ret = vpu_EncStartOneFrame(handle, &enc_param);