Skip to content

Instantly share code, notes, and snippets.

@tfolbrecht
Created October 19, 2021 17:54
Show Gist options
  • Select an option

  • Save tfolbrecht/4779949d174389a7f4ee42aae7128635 to your computer and use it in GitHub Desktop.

Select an option

Save tfolbrecht/4779949d174389a7f4ee42aae7128635 to your computer and use it in GitHub Desktop.
v4l2 output
tom@desktop:/dev$ sudo v4l2-ctl --device=/dev/video0 --all
Driver Info:
Driver name : uvcvideo
Card type : Rift S Sensor: Rift S Sensor
Bus info : usb-0000:00:14.0-2.1
Driver version : 5.11.22
Capabilities : 0x84a00001
Video Capture
Metadata Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Media Driver Info:
Driver name : uvcvideo
Model : Rift S Sensor: Rift S Sensor
Serial : 00000000000000
Bus info : usb-0000:00:14.0-2.1
Media version : 5.11.22
Hardware revision: 0x00000007 (7)
Driver version : 5.11.22
Interface Info:
ID : 0x03000002
Type : V4L Video
Entity Info:
ID : 0x00000001 (1)
Name : Rift S Sensor: Rift S Sensor
Function : V4L2 I/O
Flags : default
Pad 0x01000007 : 0: Sink
Link 0x02000010: from remote pad 0x100000a of entity 'Extension 4': Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
Width/Height : 1600/856
Pixel Format : 'YUYV' (YUYV 4:2:2)
Field : None
Bytes per Line : 3200
Size Image : 2739200
Colorspace : sRGB
Transfer Function : Rec. 709
YCbCr/HSV Encoding: ITU-R 601
Quantization : Default (maps to Limited Range)
Flags :
Crop Capability Video Capture:
Bounds : Left 0, Top 0, Width 1600, Height 856
Default : Left 0, Top 0, Width 1600, Height 856
Pixel Aspect: 1/1
Selection Video Capture: crop_default, Left 0, Top 0, Width 1600, Height 856, Flags:
Selection Video Capture: crop_bounds, Left 0, Top 0, Width 1600, Height 856, Flags:
Streaming Parameters Video Capture:
Capabilities : timeperframe
Frames per second: 60.000 (60/1)
Read buffers : 0
white_balance_temperature_auto 0x0098090c (bool) : default=0 value=0
white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4500 value=4500
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment