Skip to content

Instantly share code, notes, and snippets.

@alfredh
Created July 22, 2017 14:45
Show Gist options
  • Save alfredh/28d43a88e1fdb6fa4e7f54529f021d54 to your computer and use it in GitHub Desktop.
Save alfredh/28d43a88e1fdb6fa4e7f54529f021d54 to your computer and use it in GitHub Desktop.
v4l2 dump Logitech C920
$ v4l2-ctl -D --list-formats
Driver Info (not using libv4l2):
Driver name : uvcvideo
Card type : HD Pro Webcam C920
Bus info : usb-0000:00:14.0-4
Driver version: 4.9.30
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'YUYV'
Name : YUYV 4:2:2
Index : 1
Type : Video Capture
Pixel Format: 'H264' (compressed)
Name : H.264
Index : 2
Type : Video Capture
Pixel Format: 'MJPG' (compressed)
Name : Motion-JPEG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment