Other Parts Discussed in Thread: AM62P
Tool/software:
Hi,experts:
We now have two problems:
First, when encountering special scenes, the coded stream will spend the screen, and it will be accompanied by some gray graphs.
Second, the bit rate cannot be controlled, in some noisy scenes, the bit rate may rise to about 20Mb, the use of fixed rate mode can not control the upper limit of the bit rate.
Below is the five-channel video stream resolution and bit rate and encode param, video stream GOP is 5,
param | value | ||
V4L2_CID_MPEG_VIDEO_HEVC_LEVEL | V4L2_MPEG_VIDEO_HEVC_LEVEL_4_1 | ||
V4L2_CID_MPEG_VIDEO_BITRATE_MODE | V4L2_MPEG_VIDEO_BITRATE_MODE_VBR | ||
V4L2_CID_MPEG_VIDEO_FRAME_RC_ENABLE | 1 | ||
V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_QP | 30 | ||
V4L2_CID_MPEG_VIDEO_HEVC_CONST_INTRA_PRED | 1 | ||
V4L2_CID_MPEG_VIDEO_HEVC_STRONG_SMOOTHING | 1 | ||
V4L2_CID_MPEG_VIDEO_HEVC_MAX_NUM_MERGE_MV_MINUS1 | 2 | ||
V4L2_CID_MPEG_VIDEO_HEVC_TMV_PREDICTION | 1 | ||
V4L2_CID_MPEG_VIDEO_PREPEND_SPSPPS_TO_IDR | 1 | ||
V4L2_CID_MPEG_VIDEO_AU_DELIMITER | 0 | ||
V4L2_CID_MPEG_VIDEO_HEVC_MIN_QP |
|
||
V4L2_CID_MPEG_VIDEO_HEVC_MAX_QP | 51 | ||
V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE |
format.fmt.pix_mp.pixelformat = fmt;
format.fmt.pix_mp.width = w; format.fmt.pix_mp.height = h;
format.fmt.pix_mp.colorspace = V4L2_COLORSPACE_REC709;
|
||
V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE |
|
||
V4L2_CID_MPEG_VIDEO_HEVC_REFRESH_PERIOD | default |
We use the system ioctl for coding, not gstreamer. We dump the relevant register information, but we do not know the meaning of the register. Ask a TI expert to help see if these register values are abnormal, or can provide gray plot and rate control solutions。
gstreamer does not appear grey at room temperature, is there a way we can set the parameters to be consistent with gstreamer?
Attached is the vpu register information we dumped:
one minute after the avm(using encode) process is shut down, the data is read1832.上电一分钟关闭avm进程后读取.txt
direct reading after one minute of power-on2084.上电一分钟直接读取.txt
one minute read after the second power-on4150.上电一分钟直接读取02.txt