标题: 执行./rkmedia_vi_rknn_venc_rtsp_test自带的demo出现下面的错误 [打印本页] 作者: tao-fire 时间: 2023-8-27 10:41 标题: 执行./rkmedia_vi_rknn_venc_rtsp_test自带的demo出现下面的错误 在/oem/usr/bin/目录下执行
./rkmedia_vi_rknn_venc_rtsp_test -a /oem/etc/iqfiles/ -c /oem/usr/share/rtsp-nn.cfg -b /oem/usr/share/rknn_model/box_priors.txt -l /oem/usr/share/rknn_model/coco_labels_list.txt -p /oem/usr/share/rknn_model/ssd_inception_v2_rv1109_rv1126.rknn
会报RK_MPI_SYS_GetMediaBuffer Mode函数 this operation is not allowed!的错误
在执行命令之前也关掉默认开启的IPC应用了,其他的demo程序可以执行,只有这个demo会报错
[RKMEDIA][VENC][Info]:MPP Encoder: MPPConfig: cfg init sucess!
[RKMEDIA][VENC][Info]:MPP Encoder[JPEG]: config for JPEG...
[RKMEDIA][VENC][Info]:MPP Encoder: dcf use default value:0
[RKMEDIA][VENC][Info]:MPP Encoder: mpf_cnt use default value:0
[RKMEDIA][VENC][Info]:MPP Encoder: rect_x use default value:0
[RKMEDIA][VENC][Info]:MPP Encoder: rect_y use default value:0
[RKMEDIA][VENC][Info]:MPP Encoder[JPEG]: rotaion = 0
[RKMEDIA][VENC][Info]:MPP Encoder[JPEG]: Set output block mode.
[RKMEDIA][VENC][Info]:MPP Encoder[JPEG]: Set input block mode.
mpp[508]: mpp_enc: MPP_ENC_SET_RC_CFG bps 0 [0 : 0] fps [30:30] gop 0
mpp[508]: jpege_api_v2: jpege_proc_jpeg_cfg qf_min out of range, default set 1
mpp[508]: jpege_api_v2: jpege_proc_jpeg_cfg qf_max out of range, default set 99
[RKMEDIA][VENC][Info]:MPP Encoder[JPEG]: w x h(1920[1920] x 1080[1080]), qfactor:50
[RKMEDIA][SYS][Info]:RK_MPI_VENC_CreateChn: Enable VENC[1], Type:7 End...
[RKMEDIA][SYS][Info]:RK_MPI_SYS_Bind: Bind Mode[VI]:Chn[1] to Mode[VENC]:Chn[1]...
rtsp video
video codec not support.
create rknn_list success
x_rate is 2.400000, y_rate is 1.920000
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[0] in status[1], this operation is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[0] in status[1], this operation is not allowed!
#Start GetMediaBuffer thread, arg:(nil)
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[0] in status[1], this operation is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[0] in status[1], this operation is not allowed!
Loading model ...
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[0] in status[1], this operation is n[ot allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn [0] in status[1], this opera1ion is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS1_GetMediaBuffer Mode[VI]:Chn8.[0] in status[1], this opera8tion is not allowed!
[RKMEDIA][SYS][I06547]nfo]:Camera 0 stream 13 is started rki
[RKMEDIA][SYS][Error]:RK_MPsI_SYS_GetMediaBuffer Mode[VIp]:Chn[0] in status[1], this operation is not allowed!
rk[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[0] in status[1], this opersation is not allowed!
[RKMEpDIA][SYS][Error]:RK_MPI_SYS_-GetMediaBuffer Mode[VI]:Chn[v0] in status[1], this operatiion is not allowed!
[RKMEDIrA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[0] i0n status[1], this operation :is not allowed!