a6228 发表于 2019-12-26 17:31:02

root@firefly:/home/firefly/workplace/test/test_cam# gst-launch-1.0 v4l2src num-buffers=1 ! jpegdec ! filesink location=/home/firefly/workplace/test/test_cam/sample.jpeg   
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device '/dev/video0' is not a capture device.
Additional debug info:
v4l2_calls.c(631): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Capabilities: 0x4208000
Setting pipeline to NULL ...
Freeing pipeline ...
root@firefly:/home/firefly/workplace/test/test_cam#
我用gstreamer拍照,也出现报错,我安装的是官方的FIREFLY-RK3288-UBUNTU18.04-GPT-20191205-1903

a6228 发表于 2019-12-27 13:44:13

gst-launch-1.0 v4l2src device=/dev/video1 ! videoconvert ! jpegenc ! jpegparse ! multifilesink location=/home/firefly/workplace/test/%05d.jpg
我是用这个命令,用OV13850摄像头模块拍照,拍的照片是花的,改成USB摄像头(device=/dev/video5)拍的照片是正常的,请问是不是摄像头模块有问题

a6228 发表于 2019-12-27 13:46:25

照片分别是两个摄像头拍的效果

a6228 发表于 2019-12-27 13:50:44

使用OV13850摄像头模块拍照,还会出现这个错误日志rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)

Negro旋 发表于 2019-12-27 15:52:46

应该不是模块的问题。在/usr/local/bin下有脚本dual-camera-rkisp.sh,是用gstreamer来预览摄像头的,你看看可不可参照。
页: 1 [2]
查看完整版本: OV13850摄像头模组无法加载