IntelRealSense / librealsense

Intel® RealSense™ SDK
https://www.intelrealsense.com/
Apache License 2.0
7.53k stars 4.81k forks source link

Unable to capture unrectified IR #10277

Closed shphilippe closed 2 years ago

shphilippe commented 2 years ago

Required Info
Camera Model D410
Firmware Version 5.12.07.150
Operating System & Version Ubuntu 18.04.5
Kernel Version (Linux Only) 4.15.0-122-generic
Platform PC
SDK Version 2.50.0-0~realsense0.6128
Language python
Segment robot

Issue Description

The following python code:

import pyrealsense2 as rs
import time

pipeline = rs.pipeline()
config = rs.config()

config.enable_stream(rs.stream.infrared, 1, 1920,1080, rs.format.y16, 15)
config.enable_stream(rs.stream.infrared, 2, 1920,1080, rs.format.y16, 15)

config.enable_record_to_file("out.bag")

pipeline.start(config)

time.sleep(10)
pipeline.stop()

Doesn't save anything. The debug log of the library is the following:

 01/03 18:10:30,599 DEBUG [139838103299904] (context.cpp:109) Librealsense VERSION: 2.50.0
 01/03 18:10:30,600 INFO [139838103299904] (backend-v4l2.cpp:570) Failed to read busnum/devnum. Device Path: /sys/dev/char/81:2/device/../../../../../../../../../../
 01/03 18:10:30,882 INFO [139838103299904] (backend-v4l2.cpp:570) Failed to read busnum/devnum. Device Path: /sys/dev/char/81:2/device/../../../../../../../../../../
 01/03 18:10:30,883 DEBUG [139838103299904] (ds5-factory.cpp:1142) try_fetch_usb_device(...) failed.
 01/03 18:10:30,883 INFO [139838103299904] (context.cpp:382) Found 1 RealSense devices (mask 0xfe)
 01/03 18:10:30,894 INFO [139838103299904] (backend-v4l2.cpp:570) Failed to read busnum/devnum. Device Path: /sys/dev/char/81:2/device/../../../../../../../../../../
 01/03 18:10:30,895 DEBUG [139838103299904] (ds5-factory.cpp:1142) try_fetch_usb_device(...) failed.
 01/03 18:10:30,895 INFO [139838103299904] (context.cpp:382) Found 1 RealSense devices (mask 0xfe)
 01/03 18:10:30,896 INFO [139838103299904] (backend-v4l2.cpp:570) Failed to read busnum/devnum. Device Path: /sys/dev/char/81:2/device/../../../../../../../../../../
 01/03 18:10:30,898 INFO [139838103299904] (backend-v4l2.cpp:570) Failed to read busnum/devnum. Device Path: /sys/dev/char/81:2/device/../../../../../../../../../../
 01/03 18:10:30,900 INFO [139838103299904] (ros_writer.cpp:24) Compression while record is set to ON
 01/03 18:10:30,900 DEBUG [139838103299904] (ros_writer.h:67) Recorded: "/file_version" . TS: 0
 01/03 18:10:30,900 DEBUG [139838103299904] (record_sensor.cpp:20) Created record_sensor
 01/03 18:10:30,900 DEBUG [139838103299904] (sensor.cpp:106) Registered token #0 to "on_before_streaming_changes"
 01/03 18:10:30,900 DEBUG [139838103299904] (record_sensor.cpp:56) Hooked to real sense
 01/03 18:10:30,900 DEBUG [139838103299904] (record_device.cpp:32) Created record_device
 01/03 18:10:30,900 DEBUG [139838103299904] (backend-v4l2.cpp:1393) Recognized pixel-format 16-bit Depth
 01/03 18:10:30,900 DEBUG [139838103299904] (backend-v4l2.cpp:1393) Recognized pixel-format 16-bit Depth
 01/03 18:10:30,900 DEBUG [139838103299904] (backend-v4l2.cpp:1393) Recognized pixel-format 8-bit Greyscale
 01/03 18:10:30,900 DEBUG [139838103299904] (backend-v4l2.cpp:1393) Recognized pixel-format UYVY 4:2:2
 01/03 18:10:30,900 DEBUG [139838103299904] (backend-v4l2.cpp:1393) Recognized pixel-format 8-bit Greyscale
 01/03 18:10:30,900 DEBUG [139838103299904] (backend-v4l2.cpp:1393) Recognized pixel-format Interleaved 8-bit Greyscale
 01/03 18:10:30,900 DEBUG [139838103299904] (backend-v4l2.cpp:1393) Recognized pixel-format Interleaved 12-bit Greyscale
 01/03 18:10:30,909 INFO [139838103299904] (sensor.cpp:1474) Request: Y16 Infrared, Y16 Infrared, 
