12.8. RC¶
Debugging Information
# cat /proc/cvitek/rc Module: [RC] System Build Time [#1 SMP PREEMPT Sat Jan 23 02:50:26 CST 2021] ------BASE PARAMS 1------------------------------------------------------ ChnId: 0 Gop: 5 StatTm: 4294967295 ViFr: 0 TrgFr: 0 ProType: H264 RcMode: CBR Br(kbps): 2048 FluLev: 0 IQp: 0 PQp: 0 BQp: 0 ------BASE PARAMS 2------------------------------------------------------ ChnId: 0 MinQp: 26 MaxQp: 42 MinIQp: 36 MaxIQp: 42 EnableIdr: 0 bQpMapEn: 0 QpMapMode: N/A -----GOP MODE ATTR------------------------------------------------------- ChnId: 0 GopMode: NORMALP IpQpDelta: 0 SPInterval: 0 SPQpDelta: 0 BFrmNum: 0 BQpDelta: 0 BgInterval: 0 ViQpDelta: 0 -----RUN CBR PARAM ------------------------------------------- ChnId: 0 MinIprop: 0 MaxIprop: 0 MaxQp: 42 MinQp: 26 MaxIQp: 42 MinIQp: 36 MaxReEncTimes: 0 Debugging Information Analysis
recordcurrentEncodingRate ControlInformation.
Parameter Description
Parameter | Description | |
|---|---|---|
BASEPARAMS1 | ChnId | Encoding channel number |
Gop | ImageEncodinggroup (GOP) | |
StatTm | bit ratestatistics (Unit: seconds) | |
ViFr | VI transmitImageFrame rate | |
TrgFr | DestinationEncodingFrame rate | |
ProType | EncodingType | |
RcMode | Rate ControlMode (CBR, VBR, QPMAP or FixQp) | |
Br(kbps) | BitrateUnitis kbit/s. | |
FluLev | Horizontal, onlyfor CBR ModeValid | |
IQp | I Frame QP, onlyfor FixQp ModeValid | |
PQp | P Frame QP, onlyfor FixQp ModeValid | |
BQp | B Frame QP, onlyfor FixQp ModeValid Not currently supported. | |
BASEPARAMS 2 | ChnId | Encoding channel number |
EnableIdr | IDR Enableswitch Y: Enable N: Disable | |
bQpMapEn | QpMap Enableswitch Y: Enable N: Disable | |
QpMapMode | used to CU32 or CU64 QP valueMode, onlyfor H.265 Valid. MEANQP, MINQP, and MAXQP means QP averagevalue, MinimumvalueandMaximumvalue. | |
GOP MODEATTR | ChnId | Encoding channel number |
GopMode | GOP Mode | |
IpQpDelta | I FrameRelativeto P Frame QP difference in SmartP ModeunderwillDisplayFrameand P Frame QP difference. Value Range: [–10, +30] | |
SPInterval | P Frame: video frame Value Range: less thanoretc.to GOP value. | |
SPQpDelta | P FrameRelativetonormal P Frame QP difference Value Range: [–10, +30] | |
BFrmNum | B FrameQuantity Value Range: [1, 3] beforeNot supportedthisFunction. | |
BQpDelta | B FrameRelativeto P Frame QP difference Value Range: [–10, +30] beforeNot supported B Frame. | |
BgInterval | background frame interval Value Range: greater thanoretc.to GOP value | |
ViQpDelta | QP difference between a virtual I frame and a normal P frame | |
RUN CBR PARAM | has, pleaseSeethe 6 VENC_PARAM_H264_CBR_S Description. VENC_PARAM_H264_CBR_S Description. “VENC” | |
RUN VBR PARAM | has, pleaseSee VENC_PARAM_H264_VBR_S, VENC_PARAM_H264_AVBR_S and VENC_PARAM_H264_QVBR_S Description. “VENC” |