明远智睿技术论坛
标题:
linux-3.0.35 camera v4l2
[打印本页]
作者:
在路上
时间:
2016-11-25 15:45
标题:
linux-3.0.35 camera v4l2
执行如下命令安装摄像头模块:
root@myzr /$ modprobe ov5640_camera_mipi
root@myzr /$ modprobe mxc_v4l2_capture
root@myzr /$ lsmod
Module Size Used by
mxc_v4l2_capture 21621 0
ipu_csi_enc 2937 1 mxc_v4l2_capture
ipu_fg_overlay_sdc 4868 1 mxc_v4l2_capture
ipu_still 1703 1 mxc_v4l2_capture
ipu_bg_overlay_sdc 3925 1 mxc_v4l2_capture
ipu_prp_enc 4685 1 mxc_v4l2_capture
ov5640_camera_mipi 19710 0
camera_sensor_clock 765 1 ov5640_camera_mipi
执行测试命令:
gst-launch -v mfw_v4lsrc device=/dev/video1 capture-mode=4 ! tee name=t ! queue ! mfw_v4lsink device=/dev/video16
报如下错误:
MFW_GST_V4LSRC_PLUGIN 3.0.7 build on Jan 22 2015 12:41:02.
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
MFW_GST_V4LSINK_PLUGIN 3.0.7 build on Jan 22 2015 12:40:56ERROR: v4l2 capture: slave not found!
.
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
Setting pipeline to NULL ...
Total rendered:0
Freeing pipeline ...
[--->FINALIZE v4l_sink
摄像头模块和开发板连接没有问题,请问还有哪方面的原因?
作者:
在路上
时间:
2016-11-25 15:53
内核用的是3.0.35,各位看看是什么原因呢
作者:
JDLYyear
时间:
2016-11-25 16:29
试试/dev/video0
欢迎光临 明远智睿技术论坛 (http://bbs.myzr.com.cn/)
Powered by Discuz! X3.2