Resolved to: Y12I Infrared, 
 01/03 18:10:30,909 DEBUG [139838103299904] (backend-v4l2.cpp:1393) Recognized pixel-format 16-bit Depth
 01/03 18:10:30,909 DEBUG [139838103299904] (backend-v4l2.cpp:1393) Recognized pixel-format 16-bit Depth
 01/03 18:10:30,909 DEBUG [139838103299904] (backend-v4l2.cpp:1393) Recognized pixel-format 8-bit Greyscale
 01/03 18:10:30,909 DEBUG [139838103299904] (backend-v4l2.cpp:1393) Recognized pixel-format UYVY 4:2:2
 01/03 18:10:30,909 DEBUG [139838103299904] (backend-v4l2.cpp:1393) Recognized pixel-format 8-bit Greyscale
 01/03 18:10:30,909 DEBUG [139838103299904] (backend-v4l2.cpp:1393) Recognized pixel-format Interleaved 8-bit Greyscale
 01/03 18:10:30,909 DEBUG [139838103299904] (backend-v4l2.cpp:1393) Recognized pixel-format Interleaved 12-bit Greyscale
 01/03 18:10:30,910 INFO [139838103299904] (backend-v4l2.cpp:1599) Video node was successfully configured to Y12I format, fd 11
 01/03 18:10:30,910 INFO [139838103299904] (backend-v4l2.cpp:1601) Trying to configure fourcc Y12I
 01/03 18:10:30,910 INFO [139838103299904] (backend-v4l2.cpp:1775) Metadata node was successfully configured to D4XX format, fd 14
 01/03 18:10:30,915 DEBUG [139838103299904] (global_timestamp_reader.cpp:176) time_diff_keeper::start: _users_count = 1
 01/03 18:10:30,915 DEBUG [139837935961856] (ros_writer.h:67) Recorded: "/device_0/sensor_0/Infrared_1/info" . TS: 0
 01/03 18:10:30,915 DEBUG [139837935961856] (types.cpp:74) recoverable_exception: No intrinsics are available for this stream profile!
 01/03 18:10:30,915 ERROR [139837935961856] (ros_writer.cpp:335) Error trying to get intrinsc data for stream 3, 1
 01/03 18:10:30,915 DEBUG [139837935961856] (ros_writer.h:67) Recorded: "/device_0/sensor_0/Infrared_1/info/camera_info" . TS: 0
 01/03 18:10:30,915 DEBUG [139837935961856] (ros_writer.h:67) Recorded: "/device_0/sensor_0/Infrared_2/info" . TS: 0
 01/03 18:10:30,915 DEBUG [139837935961856] (types.cpp:74) recoverable_exception: No intrinsics are available for this stream profile!
 01/03 18:10:30,915 ERROR [139837935961856] (ros_writer.cpp:335) Error trying to get intrinsc data for stream 3, 2
 01/03 18:10:30,915 DEBUG [139837935961856] (ros_writer.h:67) Recorded: "/device_0/sensor_0/Infrared_2/info/camera_info" . TS: 0
 01/03 18:10:35,922 WARNING [139837902681856] (backend-v4l2.cpp:1127) Frames didn't arrived within 5 seconds
 01/03 18:10:35,922 INFO [139837902681856] (types.h:898) Frames didn't arrived within 5 seconds
 01/03 18:10:35,922 DEBUG [139837935961856] (ros_writer.h:67) Recorded: "/device_0/sensor_0/notification/Frames Timeout" . TS: 0
 01/03 18:10:40,922 DEBUG [139838103299904] (backend-v4l2.cpp:1393) Recognized pixel-format 16-bit Depth
 01/03 18:10:40,922 DEBUG [139838103299904] (backend-v4l2.cpp:1393) Recognized pixel-format 16-bit Depth
 01/03 18:10:40,922 DEBUG [139838103299904] (backend-v4l2.cpp:1393) Recognized pixel-format 8-bit Greyscale
 01/03 18:10:40,922 DEBUG [139838103299904] (backend-v4l2.cpp:1393) Recognized pixel-format UYVY 4:2:2
 01/03 18:10:40,922 DEBUG [139838103299904] (backend-v4l2.cpp:1393) Recognized pixel-format 8-bit Greyscale
 01/03 18:10:40,922 DEBUG [139838103299904] (backend-v4l2.cpp:1393) Recognized pixel-format Interleaved 8-bit Greyscale
 01/03 18:10:40,922 DEBUG [139838103299904] (backend-v4l2.cpp:1393) Recognized pixel-format Interleaved 12-bit Greyscale
 01/03 18:10:40,922 INFO [139837902681856] (backend-v4l2.cpp:959) V4L stream is closed
 01/03 18:10:40,926 DEBUG [139838103299904] (global_timestamp_reader.cpp:187) time_diff_keeper::stop: _users_count = 0
 01/03 18:10:40,926 DEBUG [139838103299904] (global_timestamp_reader.cpp:190) time_diff_keeper::stop: stop object.
 01/03 18:10:40,926 DEBUG [139838043727616] (global_timestamp_reader.cpp:254) Notification: time_diff_keeper polling loop is being shut-down
 01/03 18:10:40,997 DEBUG [139838103299904] (record_sensor.cpp:29) Destructed record_sensor
 01/03 18:10:40,998 DEBUG [139837944354560] (error-handling.cpp:87) Notification polling loop is being shut-down

