Hi,
We are working on DM8127 platform and using IPNC RDK 3.5
H.264 codec version : 02.00.04.01
We are looking to set HF-VBR ( CVBR ) mode for H.264 codec.
- it is required to set rcalgo, maxBitRate, VBRDuration & VBRSensitivity as per Encoder User
Guide(Appendix N - H264_Encoder_HDVICP2_UserGuide.pdf – SPRUHG3). - We haven't found system link control command to set maxBitRate dynamically at run time from application.
- We have tried following setting to set HF-VBR(CVBR) mode.
Params Syslink control Command
Rate Control - ENC_LINK_CMD_SET_CODEC_RATECONTROL
Bitrate - ENC_LINK_CMD_SET_CODEC_BITRATE
VBRSensitivity - ENC_LINK_CMD_SET_CODEC_VBRS
VBRDuration - ENC_LINK_CMD_SET_CODEC_VBRD
parameter values set as per below
rate control = 2 , BitRate=<inputBitRate> , VBRDuration = 8 (default value), VBRSensitivity = 4(range 0 -8)
Does this settings are correct for setting HF-VBR(CVBR) rate control mode ? Does any other parameter required to set ?
If settings are correct than what will be value of maxBitRate value set at Encoder?
We have tried above settings and found that if we set BitRate as 2 Mbps then for complex scene BitRate gone up to 4 Mbps and like that for 6 Mbps it has gone up to 8 Mbps. BitRate observed on VLC.
Thank,
Rachit