From 74f18cb0379b7f7b7aa57d87e5834d8d21b7e2ef Mon Sep 17 00:00:00 2001 From: cpu Date: Tue, 19 Dec 2023 09:22:22 +0100 Subject: [PATCH] ffmpeg -f v4l2 -list_formats --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 739f843..cb57da9 100644 --- a/README.md +++ b/README.md @@ -114,6 +114,12 @@ ioctl: VIDIOC_ENUM_FMT Size: Discrete 1600x1200 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 > `arecord -l` ```