Closed ynott closed 2 years ago
My Buffalo WebCam did not seem to match the size and frame rate.
$ v4l2-ctl --list-formats-ext
Index : 1
Type : Video Capture
Pixel Format: 'MJPG' (compressed)
Name : Motion-JPEG
Size: Discrete 1280x960
Interval: Discrete 0.083s (12.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.042s (24.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.062s (16.000 fps)
Size: Discrete 800x600
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.042s (24.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.062s (16.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.042s (24.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.062s (16.000 fps)
---< snip > ---
If I try to run it with
/dev/video0 --media v4l2 --cam-fps 10
, I get an error.However, it worked when I specified the Width and Height and cam-fps as follows.