Firefly开源社区
标题:
官方默认程序camera_capture_test.cc运行失败求助
[打印本页]
作者:
ubuntu
时间:
2021-7-22 16:23
标题:
官方默认程序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>[root@RV1126_RV1109:/oem/usr/bin]# 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
[wotianjiade] 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
[RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media0
[wotianjiade] origin media get entity by name: rkcif-lvds-subdev is null
[wotianjiade] origin media get entity by name: rkcif-lite-lvds-subdev is null
[RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media1
[wotianjiade] origin media get entity by name: rkisp-mpfbc-subdev is null
[wotianjiade] origin media get entity by name: rkisp_dmapath is null
[wotianjiade] origin media get entity by name: rockchip-mipi-dphy-rx is null
[RKMEDIA][SYS][Info]:RKAIQ: model(rkisp0): isp_info(0): isp-subdev entity name: /dev/v4l-subdev4
[RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media2
[RKMEDIA][SYS][Info]:RKAIQ: model(rkispp0): ispp_info(0): ispp-subdev entity name: /dev/v4l-subdev0
[RKMEDIA][SYS][Info]:#V4l2Stream: camraID:0, Device:/dev/video19
[RKMEDIA][SYS][Info]:#V4l2Stream: camera id:0, VideoNode:/dev/video19
Using mplane plugin for capture
[RKMEDIA][SYS][Info]:#V4L2Ctx: open /dev/video19, fd 5
[RKMEDIA][SYS][Info]:Opened DRM device /dev/dri/card0: driver rockchip version 2.0.0.
复制代码
作者:
板蓝根
时间:
2021-7-22 19:45
cd /oem;./RkLunch-stop.sh 之后再运行看看效果
欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/)
Powered by Discuz! X3.1