官方默认程序camera_capture_test.cc运行失败求助
本帖最后由 ubuntu 于 2021-7-22 16:25 编辑参考官方文档Rockchip_Instruction_Linux_Application_ISP20_CN.pdf 2.1节。
成功build 如下程序push 后
external/rkmedia/examples/unitTest/stream/camera_capture_test.cc
执行如下程序失败, video19 在我设备上是isppscale0, 执行过程如下, 会产生一个size为0的out.yuv
<div class="blockcode"><blockquote># camera_cap_test -i /dev/video19 -o /tmp/outpu
t.yuv -w 1920 -h 1080 -f image:yuyv422
origin media get entity by name: rkcif-lvds-subdev is null
origin media get entity by name: rkcif-lite-lvds-subdev is null
origin media get entity by name: rkisp-mpfbc-subdev is null
origin media get entity by name: rkisp_dmapath is null
origin media get entity by name: rockchip-mipi-dphy-rx is null
Rga built version:1.04 9286b22+2021-07-21 09:58:28
input path: /dev/video19
output file path: /tmp/output.yuv
input format: image:yuyv422
output format:
width, height: 1920, 1080
Stream:
alsa_capture_stream alsa_playback_stream drm_output_stream file_read_stream file_write_stream v4l2_capture_stream
:RKAIQ: parsing /dev/media0
origin media get entity by name: rkcif-lvds-subdev is null
origin media get entity by name: rkcif-lite-lvds-subdev is null
:RKAIQ: parsing /dev/media1
origin media get entity by name: rkisp-mpfbc-subdev is null
origin media get entity by name: rkisp_dmapath is null
origin media get entity by name: rockchip-mipi-dphy-rx is null
:RKAIQ: model(rkisp0): isp_info(0): isp-subdev entity name: /dev/v4l-subdev4
:RKAIQ: parsing /dev/media2
:RKAIQ: model(rkispp0): ispp_info(0): ispp-subdev entity name: /dev/v4l-subdev0
:#V4l2Stream: camraID:0, Device:/dev/video19
:#V4l2Stream: camera id:0, VideoNode:/dev/video19
Using mplane plugin for capture
:#V4L2Ctx: open /dev/video19, fd 5
:Opened DRM device /dev/dri/card0: driver rockchip version 2.0.0.
cd /oem;./RkLunch-stop.sh 之后再运行看看效果
页:
[1]