12.8. RC¶
【调试信息】
# 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
【调试信息分析】
记录当前编码码率控制的信息。
【参数说明】
参数 |
描述 |
|
---|---|---|
BASEPARAMS1 |
ChnId |
VENC channel ID |
Gop |
Encoding group of images (GOP) |
|
StatTm |
Bit rate statistics (unit: second) |
|
ViFr |
Frame rate for transmitting images by the VI |
|
TrgFr |
Target frame rate for encoding |
|
ProType |
Encoding type |
|
RcMode |
Bit rate control mode (CBR, VBR, QPMAP, or FixQp) |
|
Br(kbps) |
The unit of the bit rate is kbit/s. |
|
FluLev |
Fluctuation level, valid only for the CBR mode |
|
IQp |
I-frame QP, valid only for the FixQp mode |
|
PQp |
P-frame QP, valid only for the FixQp mode |
|
BQp |
B-frame QP, valid only for the FixQp mode This is currently not supported. |
|
BASEPARAMS 2 |
ChnId |
VENC channel ID |
EnableIdr |
IDR enable switch Y: enabled N: disabled |
|
bQpMapEn |
QpMap enable switch Y: enabled N: disabled |
|
QpMapMode |
Mode of the QP value used for CU32 or CU64, valid only for H.265. MEANQP, MINQP, and MAXQP indicate the average, minimum, and maximum QP value, respectively. |
|
GOP MODEATTR |
ChnId |
VENC channel ID |
GopMode |
GOP mode |
|
IpQpDelta |
QP delta of I-frames relative to P-frames. QP deltas of the background frame and P-frame are displayed in SmartP mode. Value range: [–10, +30] |
|
SPInterval |
Interval of the special P-frames Value range: less than or equal to the GOP value. |
|
SPQpDelta |
QP delta of the special P-frames relative to the common P-frames Value range: [–10, +30] |
|
BFrmNum |
Number of B-frames Value range: [1, 3] This is currently not supported. |
|
BQpDelta |
QP delta of B-frames relative to P-frames Value range: [–10, +30] The B-frame is currently not supported. |
|
BgInterval |
Interval of Bg frames Value range: greater than or equal to the GOP value |
|
ViQpDelta |
QP delta of the virtual I-frames relative to the common P-frames |
|
RUN CBR PARAM |
For details, see the description of VENC_PARAM_H264_CBR_S in chapter 6 “VENC”. |
|
RUN VBR PARAM |
For details, see the descriptions of VENC_PARAM_H264_VBR_S, VENC_PARAM_H264_AVBR_S, and VENC_PARAM_H264_QVBR_S in chapter 6 “VENC”. |