Hi,
I have MIPI camera from Khadas, running VIM3 Ubuntu image and trying to connect a camera to any monitoring system.
So far I’ve tried using https://github.com/Motion-Project/motion and https://github.com/kerberos-io/opensource. Both attempts failed.
When trying to use motion I’ve got errors:
[1:ml1] [ERR] [VID] [Jan 11 16:27:50] v4l2_device_capability: Device does not support capturing.
[1:ml1] [ERR] [VID] [Jan 11 16:27:50] vid_start: V4L2 device failed to open
[1:ml1] [WRN] [ALL] [Jan 11 16:27:50] motion_init: Could not fetch initial image from camera
I’ve also tried to use simple ffmpeg command
ffmpeg -f v4l2 -video_size 1280x720 -i /dev/video0
and got similar results:
[video4linux2,v4l2 @ 0x55936ce790] Not a video capture device. /dev/video0: No such device
I’ve also run command I’ve found on this forum:
v4l2_test -c 1 -p 0 -F 0 -f 0 -D 0 -R 1 -r 2 -d 2 -N 1000 -n 800 -w 0 -e 1 -I 0 -b /dev/fb0 -v /dev/video0
but it only displayed stream on my screen for couple seconds and nothing chaned.
When running guvcview according to VIM3 docs, everything work as intended.
When I run: v4l2-ctl -D
I’ve got:
Driver Info: Driver name : ARM-camera-isp Card type : juno R2 Bus info : platform:isp-v4l2-0 Driver version : 4.9.241 Capabilities : 0x85201000 Video Capture Multiplanar Read/Write Streaming Extended Pix Format Device Capabilities Device Caps : 0x05201000 Video Capture Multiplanar Read/Write Streaming Extended Pix Format
Is it possible that Video Capture Multiplanar is causing this issue or is it normal?
Thanks in advance