What can I do to save the unrectified images ?

MartyG-RealSense commented 2 years ago

Hi @shphilippe May I first ask which computer / computing device you are using, please (e.g Raspberry Pi, Nvidia Jetson, desktop / laptop PC etc). The Failed to read busnum/devnum message is a very rare one that has typically occurred only on low-end configuration single board computing devices that were supplying insufficient power to the camera through the USB port.

Also, is the camera being detected as being on a USB 3 connection, as the Infrared 2 stream (the right-hand one) is unavailable on USB 2.1 connections. I would expect there to be a RuntimeError: Couldn't resolve requests error if Infrared 2 were unavailable for this reason though.

Streaming 1920x1080 resolution at 15 FPS for both left and right Y16 infrared simultaneously should be supported by the D410 camera model. So the problem is unlikely to be related to your stream configuration.

Please confirm that Advanced Mode on your camera is enabled by opening the RealSense Viewer program, going to the More option near the top of the options side-panel and seeing whether the 'Advanced Mode' option of its drop down menu has a tick beside it, indicating that Advanced Mode is enabled. If there is not a tick then left click on the Advanced Mode option to enable it, placing a tick beside it.

Instead of using a sleep instruction after the start before stopping the pipeline, I wonder if recording a bag may work better if you use a wait_for_frames() instruction after the start to ensure that at least one complete frame is delivered before the pipeline is stopped and the bag recording therefore closed. https://github.com/IntelRealSense/librealsense/issues/3885#issuecomment-489062446 has an example of a Python script that uses both IR streams in conjunction with wait_for_frames

shphilippe commented 2 years ago

