RKMPI 库无法使用
Posted: 2024-04-06 13:33
VI 组件获取摄像头图像标注帧率例程例程无法运行
下面是错误日志
下面是错误日志
Code: Select all
rkaiq log level ff0
ID: 0, sensor_name is m00_b_sc3336 4-0030, iqfiles is /etc/iqfiles
rk_aiq_uapi2_sysctl_init/prepare succeed
rk_aiq_uapi2_sysctl_start succeed
rockit log path (null), log_size = 0, can use export rt_log_path=, export rt_log_size= change
log_file = (nil)
RTVersion 00:06:32-062 {dump :064} ---------------------------------------------------------
RTVersion 00:06:32-064 {dump :065} rockit version: git-8cb4d25b8 Tue Feb 28 11:12:39 2023 +0800
RTVersion 00:06:32-065 {dump :066} rockit building: built- 2023-02-28 15:23:19
RTVersion 00:06:32-065 {dump :067} ---------------------------------------------------------
(null) 00:06:32-065 {log_level_init :203}
please use echo name=level > /tmp/rt_log_level set log level
name: all cmpi mb sys vdec venc rgn vpss vgs tde avs wbc vo vi ai ao aenc adec
log_level: 0 1 2 3 4 5 6
rockit default level 4, can use export rt_log_level=x, x=0,1,2,3,4,5,6 change
(null) 00:06:32-067 {read_log_level :093} text is all=4
(null) 00:06:32-068 {read_log_level :095} module is all, log_level is 4
RTIsp3x 00:06:32-073 {ispInitDevice :208} sensor name = m00_b_sc3336 4-0030
RTIsp3x 00:06:32-074 {ispInitDevice :211} sensor_index = 0
(null) 00:06:32-075 {monitor_log_level :144} #Start monitor_log_level thread, arg:(nil)
RTIsp3x 00:06:32-079 {ispInitDevice :208} sensor name = m00_b_sc3336 4-0030
RTIsp3x 00:06:32-080 {ispInitDevice :211} sensor_index = 0
[INFO rtsp_demo.c:280:rtsp_new_demo] rtsp server demo starting on port 554
[DEBUG rtsp_demo.c:480:rtsp_new_session] add session path: /live/0
rtsp streamq_alloc size is 1753484
vi_dev_init
RKViDev 00:06:32-088 {vi_set_dev_attr :440} VI_DEV_ATTR_S all parameter reserved
=== VI ATTRS INFO: ===
devId : 0
chnId : 0
buffcnt: 0
buffSize: 0
width: 0
height: 0
Maxwidth: 0
Maxwidth: 0
streaming: 0
RKViChn 00:06:32-091 {prepareRuntime :334} ---------------------------------------------------------
RKViChn 00:06:32-091 {prepareRuntime :336} vi version: 1.86, name:vvi
RKViChn 00:06:32-092 {prepareRuntime :337} rockit-ko version: vmpi:fb2eed2be49e
RKViChn 00:06:32-092 {prepareRuntime :338} rockit-ko building: -2023-02-09-11:04:49
RKViChn 00:06:32-092 {prepareRuntime :339} ---------------------------------------------------------
RKViChn 00:06:32-093 {prepareRuntime :358} mb pool create success, MBCnt= 2
cmpi 00:06:32-094 {createRuntime :546} [non-WRAP MODE]: buff size = 4478976
RTIsp3x 00:06:32-101 {ispInitDevice :208} sensor name = m00_b_sc3336 4-0030
RTIsp3x 00:06:32-102 {ispInitDevice :211} sensor_index = 0
RTDeviceV4L2 00:06:32-106 {open :138} open video name(/dev/video11)
RKViChn 00:06:32-107 {setFrameRate :1153} [vi] dev(0) ch(0) illegal param s32SrcFrameRate(0) s32DstFrameRate(0)
RTDeviceV4L2 00:06:32-107 {ispCameraInfo :549} current device:/dev/video11 isn't compatible(cap:0x84201000) device,memoryType:4, retry:0
RTDeviceV4L2 00:06:32-108 {ispInitFormat :726} ioctl VIDIOC_S_FMT OK
RKViChn 00:06:32-112 {start :813} =========== vi Start startRuntime ===========
RTDeviceV4L2 00:06:32-112 {ispStreamOn :440} do ispStreamOn start
RTDeviceV4L2 00:06:32-193 {ispStreamOn :493} do ispStreamOn done
test_vpss_init
=== 0 ===
rga_api version 1.9.1_[0]
=== 1 ===
====RK_MPI_SYS_Bind vi0 to vpss0====
test_venc_init
MpiAdapterEncode 00:06:32-286 {ma_encode_create :1653} ringbuf buf_size 4481024
mpp[611]: mpp: VCODEC_CHAN_CREATE channel 0 fail