嵌入式爱好者

查看: 1006|回复: 2

[Linux] ov5645 mipi测试

[复制链接]

12

主题

25

帖子

77

积分

i.MX8MM通行证i.MX8MP通行证RK3588通行证

扫一扫,手机访问本帖
发表于 2023-3-6 13:18:50 | 显示全部楼层 |阅读模式
你好,

我用IMX8MP开发板接上0V5645的摄像头进行测试,没有图像输出,打印信息如下:
root@OK8MP:~# gst-launch-1.0 v4l2src device=/dev/video0 io-mode=2 ! video/x-raw, format=YUY2, width=640, height=480,fram
erate=30/1 ! imxvideoconvert_g2d ! queue ! video/x-raw, format=RGB16, width=640, height=480 ! waylandsink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
../../../../git/libs/gst/base/gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
root@OK8MP:~#
root@OK8MP:~#
请问这一般是什么问题。

TKS





回复

使用道具 举报

0

主题

124

帖子

384

积分

A40i/T3/T507/T527通行证i.MX6Q通行证i.MX6UL通行证i.MX8MM通行证i.MX8MP通行证RK3568通行证RK3588通行证RK3399通行证LS1028A通行证G2L通行证LS1012A通行证LS1043A\46A通行证TCU通行证FDU产品通行证FCU1401通行证FCU1301通行证FCU11xx通行证FCU1201通行证FCU2201通行证FCU2301/FCU2302通行证FCU2401通行证5G转接卡通行证FCU3001通行证AM5718通行证Hi3519A通信证AM335x通行证i.MX RT通行证XX18通行证AM62x资料下载FDU070K02\FDU101K02通行证i.MX9352通行证

发表于 2023-3-9 09:36:08 | 显示全部楼层
您输出的分辨率不对吧,ov5645只支持1280x960和1920x1080,您可以按照手册中的命令进行测试。在用户使用手册,5.6.2章节。
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-4-26 19:40

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表