Command to check which permission may write to the camera?

A action camera, operates the webcam.
See it in the system as
device /dev/video0
device /dev/video1
What is the command to check what permissions you can write to the camera?
June 3rd 19 at 19:01
1 answer
June 3rd 19 at 19:03
I think there are different ways. For example, you can install the package v4l-utils:
$ v4l2-ctl --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
 Index : 0
 Type : Video Capture
 Pixel Format: 'YUYV'
 Name : YUYV 4:2:2
 Size: Discrete 640x480
 Interval: Discrete 0.033 s (30.000 fps)
 Interval: Discrete 0.040 s (25.000 fps)
 Interval: Discrete 0.050 s (20.000 fps)
 Interval: Discrete 0.067 s (15.000 fps)
 Interval: Discrete 0.100 s (10.000 fps)
 Interval: Discrete 0.200 s (5.000 fps)
 Size: 352x288 Discrete
 Interval: Discrete 0.033 s (30.000 fps)
 Interval: Discrete 0.040 s (25.000 fps)
 Interval: Discrete 0.050 s (20.000 fps)
 Interval: Discrete 0.067 s (15.000 fps)
 Interval: Discrete 0.100 s (10.000 fps)
 Interval: Discrete 0.200 s (5.000 fps)
 Size: Discrete 320x240
 Interval: Discrete 0.033 s (30.000 fps)
 Interval: Discrete 0.040 s (25.000 fps)
 Interval: Discrete 0.050 s (20.000 fps)
 Interval: Discrete 0.067 s (15.000 fps)
 Interval: Discrete 0.100 s (10.000 fps)
 Interval: Discrete 0.200 s (5.000 fps)
 Size: Discrete 176x144
 Interval: Discrete 0.033 s (30.000 fps)
 Interval: Discrete 0.040 s (25.000 fps)
 Interval: Discrete 0.050 s (20.000 fps)
 Interval: Discrete 0.067 s (15.000 fps)
 Interval: Discrete 0.100 s (10.000 fps)
 Interval: Discrete 0.200 s (5.000 fps)
 Size: 160x120 Discrete
 Interval: Discrete 0.033 s (30.000 fps)
 Interval: Discrete 0.040 s (25.000 fps)
 Interval: Discrete 0.050 s (20.000 fps)
 Interval: Discrete 0.067 s (15.000 fps)
 Interval: Discrete 0.100 s (10.000 fps)
 Interval: Discrete 0.200 s (5.000 fps)

Find more questions by tags RaspbianRaspberry Pi