ffmpeg -f v4l2 -list_formats

This commit is contained in:
cpu
2023-12-19 09:22:22 +01:00
parent 614afdde8e
commit 74f18cb037

View File

@@ -114,6 +114,12 @@ ioctl: VIDIOC_ENUM_FMT
Size: Discrete 1600x1200 Size: Discrete 1600x1200
Interval: Discrete 0.200s (5.000 fps) Interval: Discrete 0.200s (5.000 fps)
``` ```
Or using ffmpeg
> `ffmpeg -hide_banner -f v4l2 -list_formats all -i /dev/video0`
```
Compressed: mjpeg : Motion-JPEG : 160x120 176x144 320x240 352x288 640x480 800x600 960x720
Raw : yuyv422 : YUYV 4:2:2 : 160x120 176x144 320x240 352x288 640x480 800x600 960x720 1600x1200
```
Lists all available recording devices Lists all available recording devices
> `arecord -l` > `arecord -l`
``` ```