为什么我执行./rkmedia_vi_rknn_venc_rtsp_test出现下面的错误

本帖最后由 1142688779 于 2022-1-22 17:40 编辑

我执行下面这个例子的时候会报下面的错误./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


RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[0] in status[1], this operation is not allowed!
[RK2MEDI]A][SYS][Error]:RK_MPI_SYS _GetrMedikaBufcfer iMode[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 noft allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer _Mode[VI]:Chn[0] in status[1], this operation is not allowedm!
[iRKMEDIA][SYS][Errior]:RK_MPI_SYS_GetMe_diaBluffer Modve[VI]:Chn[0] in status[1], tdhis operastion is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[0] in status:[1], this oper ation is not allowed!f
[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!
[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[0r] ina stamtus[e1], this operation is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[0] in dstatrus[1o], this operation is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:pChn[0] in status[1], this operation is not allowed!
[RKM EDIA][SYS][Error]:RK_MPI_SYS_GetMedtiaBuffer 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!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[0] in status[1], this operatioon is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS _GetMediaBuffer Mode[VI]:Chn[0] in status[1], this operation is not allowed!
[RKMdEDIAu][SYmS][Emrrory]:RK _MPI_SYS_GetMediaBuffer Mode[VI]:Chn[0] in status[1], this operation is not allowbed!
[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_GetMediaBuuffer Mode[VI]:Chn[0] in status[1], this operation is not allowed!
[RKfME,DIA][SYS][Error]:RK_MPI_SYS_Get MemdiaBuffer 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!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[0] in status[1], this opeiration is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[0] in staptus[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!
[RKMEDIA][SYiS][E/rror]:RK_MPI_SYS_GetMediaBuffer Mode[VIl]: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!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[0] in stavtus[1], tdhis soperation is n ot asllowed!
[RKtMEDIrA][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!
e[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!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer aMode[VI]:Chn[0] in status[1], this operation is not allowed!
[RKMEDIA][SYS][Ermror]:RK_MPI[_SYS_Ge0tMediaBuffer Mode[VI]:Chn[0] in status[1], this op]eration is not allowed!
[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]

本帖最后由 1142688779 于 2022-1-22 17:39 编辑

!(file:///C:/Users/11426/Desktop/2HB.png)RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[0] in status[1], this operation is not allowed!
[RK2MEDI]A][SYS][Error]:RK_MPI_SYS _GetrMedikaBufcfer iMode[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 noft allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer _Mode[VI]:Chn[0] in status[1], this operation is not allowedm!
[iRKMEDIA][SYS][Errior]:RK_MPI_SYS_GetMe_diaBluffer Modve[VI]:Chn[0] in status[1], tdhis operastion is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[0] in status:[1], this oper ation is not allowed!f
[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!
[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[0r] ina stamtus[e1], this operation is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[0] in dstatrus[1o], this operation is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:pChn[0] in status[1], this operation is not allowed!
[RKM EDIA][SYS][Error]:RK_MPI_SYS_GetMedtiaBuffer 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!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[0] in status[1], this operatioon is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS _GetMediaBuffer Mode[VI]:Chn[0] in status[1], this operation is not allowed!
[RKMdEDIAu][SYmS][Emrrory]:RK _MPI_SYS_GetMediaBuffer Mode[VI]:Chn[0] in status[1], this operation is not allowbed!
[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_GetMediaBuuffer Mode[VI]:Chn[0] in status[1], this operation is not allowed!
[RKfME,DIA][SYS][Error]:RK_MPI_SYS_Get MemdiaBuffer 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!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[0] in status[1], this opeiration is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[0] in staptus[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!
[RKMEDIA][SYiS][E/rror]:RK_MPI_SYS_GetMediaBuffer Mode[VIl]: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!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[0] in stavtus[1], tdhis soperation is n ot asllowed!
[RKtMEDIrA][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!
e[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!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer aMode[VI]:Chn[0] in status[1], this operation is not allowed!
[RKMEDIA][SYS][Ermror]:RK_MPI[_SYS_Ge0tMediaBuffer Mode[VI]:Chn[0] in status[1], this op]eration is not allowed!
[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]

1142688779 发表于 2022-1-22 17:37
RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[0] in status[1], this operation is not a …

关掉默认开启的IPC应用了吗?

799959745 发表于 2022-1-24 09:05
关掉默认开启的IPC应用了吗?

怎么关掉呢?

adb shell进入板子,然后执行/oem/RkLunch-stop.sh关掉IPC默认开启的程序。

799959745 发表于 2022-2-15 09:07
adb shell进入板子,然后执行/oem/RkLunch-stop.sh关掉IPC默认开启的程序。

这个IPC是干嘛的?能不让他自动启动吗?

799959745 发表于 2022-2-15 09:07
adb shell进入板子,然后执行/oem/RkLunch-stop.sh关掉IPC默认开启的程序。

我执行了执行/oem/RkLunch-stop.sh 还是会出现这个错误 [RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[0] in status[1], this operation is not allowed!

1142688779 发表于 2022-2-15 22:50
我执行了执行/oem/RkLunch-stop.sh 还是会出现这个错误 [RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMedia …

1、sdk是否是最新的?不是则执行:

cd sdk/
repo sync -c

2、rkmedia_vi_rknn_venc_rtsp_test这个程序的路径是/oem/usr/bin/rkmedia_vi_rknn_venc_rtsp_test吗?

我的1109也是这个错误:[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[1] in status[1], this operation is not allowed!

看到的错误是:
[RKMEDIA][SYS][Info]:RKAIQ: model(rkisp1): isp_info(1): isp-subdev entity name: /dev/v4l-subdev9
[RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media3
[RKMEDIA][SYS][Info]:RKAIQ: model(rkispp0): ispp_info(0): ispp-subdev entity name: /dev/v4l-subdev0
[RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media4
[RKMEDIA][SYS][Info]:RKAIQ: model(rkispp1): ispp_info(1): ispp-subdev entity name: /dev/v4l-subdev1
[RKMEDIA][SYS][Info]:#V4l2Stream: camraID:0, Device:rkispp_scale1
[RKMEDIA][SYS][Warn]:camera_id: 0, chn: rkispp_scale1
[RKMEDIA][SYS][Warn]:camera_id: 0, chn: rkispp_scale1, idx: 1
[RKMEDIA][SYS][Info]:#V4l2Stream: camera id:0, VideoNode:/dev/video40
Using mplane plugin for capture
[RKMEDIA][SYS][Info]:#V4L2Ctx: open /dev/video40, fd 111
[RKMEDIA][SYS][Error]:rkispp_scale1, s fmt failed(cap type=1, NV12), Invalid argument
[RKMEDIA][SYS][Info]:#V4L2Ctx: close , fd 111
[RKMEDIA][SYS][Info]:#V4L2Stream: v4l2 ctx reset to nullptr!
[RKMEDIA][VI][Info]:Create stream v4l2_capture_stream failed

wx__bOrLB5 发表于 2022-9-20 18:07
我的1109也是这个错误:[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[1] in status[1], …

你好 请问解决了吗

yegrand 发表于 2022-10-19 19:11
你好 请问解决了吗

我也有同样的问题 试过关掉IPC应用和更新SDK 还是存在这个问题

[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!
[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!
[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!
[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!
[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!
[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!
[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!