ubuntu 无法识别摄像头
ubuntu 无法识别摄像头log是连接图
什么摄像头?usb?,如果是 usb 的话留意一下是生成 /dev/videox 哪个设备 是这个型号:800W单目摄像头CAM-8MS1M MIPI摄像机8M传感人脸识别门禁考勤机 gst-launch-1.0 v4l2src device=/dev/video0 !queue !video/x-raw,format=NV12,width=1920,height=1080, framerate=30/1 ! videoconvert ! glimagesink 不能打开吗 (独立问题已建立帖子,只在此贴交流) 3588板子上接线图是不是 三角号的脚与对应摄像头的01脚。
/home/wyg/Downloads/ubuntu_firefly/camera_pic.jpg firefly@firefly:~$ gst-launch-1.0 v4l2src device=/dev/video0 ! queue !video/x-raw,format=NV12,width=1920,heithg=1080,framerate=30/1 ! videoconvert ! glimagesink
bash: !video/x: event not found
irefly@firefly:~$ gst-launch-1.0 v4l2src device=/dev/video0 ! queue ! video/x-raw,format=NV12,width=1920,heithg=1080,framerate=30/1 ! videoconvert ! glimagesink
Setting pipeline to PAUSED ...
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '5'.
ERROR: Pipeline doesn't want to pause.
Got context from element 'sink': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayWayland\)\ gldisplaywayland0";
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not open device '/dev/video0' for reading and writing.
Additional debug info:
v4l2_calls.c(621): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: No such device
Setting pipeline to NULL ...
Freeing pipeline ...
heithg=1080 改成height=1080,使用root权限,同时 /dev/video0~video8都进行了验证。还是无法识别。 我这边测试没有问题,mipi 摄像头接在背后的 mipi 接口(背后只有一个),附件 log 乱码,还有可以用android 测试一下 如果工作正常,dmsg 会有什么信息打印出来?