Toybrick

【qiu zhu】rkispp_scale1, s fmt failed(cap type=1, NV12), Invalid argument ...

bingo

新手上路

积分
42
楼主
发表于 2021-8-8 11:39:21    查看: 6587|回复: 0 | [复制链接]    打印 | 只看该作者
media get entity by name: rkcif-lvds-subdev is null
media get entity by name: rkcif-lite-lvds-subdev is null
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rockchip-mipi-dphy-rx is null
[11:30:42.579986][CAMHW]:XCAM ERROR CamHwIsp20.cpp:928: No free isp&ispp needed by fake camera!
Rga built version:1.04 b62761c+2021-04-25 00:47:07
cfg path is /userdata/lib/rtsp-nn.cfg
BOX_PRIORS_TXT_PATH is /userdata/model/box_priors.txt
LABEL_NALE_TXT_PATH is /userdata/model/coco_labels_list.txt
MODEL_PATH is /userdata/model/ssd_inception_v2_rv1109_rv1126.rknn
#CameraIdx: 0

rtsp path = /live/main_stream.
video_type = 7.
width = 1920.
height = 1080.
video path =rkispp_scale0.
image type = 4.
rtsp path = /live/sub_stream.
video_type = 7.
width = 720.
height = 576.
video path =rkispp_scale1.
image type = 4.
init rtsp
[INFO  rtsp_demo.c:281:rtsp_new_##RKMEDIA Log level: 2
[RKMEDIA][SYS][Info]:text is all=2
[RKMEDIA][SYS][Info]:module is all, log_level is 2
[RKMEDIA][SYS][Info]:RK_MPI_VI_EnableChn: Enable VI[0:0]:rkispp_scale0, 1920x1080 Start...
[RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media0
[RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media1
[RKMEDIA][SYS][Info]:RKAIQ: model(rkisp0): isp_info(0): isp-subdev entity name: /dev/v4l-subdev6
[RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media2
[RKMEDIA][SYS][Info]:RKAIQ: model(rkisp1): isp_info(1): isp-subdev entity name: /dev/v4l-subdev10
[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_scale0
[RKMEDIA][SYS][Warn]:camera_id: 0, chn: rkispp_scale0
[RKMEDIA][SYS][Warn]:camera_id: 0, chn: rkispp_scale0, idx: 1
[RKMEDIA][SYS][Info]:#V4l2Stream: camera id:0, VideoNode:/dev/video39
[RKMEDIA][SYS][Info]:#V4L2Ctx: open /dev/video39, fd 7
[RKMEDIA][SYS][Info]:Opened DRM device /dev/dri/card0: driver rockchip version 2.0.0.
[RKMEDIA][SYS][Info]:RK_MPI_VI_EnableChn: Enable VI[0:0]:rkispp_scale0, 1920x1080 End...
[RKMEDIA][SYS][Info]:RK_MPI_VENC_CreateChn: Enable VENC[0], Type:7 Start...
mpp[407]: mpp_rt: NOT found ion allocator
mpp[407]: mpp_rt: found drm allocator
mpp[407]: mpp_info: mpp version: 7ae6041 author: Yandong Lin    2021-02-21 [jpege_vepu]: Support rotation for jpeg enc
[RKMEDIA][VENC][Info]:MPP Encoder: MPPConfig: cfg init sucess!
[RKMEDIA][VENC][Info]:MPP Encoder: qpMaxi use default value:48
[RKMEDIA][VENC][Info]:MPP Encoder: qpMini use default value:8
[RKMEDIA][VENC][Info]:MPP Encoder: qpMax use default value:48
[RKMEDIA][VENC][Info]:MPP Encoder: qpMin use default value:8
[RKMEDIA][VENC][Info]:MPP Encoder: qpInit use default value:-1
[RKMEDIA][VENC][Info]:MPP Encoder: qpStep use default value:2
[RKMEDIA][VENC][Info]:MPP Encoder: rotaion = 0
[RKMEDIA][VENC][Info]:MPP Encoder: automatically calculate bsp with bps_max
[RKMEDIA][VENC][Info]:MPP Encoder: Set output block mode.
[RKMEDIA][VENC][Info]:MPP Encoder: Set input block mode.
[RKMEDIA][VENC][Info]:MPP Encoder: bps:[4443428,3999085,1110857] fps: [30/1]->[30/1], gop:30 qpInit:-1, qpMin:8, qpMax:48, qpMinI:8, qpMaxI:48.
mpp[407]: mpp_enc: MPP_ENC_SET_RC_CFG bps 3999085 [1110857 : 4443428] fps [30:30] gop 30
mpp[407]: h265e_api: h265e_proc_prep_cfg MPP_ENC_SET_PREP_CFG w:h [1920:1080] stride [1920:1080]
mpp[407]: mpp_enc: send header for set cfg change input/format
[RKMEDIA][VENC][Info]:MPP Encoder: w x h(1920[1920] x 1080[1080])
mpp[407]: mpp_enc: mode cbr bps [1110857:3999085:4443428] fps fix [30/1] -> fix [30/1] gop i [30] v [0]
[RKMEDIA][SYS][Info]:RK_MPI_VENC_CreateChn: Enable VENC[0], Type:7 End...
[RKMEDIA][SYS][Info]:RK_MPI_VI_EnableChn: Enable VI[0:1]:rkispp_scale1, 720x576 Start...
[RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media0
[RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media1
[RKMEDIA][SYS][Info]:RKAIQ: model(rkisp0): isp_info(0): isp-subdev entity name: /dev/v4l-subdev6
[RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media2
demo] rtsp server demo starting on port 554
init mpi
[DEBUG rtsp_demo.c:481:rtsp_new_session] add session path: /live/main_stream
VI create
media get entity by name: rkcif-lvds-subdev is null
media get entity by name: rkcif-lite-lvds-subdev is null
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rockchip-mipi-dphy-rx is null
Using mplane plugin for capture
VENC create
env_fps: 30
rtsp video
[DEBUG rtsp_demo.c:481:rtsp_new_session] add session path: /live/sub_stream
VI create
media get entity by name: rkcif-lvds-subdev is null
media get entity by name: rkcif-lite-lvds-subdev is null
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rockchip-mipi-dphy-rx is n[RKMEDIA][SYS][Info]:RKAIQ: model(rkisp1): isp_info(1): isp-subdev entity name: /dev/v4l-subdev10
[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
[RKMEDIA][SYS][Info]:#V4L2Ctx: open /dev/video40, fd 26
[RKMEDIA][SYS][Error]:rkispp_scale1, s fmt failed(cap type=1, NV12), Invalid argument
[RKMEDIA][SYS][Info]:#V4L2Ctx: close , fd 26
[RKMEDIA][SYS][Info]:#V4L2Stream: v4l2 ctx reset to nullptr!
[RKMEDIA][VI][Info]:Create stream v4l2_capture_stream failed
[RKMEDIA][VI][Info]:#SourceStreamFlow[]: stream off....
[RKMEDIA][VI][Info]:#SourceStreamFlow[]: read thread exit sucessfully!
[RKMEDIA][VI][Info]:#SourceStreamFlow[]: stream reset sucessfully!
[RKMEDIA][SYS][Warn]:VI[1]:"rkispp_scale1" buffer may be occupied by other modules or apps, try again...
[RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media0
[RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media1
[RKMEDIA][SYS][Info]:RKAIQ: model(rkisp0): isp_info(0): isp-subdev entity name: /dev/v4l-subdev6
[RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media2
[RKMEDIA][SYS][Info]:RKAIQ: model(rkisp1): isp_info(1): isp-subdev entity name: /dev/v4l-subdev10
[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
[RKMEDIA][SYS][Info]:#V4L2Ctx: open /dev/video40, fd 26
[RKMEDIA][SYS][Error]:rkispp_scale1, s fmt failed(cap type=1, NV12), Invalid argument
[RKMEDIA][SYS][Info]:#V4L2Ctx: close , fd 26
[RKMEDIA][SYS][Info]:#V4L2Stream: v4l2 ctx reset to nullptr!
[RKMEDIA][VI][Info]:Create stream v4l2_capture_stream failed
[RKMEDIA][VI][Info]:#SourceStreamFlow[]: stream off....
[RKMEDIA][VI][Info]:#SourceStreamFlow[]: read thread exit sucessfully!
[RKMEDIA][VI][Info]:#SourceStreamFlow[]: stream reset sucessfully!
[RKMEDIA][SYS][Warn]:VI[1]:"rkispp_scale1" buffer may be occupied by other modules or apps, try again...
[RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media0
[RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media1
[RKMEDIA][SYS][Info]:RKAIQ: model(rkisp0): isp_info(0): isp-subdev entity name: /dev/v4l-subdev6
[RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media2
[RKMEDIA][SYS][Info]:RKAIQ: model(rkisp1): isp_info(1): isp-subdev entity name: /dev/v4l-subdev10
[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
[RKMEDIA][SYS][Info]:#V4L2Ctx: open /dev/video40, fd 26
[RKMEDIA][SYS][Error]:rkispp_scale1, s fmt failed(cap type=1, NV12), Invalid argument
[RKMEDIA][SYS][Info]:#V4L2Ctx: close , fd 26
[RKMEDIA][SYS][Info]:#V4L2Stream: v4l2 ctx reset to nullptr!
[RKMEDIA][VI][Info]:Create stream v4l2_capture_stream failed
[RKMEDIA][VI][Info]:#SourceStreamFlow[]: stream off....
[RKMEDIA][VI][Info]:#SourceStreamFlow[]: read thread exit sucessfully!
[RKMEDIA][VI][Info]:#SourceStreamFlow[]: stream reset sucessfully!
[RKMEDIA][SYS][Warn]:VI[1]:"rkispp_scale1" buffer may be occupied by other modules or apps, try again...
[RKMEDIA][SYS][Warn]:Mode[VI]:Chn[0] drop buffer, Please get buffer in time!
[RKMEDIA][SYS][Info]:RK_MPI_VENC_CreateChn: Enable VENC[1], Type:7 Start...
mpp[407]: mpp_info: mpp version: 7ae6041 author: Yandong Lin    2021-02-21 [jpege_vepu]: Support rotation for jpeg enc
[RKMEDIA][VENC][Info]:MPP Encoder: MPPConfig: cfg init sucess!
[RKMEDIA][VENC][Info]:MPP Encoder: qpMaxi use default value:48
[RKMEDIA][VENC][Info]:MPP Encoder: qpMini use default value:8
[RKMEDIA][VENC][Info]:MPP Encoder: qpMax use default value:48
[RKMEDIA][VENC][Info]:MPP Encoder: qpMin use default value:8
[RKMEDIA][VENC][Info]:MPP Encoder: qpInit use default value:-1
[RKMEDIA][VENC][Info]:MPP Encoder: qpStep use default value:2
[RKMEDIA][VENC][Info]:MPP Encoder: rotaion = 0
[RKMEDIA][VENC][Info]:MPP Encoder: automatically calculate bsp with bps_max
[RKMEDIA][VENC][Info]:MPP Encoder: Set output block mode.
[RKMEDIA][VENC][Info]:MPP Encoder: Set input block mode.
[RKMEDIA][VENC][Info]:MPP Encoder: bps:[888685,799816,222171] fps: [30/1]->[30/1], gop:30 qpInit:-1, qpMin:8, qpMax:48, qpMinI:8, qpMaxI:48.
mpp[407]: mpp_enc: MPP_ENC_SET_RC_CFG bps 799816 [222171 : 888685] fps [30:30] gop 30
mpp[407]: h265e_api: h265e_proc_prep_cfg MPP_ENC_SET_PREP_CFG w:h [720:576] stride [720:576]
mpp[407]: mpp_enc: send header for set cfg change input/format
[RKMEDIA][VENC][Info]:MPP Encoder: w x h(720[720] x 576[576])
mpp[407]: mpp_enc: mode cbr bps [222171:799816:888685] fps fix [30/1] -> fix [30/1] gop i [30] v [0]
[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]...
[RKMEDIA][SYS][Error]:RK_MPI_SYS_Bind Src Mode[VI]:Chn[1] is not ready!
ull
Using mplane plugin for capture
media get entity by name: rkcif-lvds-subdev is null
media get entity by name: rkcif-lite-lvds-subdev is null
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rockchip-mipi-dphy-rx is null
Using mplane plugin for capture
media get entity by name: rkcif-lvds-subdev is null
media get entity by name: rkcif-lite-lvds-subdev is null
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rockchip-mipi-dphy-rx is null
Using mplane plugin for capture
VENC create
env_fps: 30
rtsp video
create rknn_list success
x_rate is 6.400000, y_rate is 3.600000
#Start GetMediaBuffer thread, argnil)
Loading model ...
[DEBUG utils.c:212:rtsp_codec_[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[1] in status[1], this operation is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[1] in status[1], this operation is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[1] in status[1], this operation is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[1] in status[1], this operation is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[1] in status[1], this operation is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[1] in status[1], this operation is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[1] in status[1], this operation is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[1] in status[1], this operation is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[1] in status[1], this operation is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[1] in status[1], this operation is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[1] in status[1], this operation is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[1] in status[1], this operation is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[1] in status[1], this operation is not allowed!
[RKMEDIA][SYS][Error]:RK_MPI_SYS_GetMediaBuffer Mode[VI]:Chn[1] in status[1], this operation is not allowed!


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表