1.1K Star 6.1K Fork 5K

OpenHarmony / docs

 / 详情

[问题咨询]: 执行./camera_sample

待办的
创建于  
2024-04-24 10:52

问题描述

Camera sample begin.


Select the behavior of avrecorder.
1: Capture
2: Record(Press s to stop)
3: Preview(Press s to stop)
q: quit the sample.


01-01 00:09:38.906 16 105 I 01800/Samgr: Samgr is not init, no service!
I: CamHal HalCameraGetDeviceNum-991: enter
I: CamHal HalCameraGetDeviceNum-994: exit
I: CamHal HalCameraGetDeviceList-1000: enter
I: CamHal HalCameraGetDeviceList-1006: exit
01-01 00:09:38.906 16 105 I 01800/Samgr: Initialize Client Registry!
01-01 00:09:38.907 3 36 D 01800/Samgr: Judge Auth<CameraServer, (null)> ret:0
01-01 00:09:38.907 3 36 D 01800/Samgr: Find Feature<CameraServer, (null)> id<34, 0> ret:0
01-01 00:09:38.907 16 105 I 01800/Samgr: Create remote sa proxy<CameraServer, (null)>!
01-01 00:09:38.907 16 105 I 02B00/MultiMedia: {InitCameraServiceClient()-camera_service_client.cpp:53} Camera client initialize success.
01-01 00:09:38.933 16 105 I 02B00/MultiMedia: {Callback()-camera_service_client.cpp:131} Callback : cameraId 0
01-01 00:09:38.934 16 105 I 02B00/MultiMedia: {Callback()-camera_service_client.cpp:131} Callback : cameraId 1
I: CamHal HalCameraGetStreamCap-1020: enter
I: CamHal HalCameraGetStreamCap-1030: exit
I: CamHal HalCameraGetAbility-1331: enter
I: CamHal HalCameraGetAbility-1341: exit
I: CamHal HalCameraGetAbility-1331: enter
I: CamHal HalCameraGetAbility-1341: exit
I: CamHal HalCameraGetStreamCap-1020: enter
I: CamHal HalCameraGetStreamCap-1030: exit
I: CamHal HalCameraGetAbility-1331: enter
I: CamHal HalCameraGetAbility-1341: exit
I: CamHal HalCameraGetAbility-1331: enter
I: CamHal HalCameraGetAbility-1341: exit
I: CamHal HalCameraDeviceOpen-1036: enter
open camera = 0
sns id = 0
[HalCameraDeviceOpen]-1046: lib0:, obj0:, len0:64
[CameraStartVi]-1478: lib:, obj:, len:64
01-01 00:09:39.002 16 105 D 02B00/MultiMedia: {GetCameraIds()-camera_manager.cpp:121} 0
01-01 00:09:39.003 16 105 D 02B00/MultiMedia: {GetCameraIds()-camera_manager.cpp:121} 1
mipi_check_comb_dev_attr(213): invalid img_size(0, 0), can't be smaller than (32, 32)
mipi_set_combo_dev_attr(681): mipi check combo_dev attr failed!
mipi_rx_ioctl(999): mipi set combo_dev attr failed!
[ViGetSnsObj]-1158: dlopen sns lib error! Error loading shared library : Invalid argument[ViSetMipiAttr]-606: MIPI_SET_DEV_ATTR failed
[CameraStartMIPI]-673: HISI_VI_SetMipiAttr failed!
[CameraStartVi]-1482: CameraStartMIPI failed!
[HalCameraDeviceOpen]-1050: start vi failed.s32Ret:0xffffffff !
01-01 00:09:39.006 6 35 E 02B00/MultiMedia: {CreateCamera()-camera_service.cpp:149} HalCameraDeviceOpen failed. ret(-1)
01-01 00:09:39.007 16 107 I 02B00/MultiMedia: {ServiceClientCallback()-camera_service_client.cpp:255} ServiceClientCallback, funcId=0
01-01 00:09:39.007 16 105 E 02B00/MultiMedia: {Callback()-camera_service_client.cpp:146} unsupport funcId.

输入0
Camera is not ready.
输入q
Camera is not ready.
Camera sample end.
[ERR][camera_sample:thread1]LiteIpcRead failed ERROR: -132

感谢大佬能帮解决下

评论 (1)

scy2 创建了任务
scy2 添加了
 
question
标签
展开全部操作日志

感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 @NEEN @zengyawen @时睿 @Peter_1988 。如果需要调整订阅PR、Issue的变更状态,请访问链接

Thanks for submitting the issue. For more commands, please visit OpenHarmony Command List. If you have any questions, please refer to committer @NEEN @zengyawen @时睿 @Peter_1988 for help. If you need to change the subscription of a Pull Request or Issue, please visit the link.

openharmony_ci 添加了
 
waiting_for_assign
标签

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
7387629 openharmony ci 1656582662
其他
1
https://gitee.com/openharmony/docs.git
git@gitee.com:openharmony/docs.git
openharmony
docs
docs

搜索帮助