[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
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 for fast replies and sorry for my late response, I had to reinstall system on khadas because of issues not related to the camera.
Unfortunately after reinstalling a system, upgrading to latest version, ensuring device is presented in /boot/env.txt I cannot even see a camera in v4l2 devices.
System:
Linux Khadas 5.7.0 #0.9.1 SMP Tue Jun 2 17:07:41 CST 2020 aarch64 aarch64 aarch64 GNU/Linux
/boot/env/txt:
overlays=uart3 pwm_f i2c3 os08a10
root@Khadas:~# v4l2-ctl --list-devices
Amlogic Video Decoder (platform:meson-vdec):
/dev/video0
root@Khadas:~# sudo v4l2-ctl --device=/dev/video0 --all
Driver Info:
Driver name : meson-vdec
Card type : Amlogic Video Decoder
Bus info : platform:meson-vdec
Driver version : 5.7.0
Capabilities : 0x84204000
Video Memory-to-Memory Multiplanar
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04204000
Video Memory-to-Memory Multiplanar
Streaming
Extended Pix Format
Priority: 2
Format Video Capture Multiplanar:
Width/Height : 1280/720
Pixel Format : ‘NM12’ (Y/CbCr 4:2:0 (N-C))
Field : None
Number of planes : 2
Flags :
Colorspace : Default
Transfer Function : Default
YCbCr/HSV Encoding: Default
Quantization : Default
Plane 0 :
Bytes per Line : 1280
Size Image : 983040
Plane 1 :
Bytes per Line : 1280
Size Image : 491520
Format Video Output Multiplanar:
Width/Height : 1280/720
Pixel Format : ‘VP90’ (VP9)
Field : None
Number of planes : 1
Flags :
Colorspace : Default
Transfer Function : Default
YCbCr/HSV Encoding: Default
Quantization : Default
Plane 0 :
Bytes per Line : 0
Size Image : 1048576