|
运行rkmedia_vi_get_frame_test demo报错
发表于 2022-1-10 22:03:46
浏览:5121
|
回复:1
打印
只看该作者
[复制链接]
楼主
[root@RV1126_RV1109:/]# rkmedia_vi_get_frame_test -a /oem/etc/iqfiles/ -w 1920
-h 1080 -d rkispp_scale0 -o /tmp/1080p.nv12 -c 10
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rkcif_dvp is null
media get entity by name: rkcif_mipi_lvds is null
media get entity by name: rkcif_dvp is null
media get entity by name: rkcif_lite_mipi_lvds is null
media get entity by name: rkcif_mipi_lvds is null
[08:30:54.671019][CAMHW]:XCAM ERROR CamHwIsp20.cpp:986: No free isp&ispp needed by fake camera!
Rga built version:1.04 13029c6+2021-12-23 18:50:44
#####Device: rkispp_scale0
#####Resolution: 1920x1080
#####Frame Count to save: 10
#####Output Path: /tmp/1080p.nv12
#CameraIdx: 0
#####Aiq xml dirpath: /oem/etc/iqfiles/
#bMultictx: 0
ID: 0, sensor_name is m01_f_imx307 1-001a, iqfiles is /oem/etc/iqfiles/
[08:30:55.149199][CAMHW]:XCAM ERROR Isp20PollThread.cpp:959: can't search id 0, _effecting_exp_mapsize is 0
[08:30:55.153383][CAMHW]:XCAM ERROR Isp20PollThread.cpp:959: can't search id 1, _effecting_exp_mapsize is 0
rk_aiq_uapi_sysctl_init/prepare succeed
rk_aiq_uapi_sysctl_start succeed
SAMPLE_COMM_ISP_SetFrameRate start 30
SAMPLE_COMM_ISP_SetFrameRate 30
##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
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_dmapath is null
[RKMEDIA][SYS][Info]:RKAIQ: model(rkisp0): isp_info(0): isp-subdev entity name: /dev/v4l-subdev1
[RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media1
[RKMEDIA][SYS][Info]:RKAIQ: model(rkispp0): ispp_info(0): ispp-subdev entity name: /dev/v4l-subdev0
[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: 0
[RKMEDIA][SYS][Info]:#V4l2Stream: camera id:0, VideoNode:/dev/video14
[ 1855.3Using mplane plugin for capture
70797] rkisp[RKMEDIA][SYS][Info]:#V4L2Ctx: open /dev/vipdeo14, fd 90
0: scale0:0x0 out of range:
[ 1855.370797] [width max:3264 ratio max:8 min:1]
[ 1855.37085[RKMEDIA][SYS][Info]:RK_MPI_VI_1EnableChn: Enable VI[0:0]:rkispp_scale0, 1920x1080 End...
main initial finish
] rkispp0: scale0:0x0 out of range:
[ 1855.370851] [width max:2080 ratio max:8 min:1]
[ 1855.370869] rkispp0: scale0:0x0 out of range:
[ 1855.370869] [width max:3264 ratio max:8 min:1]
[ 1855.370885] rkispp0: scale0:0x0 out of range:
[ 1855.370885] [width max:3264 ratio max:8 min:1]
[ 1855.370910] rkispp0: scale0:0x0 out of range:
[ 1855.370910] [width max:3264 ratio max:8 min:1]
[ 1855.424747] rockchip-mipi-dphy-rx ff4b0000.csi-dphy: stream on:1
[ 1855.424784] rockchip-mipi-dphy-rx: data_rate_mbps 222
[RKMEDIA][SYS][Info]:Output first frame
Get Frame:ptr:0x990f0000, fd:91, size:3110400, mode:9, channel:0, timestamp:1855495635, ImgInfo:<wxh 1920x1080, fmt 0x4>
#Save frame-0 to /tmp/1080p.nv12
Get Frame:ptr:0x98df3000, fd:92, size:3110400, mode:9, channel:0, timestamp:1855528950, ImgInfo:<wxh 1920x1080, fmt 0x4>
#Save frame-1 to /tmp/1080p.nv12
Get Frame:ptr:0x98af6000, fd:93, size:3110400, mode:9, channel:0, timestamp:1855562336, ImgInfo:<wxh 1920x1080, fmt 0x4>
#Save frame-2 to /tmp/1080p.nv12
Get Frame:ptr:0x990f0000, fd:91, size:3110400, mode:9, channel:0, timestamp:1855595674, ImgInfo:<wxh 1920x1080, fmt 0x4>
#Save frame-3 to /tmp/1080p.nv12
Get Frame:ptr:0x98df3000, fd:92, size:3110400, mode:9, channel:0, timestamp:1855628980, ImgInfo:<wxh 1920x1080, fmt 0x4>
#Save frame-4 to /tmp/1080p.nv12
Get Frame:ptr:0x98af6000, fd:93, size:3110400, mode:9, channel:0, timestamp:1855662333, ImgInfo:<wxh 1920x1080, fmt 0x4>
#Save frame-5 to /tmp/1080p.nv12
Get Frame:ptr:0x990f0000, fd:91, size:3110400, mode:9, channel:0, timestamp:1855695680, ImgInfo:<wxh 1920x1080, fmt 0x4>
#Save frame-6 to /tmp/1080p.nv12
Get Frame:ptr:0x98df3000, fd:92, size:3110400, mode:9, channel:0, timestamp:1855729012, ImgInfo:<wxh 1920x1080, fmt 0x4>
#Save frame-7 to /tmp/1080p.nv12
Get Frame:ptr:0x98af6000, fd:93, size:3110400, mode:9, channel:0, timestamp:1855762344, ImgInfo:<wxh 1920x1080, fmt 0x4>
#Save frame-8 to /tmp/1080p.nv12
Get Frame:ptr:0x990f0000, fd:91, size:3110400, mode:9, channel:0, timestamp:1855795646, ImgInfo:<wxh 1920x1080, fmt 0x4>
#Save frame-9 to /tmp/1080p.nv12
[RKMEDIA][SYS][Info]:RK_MPI_VI_DisableChn: Disable VI[0:0]:rkispp_scale0, 1920x1080 Start...
[ 1856.429831] rockchip-mipi-dphy-rx ff4b0000.csi-dphy: stream on:0
[ 1857.450293] rkispp0: waiting on params stream off event timeout
[RKMEDIA][VI][Info]:#SourceStreamFlow[SourceFlow:v4l2_capture_stream]: stream off....
libv4l2: error dequeuing buf: Invalid argument
[RKMEDIA][SYS][Info]:rkispp_scale0, ioctl(VIDIOC_DQBUF): Invalid argument
[RKMEDIA][VI][Info]:#SourceStreamFlow[SourceFlow:v4l2_capture_stream]: read thread exit sucessfully!
[RKMEDIA][SYS][Info]:#V4L2Ctx: close , fd 90
[RKMEDIA][SYS][Info]:#V4L2Stream: v4l2 ctx reset to nullptr!
[RKMEDIA][VI][Info]:#SourceStreamFlow[SourceFlow:v4l2_capture_stream]: stream reset sucessfully!
[RKMEDIA][SYS][Info]:SourceFlow:v4l2_capture_stream quit
[RKMEDIA][SYS][Info]:RK_MPI_VI_DisableChn: Disable VI[0:0]:rkispp_scale0, 1920x1080 End...
rk_aiq_uapi_sysctl_stop enter
rk_aiq_uapi_sysctl_deinit enter
rk_aiq_uapi_sysctl_deinit exit
main exit!
|
|