完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
用提供的 qmake 和 交叉编译工具 编译 app-cmd 下的 camera 代码 在开发板上运行时 拍照 是正常的 但 摄像时 会出错(直接运行 开发板自带的camera程序 拍照和摄像都是正常的) //错误 如下: # ./camera [1] start camera ov5640 [2] start camera ov5645 [3] quit Enter your selection: 2 2 [ 78.902000] ov5645: ov5645_link_setup [ 78.905000] hdc mipi_vin_setup_io [ 78.905000] mipi_phy_enable [ 78.907000] ov5645: ov5645_s_power: on 1 [ 78.913000] hdc mipi_vin_setup_io [ 78.914000] mipi_phy_enable [ 78.917000] ov5645: ov5645_s_power: on 1 [ 78.921000] ov5645: ov5645_s_fmt: 1600x1200 [ 78.925000] ov5645: ov5645_s_mbus_fmt [ 78.928000] ov5645: ov5645_set_params [ 78.932000] ov5645: ov5645_select_win [ 78.936000] nxp_mlc_set_crop: pad(1), crop(0,0,1280,640) [ 78.941000] nxp_mlc_set_crop: pad(1), crop(0,0,1280,640) [ 78.949000] back_camera_power_enable: is_back_camera_enabled 0, on 1 [ 78.965000] ov5645: ov5645_s_stream: enable 1, initialized 0 [ 78.966000] ov5645: OV5645 Chip ID 0x5645 detected [ 78.969000] ov5645: enter ov5645_init [1] take photo [2] record a video [3] quit Enter your selection: [1] take photo [2] record a video [3] quit Enter your selection: [ 79.442000] ov5645: ov5645_s_stream reg_write_array init regs [ 79.469000] ov5645: ov5645_s_stream: reg_write_array win regs [ 79.469000] ov5645: ov5645_set_mbusformat [ 79.821000] nxp_mlc_s_stream: enable 1, client VIDEO MLC VID0, is_video 1 [ 79.822000] _hw_configure_video 0: fw(1280), fh(640), crop(0:0:1280:640), priority(0), format(0x3053564d) [ 79.846000] _hw_video_enable: module 0, enable 1 [ 83.184000] ov5645: reg_wait_stat status 70 2 NX_VidEncInit() success Encoder Header Size = 21 [1] take photo [2] record a video [3] quit Enter your selection: [1] take photo [2] record a video [3] quit Enter your selection: [ 0]FrameType = 1, size = 125172, bitRate = inf kbps, Qp = 22, PSNR = 40.967880, time= 6 [ 89.909000] [DRV|VPU_API]/diske3/xxz/sh/lc/4/forlinx/OKxx18-source-android51/linux/kernel/kernel-3.4.39/modules/coda960/src/nx_vpu_api.c(400) : VPU HW Timeout! [ 89.917000] [DRV|VPU_API]/diske3/xxz/sh/lc/4/forlinx/OKxx18-source-android51/linux/kernel/kernel-3.4.39/modules/coda960/src/nx_vpu_api.c(477) : VPU_WaitVpuInterrupt() TimeOut!!!(reason = 0x00000000, CurPC(0xBD 0xBF : bd bd bd)) [ 89.937000] [VPU|DRV]/diske3/xxz/sh/lc/4/forlinx/OKxx18-source-android51/linux/kernel/kernel-3.4.39/modules/coda960/linux/linux_vpu_drv.c(372) : NX_VpuEncRunFrame() failed.(ErrorCode=-20) [VPU|API] nx_video_api.c(516) : IOCTL_VPU_ENC_RUN_FRAME ioctl failed!!! [ 1]FrameType = 1, size = 125172, bitRate = 60082.560 kbps, Qp = 22, PSNR = 34.956001, time= 1045 [ 91.211000] [DRV|VPU_API]/diske3/xxz/sh/lc/4/forlinx/OKxx18-source-android51/linux/kernel/kernel-3.4.39/modules/coda960/src/nx_vpu_api.c(400) : VPU HW Timeout! [ 91.221000] [DRV|VPU_API]/diske3/xxz/sh/lc/4/forlinx/OKxx18-source-android51/linux/kernel/kernel-3.4.39/modules/coda960/src/nx_vpu_api.c(477) : VPU_WaitVpuInterrupt() TimeOut!!!(reason = 0x00000000, CurPC(0xBD 0xBF : bd bd bf)) [ 91.239000] [VPU|DRV]/diske3/xxz/sh/lc/4/forlinx/OKxx18-source-android51/linux/kernel/kernel-3.4.39/modules/coda960/linux/linux_vpu_drv.c(372) : NX_VpuEncRunFrame() failed.(ErrorCode=-20) [VPU|API] nx_video_api.c(516) : IOCTL_VPU_ENC_RUN_FRAME ioctl failed!!! [ 2]FrameType = 1, size = 125172, bitRate = 45061.920 kbps, Qp = 22, PSNR = 34.777344, time= 1045 [ 92.523000] [DRV|VPU_API]/diske3/xxz/sh/lc/4/forlinx/OKxx18-source-android51/linux/kernel/kernel-3.4.39/modules/coda960/src/nx_vpu_api.c(400) : VPU HW Timeout! [ 92.531000] [DRV|VPU_API]/diske3/xxz/sh/lc/4/forlinx/OKxx18-source-android51/linux/kernel/kernel-3.4.39/modules/coda960/src/nx_vpu_api.c(477) : VPU_WaitVpuInterrupt() TimeOut!!!(reason = 0x00000000, CurPC(0xBD 0xBF : bd bd bd)) [ 92.551000] [VPU|DRV]/diske3/xxz/sh/lc/4/forlinx/OKxx18-source-android51/linux/kernel/kernel-3.4.39/modules/coda960/linux/linux_vpu_drv.c(372) : NX_VpuEncRunFrame() failed.(ErrorCode=-20) [VPU|API] nx_video_api.c(516) : IOCTL_VPU_ENC_RUN_FRAME ioctl failed!!! [ 3]FrameType = 1, size = 125172, bitRate = 40055.040 kbps, Qp = 22, PSNR = 34.801540, time= 1046 |
|
相关推荐
1个回答
|
|
当我把 编码器的 分辨率 改在 1920x1088 以内即可 解决 该问题
|
|
|
|
只有小组成员才能发言,加入小组>>
820 浏览 0 评论
1162 浏览 1 评论
2537 浏览 5 评论
2872 浏览 9 评论
移植了freeRTOS到STMf103之后显示没有定义的原因?
2722 浏览 6 评论
keil5中manage run-time environment怎么是灰色,不可以操作吗?
1127浏览 3评论
199浏览 2评论
465浏览 2评论
382浏览 2评论
M0518 PWM的电压输出只有2V左右,没有3.3V是怎么回事?
464浏览 1评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-31 04:26 , Processed in 1.028852 second(s), Total 50, Slave 41 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号