v853读取usb摄像头,摄像头能够正常识别。但是用fswebcam -d /dev/video1 --no-banner -r 640x480 capture1.jpg指令,报以下错误
— Opening /dev/video1…
Trying source module v4l2…
/dev/video1 opened.
No input was specified, using the first.
Error starting stream.
VIDIOC_STREAMON: I/O error
Unable to use mmap. Using read instead.
Unable to use read.
使用camerademo YUY2 640 480 30 jpg /tmp 1 1 debug指令,报以下信息
[CAMERA]**********************************************************
[CAMERA]* *
[CAMERA]* this is camera test. *
[CAMERA]* *
[CAMERA]**********************************************************
[CAMERA_ERR] unsupport input format YUY2
[CAMERA] using format parameters NV21
[CAMERA_ERR] input jpg error
[CAMERA] using default parameters:save BMP and YUV format
[CAMERA]**********************************************************
[CAMERA] open /dev/video1!
[CAMERA_ERR] sensor not support NV21
[CAMERA] Use support for the first format and resolution
[CAMERA] camera pixelformat: jpg
[CAMERA] Resolution size : 640 * 480
[CAMERA] The photo save path is /tmp.
[CAMERA] The number of photos taken is 1.
begin ion_alloc_open
pid: 6879, g_alloc_context = 0x2ecd0
[CAMERA] Camera capture framerate is 20/1
[CAMERA] VIDIOC_S_FMT succeed
[CAMERA] fmt.type = 1
[CAMERA] fmt.fmt.pix.width = 640
[CAMERA] fmt.fmt.pix.height = 480
[CAMERA] fmt.fmt.pix.pixelformat = jpg
[CAMERA] fmt.fmt.pix.field = 1
[CAMERA_DEBUG] reqbuf number is 3
[CAMERA_DEBUG] map buffer index: 0, mem: 0xb6f88000, len: 9600, offset: 0
[CAMERA_DEBUG] map buffer index: 1, mem: 0xb6f0f000, len: 9600, offset: a000
[CAMERA_DEBUG] map buffer index: 2, mem: 0xb6f05000, len: 9600, offset: 14000
[CAMERA_ERR] VIDIOC_STREAMON error! I/O error
[CAMERA] close /dev/video1
[CAMERA_ERR] capture_photo return error