I'm using a laptop PC, Lenovo Thinkpad T480. Here is lspci of it:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
00:1c.6 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #7 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
00:1d.2 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #11 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC Controller/eSPI Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-V (rev 21)
03:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
04:00.0 PCI bridge: Intel Corporation JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016] (rev 01)
05:00.0 PCI bridge: Intel Corporation JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016] (rev 01)
05:01.0 PCI bridge: Intel Corporation JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016] (rev 01)
05:02.0 PCI bridge: Intel Corporation JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016] (rev 01)
06:00.0 System peripheral: Intel Corporation JHL6240 Thunderbolt 3 NHI (Low Power) [Alpine Ridge LP 2016] (rev 01)
3c:00.0 USB controller: Intel Corporation JHL6240 Thunderbolt 3 USB 3.1 Controller (Low Power) [Alpine Ridge LP 2016] (rev 01)
3d:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983

Here is the lsusb of the camera confirming it's in USB3:

Bus 004 Device 070: ID 8086:0ad2 Intel Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.20
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0         9
  idVendor           0x8086 Intel Corp.
  idProduct          0x0ad2 
  bcdDevice           50.c7
  iManufacturer           1 Intel(R) RealSense(TM) Depth Camera 410 
  iProduct                2 Intel(R) RealSense(TM) Depth Camera 410 
  iSerial                 3 120623020606
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x09d8
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower              440mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         3
      bFunctionClass         14 Video
      bFunctionSubClass       3 Video Interface Collection
      bFunctionProtocol       0 
      iFunction               5 Intel(R) RealSense(TM) Depth Camera 410  Depth
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      1 Video Control
      bInterfaceProtocol      0 
      iInterface              5 Intel(R) RealSense(TM) Depth Camera 410  Depth
      VideoControl Interface Descriptor:
        bLength                14
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdUVC               1.50
        wTotalLength       0x005b
        dwClockFrequency       48.000000MHz
        bInCollection           2
        baInterfaceNr( 0)       1
        baInterfaceNr( 1)       2
      VideoControl Interface Descriptor:
        bLength                18
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Camera Sensor
        bAssocTerminal          0
        iTerminal               0 
        wObjectiveFocalLengthMin      0
        wObjectiveFocalLengthMax      0
        wOcularFocalLength            0
        bControlSize                  3
        bmControls           0x00200000
      VideoControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      5 (PROCESSING_UNIT)
        bUnitID                 2
        bSourceID               1
        wMaxMultiplier      16384
        bControlSize            3
        bmControls     0x00000200
          Gain
        iProcessing             0 
        bmVideoStandards     0x00
      VideoControl Interface Descriptor:
        bLength                28
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 3
        guidExtensionCode         {c9606ccb-594c-4d25-af47-ccc496435995}
        bNumControl            14
        bNrPins                 1
        baSourceID( 0)          2
        bControlSize            3
        bmControls( 0)       0xff
        bmControls( 1)       0x1f
        bmControls( 2)       0x00
        iExtension              6 Intel(R) RealSense(TM) Depth Camera 415  RGB
      VideoControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             4
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               3
        iTerminal               0 
      VideoControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             5
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               3
        iTerminal               0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x87  EP 7 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               6
        bMaxBurst               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0 
      iInterface              5 Intel(R) RealSense(TM) Depth Camera 410  Depth
      VideoStreaming Interface Descriptor:
        bLength                            15
        bDescriptorType                    36
        bDescriptorSubtype                  1 (INPUT_HEADER)
        bNumFormats                         2
        wTotalLength                   0x02e3
        bEndPointAddress                  130
        bmInfo                              0
        bTerminalLink                       4
        bStillCaptureMethod                 0
        bTriggerSupport                     0
        bTriggerUsage                       0
        bControlSize                        1
        bmaControls( 0)                     0
        bmaControls( 1)                     0
      VideoStreaming Interface Descriptor:
        bLength                            28
        bDescriptorType                    36
        bDescriptorSubtype                 16 (FORMAT_FRAME_BASED)
        bFormatIndex                        1
        bNumFrameDescriptors                8
        guidFormat                            {2036315a-0000-0010-8000-00aa00389b71}
        bBitsPerPixel                      16
        bDefaultFrameIndex                  1
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 2 fields
          Field 1 first: No
          Field pattern: Field 1 only
        bCopyProtect                        0
        bVariableSize                     0
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         1
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            256
        wHeight                           144
        dwMinBitRate                 53084160
        dwMaxBitRate                 53084160
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  1
        dwBytesPerLine                    512
        dwFrameInterval( 0)            111111
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         2
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            424
        wHeight                           240
        dwMinBitRate                  9768960
        dwMaxBitRate                146534400
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                    848
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         3
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            480
        wHeight                           270
        dwMinBitRate                 12441600
        dwMaxBitRate                186624000
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                    960
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         4
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           360
        dwMinBitRate                 22118400
        dwMaxBitRate                331776000
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                   1280
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         5
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                 29491200
        dwMaxBitRate                442368000
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                   1280
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         6
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            848
        wHeight                           100
        dwMinBitRate                135680000
        dwMaxBitRate                135680000
        dwDefaultFrameInterval         100000
        bFrameIntervalType                  1
        dwBytesPerLine                   1696
        dwFrameInterval( 0)            100000
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         7
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            848
        wHeight                           480
        dwMinBitRate                 39075840
        dwMaxBitRate                586137600
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                   1696
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            38
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         8
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                           1280
        wHeight                           720
        dwMinBitRate                 88473600
        dwMaxBitRate                442368000
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  3
        dwBytesPerLine                   2560
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666666
        dwFrameInterval( 2)           1666665
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     0 (Unspecified)
        bTransferCharacteristics            0 (Unspecified)
        bMatrixCoefficients                 0 (Unspecified)
      VideoStreaming Interface Descriptor:
        bLength                            28
        bDescriptorType                    36
        bDescriptorSubtype                 16 (FORMAT_FRAME_BASED)
        bFormatIndex                        2
        bNumFrameDescriptors                8
        guidFormat                            {00000050-0000-0010-8000-00aa00389b71}
        bBitsPerPixel                      16
        bDefaultFrameIndex                  1
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 2 fields
          Field 1 first: No
          Field pattern: Field 1 only
        bCopyProtect                        0
        bVariableSize                     0
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         1
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            256
        wHeight                           144
        dwMinBitRate                 53084160
        dwMaxBitRate                 53084160
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  1
        dwBytesPerLine                    512
        dwFrameInterval( 0)            111111
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         2
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            424
        wHeight                           240
        dwMinBitRate                  9768960
        dwMaxBitRate                146534400
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                    848
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         3
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            480
        wHeight                           270
        dwMinBitRate                 12441600
        dwMaxBitRate                186624000
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                    960
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         4
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           360
        dwMinBitRate                 22118400
        dwMaxBitRate                331776000
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                   1280
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         5
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                 29491200
        dwMaxBitRate                442368000
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                   1280
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         6
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            848
        wHeight                           100
        dwMinBitRate                135680000
        dwMaxBitRate                135680000
        dwDefaultFrameInterval         100000
        bFrameIntervalType                  1
        dwBytesPerLine                   1696
        dwFrameInterval( 0)            100000
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         7
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            848
        wHeight                           480
        dwMinBitRate                 39075840
        dwMaxBitRate                586137600
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                   1696
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            38
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         8
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                           1280
        wHeight                           720
        dwMinBitRate                 88473600
        dwMaxBitRate                442368000
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  3
        dwBytesPerLine                   2560
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666666
        dwFrameInterval( 2)           1666665
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     0 (Unspecified)
        bTransferCharacteristics            0 (Unspecified)
        bMatrixCoefficients                 0 (Unspecified)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0 
      iInterface              8 Intel(R) RealSense(TM) Depth Camera 410  Y
      VideoStreaming Interface Descriptor:
        bLength                            18
        bDescriptorType                    36
        bDescriptorSubtype                  1 (INPUT_HEADER)
        bNumFormats                         5
        wTotalLength                   0x0642
        bEndPointAddress                  131
        bmInfo                              0
        bTerminalLink                       5
        bStillCaptureMethod                 0
        bTriggerSupport                     0
        bTriggerUsage                       0
        bControlSize                        1
        bmaControls( 0)                     0
        bmaControls( 1)                     0
        bmaControls( 2)                     0
        bmaControls( 3)                     0
        bmaControls( 4)                     0
      VideoStreaming Interface Descriptor:
        bLength                            28
        bDescriptorType                    36
        bDescriptorSubtype                 16 (FORMAT_FRAME_BASED)
        bFormatIndex                        1
        bNumFrameDescriptors                8
        guidFormat                            {00000032-0000-0010-8000-00aa00389b71}
        bBitsPerPixel                       8
        bDefaultFrameIndex                  1
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 2 fields
          Field 1 first: No
          Field pattern: Field 1 only
        bCopyProtect                        0
        bVariableSize                     0
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         1
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            256
        wHeight                           144
        dwMinBitRate                 26542080
        dwMaxBitRate                 26542080
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  1
        dwBytesPerLine                    256
        dwFrameInterval( 0)            111111
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         2
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            424
        wHeight                           240
        dwMinBitRate                  4884480
        dwMaxBitRate                 73267200
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                    424
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         3
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            480
        wHeight                           270
        dwMinBitRate                  6220800
        dwMaxBitRate                 93312000
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                    480
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         4
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           360
        dwMinBitRate                 11059200
        dwMaxBitRate                165888000
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                    640
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         5
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                 14745600
        dwMaxBitRate                221184000
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                    640
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         6
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            848
        wHeight                           100
        dwMinBitRate                 67840000
        dwMaxBitRate                 67840000
        dwDefaultFrameInterval         100000
        bFrameIntervalType                  1
        dwBytesPerLine                    848
        dwFrameInterval( 0)            100000
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         7
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            848
        wHeight                           480
        dwMinBitRate                 19537920
        dwMaxBitRate                293068800
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                    848
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            38
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         8
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                           1280
        wHeight                           720
        dwMinBitRate                 44236800
        dwMaxBitRate                221184000
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  3
        dwBytesPerLine                   1280
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666666
        dwFrameInterval( 2)           1666665
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     0 (Unspecified)
        bTransferCharacteristics            0 (Unspecified)
        bMatrixCoefficients                 0 (Unspecified)
      VideoStreaming Interface Descriptor:
        bLength                            28
        bDescriptorType                    36
        bDescriptorSubtype                 16 (FORMAT_FRAME_BASED)
        bFormatIndex                        2
        bNumFrameDescriptors                8
        guidFormat                            {59565955-0000-0010-8000-00aa00389b71}
        bBitsPerPixel                      16
        bDefaultFrameIndex                  1
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 2 fields
          Field 1 first: No
          Field pattern: Field 1 only
        bCopyProtect                        0
        bVariableSize                     0
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         1
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            256
        wHeight                           144
        dwMinBitRate                 53084160
        dwMaxBitRate                 53084160
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  1
        dwBytesPerLine                    512
        dwFrameInterval( 0)            111111
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         2
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            424
        wHeight                           240
        dwMinBitRate                  9768960
        dwMaxBitRate                146534400
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                    848
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         3
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            480
        wHeight                           270
        dwMinBitRate                 12441600
        dwMaxBitRate                186624000
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                    960
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         4
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           360
        dwMinBitRate                 22118400
        dwMaxBitRate                331776000
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                   1280
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         5
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                 29491200
        dwMaxBitRate                442368000
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                   1280
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         6
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            848
        wHeight                           100
        dwMinBitRate                135680000
        dwMaxBitRate                135680000
        dwDefaultFrameInterval         100000
        bFrameIntervalType                  1
        dwBytesPerLine                   1696
        dwFrameInterval( 0)            100000
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         7
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            848
        wHeight                           480
        dwMinBitRate                 39075840
        dwMaxBitRate                586137600
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                   1696
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            38
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         8
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                           1280
        wHeight                           720
        dwMinBitRate                 88473600
        dwMaxBitRate                442368000
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  3
        dwBytesPerLine                   2560
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666666
        dwFrameInterval( 2)           1666665
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     0 (Unspecified)
        bTransferCharacteristics            0 (Unspecified)
        bMatrixCoefficients                 0 (Unspecified)
      VideoStreaming Interface Descriptor:
        bLength                            28
        bDescriptorType                    36
        bDescriptorSubtype                 16 (FORMAT_FRAME_BASED)
        bFormatIndex                        3
        bNumFrameDescriptors                8
        guidFormat                            {20203859-0000-0010-8000-00aa00389b71}
        bBitsPerPixel                       8
        bDefaultFrameIndex                  1
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 2 fields
          Field 1 first: No
          Field pattern: Field 1 only
        bCopyProtect                        0
        bVariableSize                     0
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         1
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            256
        wHeight                           144
        dwMinBitRate                 26542080
        dwMaxBitRate                 26542080
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  1
        dwBytesPerLine                    256
        dwFrameInterval( 0)            111111
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         2
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            424
        wHeight                           240
        dwMinBitRate                  4884480
        dwMaxBitRate                 73267200
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                    424
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         3
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            480
        wHeight                           270
        dwMinBitRate                  6220800
        dwMaxBitRate                 93312000
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                    480
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         4
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           360
        dwMinBitRate                 11059200
        dwMaxBitRate                165888000
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                    640
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         5
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                 14745600
        dwMaxBitRate                221184000
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                    640
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         6
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            848
        wHeight                           100
        dwMinBitRate                 67840000
        dwMaxBitRate                 67840000
        dwDefaultFrameInterval         100000
        bFrameIntervalType                  1
        dwBytesPerLine                    848
        dwFrameInterval( 0)            100000
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         7
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            848
        wHeight                           480
        dwMinBitRate                 19537920
        dwMaxBitRate                293068800
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                    848
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            38
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         8
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                           1280
        wHeight                           720
        dwMinBitRate                 44236800
        dwMaxBitRate                221184000
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  3
        dwBytesPerLine                   1280
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666666
        dwFrameInterval( 2)           1666665
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     0 (Unspecified)
        bTransferCharacteristics            0 (Unspecified)
        bMatrixCoefficients                 0 (Unspecified)
      VideoStreaming Interface Descriptor:
        bLength                            28
        bDescriptorType                    36
        bDescriptorSubtype                 16 (FORMAT_FRAME_BASED)
        bFormatIndex                        4
        bNumFrameDescriptors                9
        guidFormat                            {20493859-0000-0010-8000-00aa00389b71}
        bBitsPerPixel                      16
        bDefaultFrameIndex                  1
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 2 fields
          Field 1 first: No
          Field pattern: Field 1 only
        bCopyProtect                        0
        bVariableSize                     0
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         1
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            256
        wHeight                           144
        dwMinBitRate                 53084160
        dwMaxBitRate                 53084160
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  1
        dwBytesPerLine                    512
        dwFrameInterval( 0)            111111
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         2
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            424
        wHeight                           240
        dwMinBitRate                  9768960
        dwMaxBitRate                146534400
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                    848
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         3
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            480
        wHeight                           270
        dwMinBitRate                 12441600
        dwMaxBitRate                186624000
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                    960
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         4
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           360
        dwMinBitRate                 22118400
        dwMaxBitRate                331776000
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                   1280
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         5
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                 29491200
        dwMaxBitRate                442368000
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                   1280
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         6
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            848
        wHeight                           100
        dwMinBitRate                135680000
        dwMaxBitRate                135680000
        dwDefaultFrameInterval         100000
        bFrameIntervalType                  1
        dwBytesPerLine                   1696
        dwFrameInterval( 0)            100000
      VideoStreaming Interface Descriptor:
        bLength                            46
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         7
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            848
        wHeight                           480
        dwMinBitRate                 39075840
        dwMaxBitRate                586137600
        dwDefaultFrameInterval         111111
        bFrameIntervalType                  5
        dwBytesPerLine                   1696
        dwFrameInterval( 0)            111111
        dwFrameInterval( 1)            166666
        dwFrameInterval( 2)            333333
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            38
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         8
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                           1280
        wHeight                           720
        dwMinBitRate                 88473600
        dwMaxBitRate                442368000
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  3
        dwBytesPerLine                   2560
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666666
        dwFrameInterval( 2)           1666665
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         9
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                           1920
        wHeight                          1080
        dwMinBitRate                497664000
        dwMaxBitRate                829440000
        dwDefaultFrameInterval         400000
        bFrameIntervalType                  2
        dwBytesPerLine                   3840
        dwFrameInterval( 0)            400000
        dwFrameInterval( 1)            666666
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     0 (Unspecified)
        bTransferCharacteristics            0 (Unspecified)
        bMatrixCoefficients                 0 (Unspecified)
      VideoStreaming Interface Descriptor:
        bLength                            28
        bDescriptorType                    36
        bDescriptorSubtype                 16 (FORMAT_FRAME_BASED)
        bFormatIndex                        5
        bNumFrameDescriptors                2
        guidFormat                            {49323159-0000-0010-8000-00aa00389b71}
        bBitsPerPixel                      24
        bDefaultFrameIndex                  1
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 2 fields
          Field 1 first: No
          Field pattern: Field 1 only
        bCopyProtect                        0
        bVariableSize                     0
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         1
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            960
        wHeight                           540
        dwMinBitRate                186624000
        dwMaxBitRate                311040000
        dwDefaultFrameInterval         400000
        bFrameIntervalType                  2
        dwBytesPerLine                   2880
        dwFrameInterval( 0)            400000
        dwFrameInterval( 1)            666666
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                 17 (FRAME_FRAME_BASED)
        bFrameIndex                         2
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                           1920
        wHeight                          1080
        dwMinBitRate                746496000
        dwMaxBitRate                1244160000
        dwDefaultFrameInterval         400000
        bFrameIntervalType                  2
        dwBytesPerLine                   5760
        dwFrameInterval( 0)            400000
        dwFrameInterval( 1)            666666
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     0 (Unspecified)
        bTransferCharacteristics            0 (Unspecified)
        bMatrixCoefficients                 0 (Unspecified)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength       0x0032
  bNumDeviceCaps          3
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x000c
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   3
      Lowest fully-functional device speed is SuperSpeed (5Gbps)
    bU1DevExitLat          10 micro seconds
    bU2DevExitLat        2047 micro seconds
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000006
      BESL Link Power Management (LPM) Supported
  Platform Device Capability:
    bLength                28
    bDescriptorType        16
    bDevCapabilityType      5
    bReserved               0
    PlatformCapabilityUUID    {d8dd60df-4589-4cc7-9cd2-659d9e648a9f}
    CapabilityData[0]    0x00
    CapabilityData[1]    0x00
    CapabilityData[2]    0x03
    CapabilityData[3]    0x06
    CapabilityData[4]    0x44
    CapabilityData[5]    0x02
    CapabilityData[6]    0x20
    CapabilityData[7]    0x00
Device Status:     0x0001
  Self Powered

The camera has the Advanced Mode enabled in realsense-viewer and is listed as USB 3.2

When I use wait_for_frames() I'm able to capture raw unrectified images. And the API is not waiting 10s to deliver them it's much faster (less that 1 second). Why so ?

MartyG-RealSense commented 2 years ago

Frames arrive very fast even when using wait_for_frames() to block delivery until a complete frame is available. A sleep instruction though is telling the CPU not to do anything until the defined time period has elapsed.

The link below leads to the official SDK documentation for the wait_for_frames() instruction.

https://intelrealsense.github.io/librealsense/doxygen/classrs2_1_1pipeline.html#ac77cdd3d2f4ce1e85ea30d475743cec8

shphilippe commented 2 years ago

Thanks, closing as I have a working system now.

MartyG-RealSense commented 2 years ago

That's great news, @shphilippe - thanks very much for the update!