B
BennyWang
Guest
Why is the outputsize list not in order and 2304x1296 is default?
the webcam's descriptor is in order.
----- Video Streaming MJPEG Format Type Descriptor ----
bLength : 0x0B (11 bytes)
bDescriptorType : 0x24 (Video Streaming Interface)
bDescriptorSubtype : 0x06 (Format MJPEG)
bFormatIndex : 0x01 (1)
bNumFrameDescriptors : 0x07 (7)
bmFlags : 0x00 (Sample size is not fixed)
bDefaultFrameIndex : 0x05 (5)
bAspectRatioX : 0x00
bAspectRatioY : 0x00
bmInterlaceFlags : 0x00
D0 IL stream or variable: 0 (no)
D1 Fields per frame : 0 (2 fields)
D2 Field 1 first : 0 (no)
D3 Reserved : 0
D4..5 Field pattern : 0 (Field 1 only)
D6..7 Display Mode : 0 (Bob only)
bCopyProtect : 0x00 (No restrictions)
*!*ERROR: no Color Matching Descriptor for this format
Data (HexDump) : 0B 24 06 01 07 00 05 00 00 00 00 .$.........
----- Video Streaming MJPEG Frame Type Descriptor -----
bLength : 0x22 (34 bytes)
bDescriptorType : 0x24 (Video Streaming Interface)
bDescriptorSubtype : 0x07 (MJPEG Frame Type)
bFrameIndex : 0x01
bmCapabilities : 0x00
wWidth : 0x0280 (640)
wHeight : 0x01E0 (480)
dwMinBitRate : 0x01194000 (18432000 bps -> 2.3 MB/s)
dwMaxBitRate : 0x034BC000 (55296000 bps -> 6.9 MB/s)
dwMaxVideoFrameBufferSize: 0x00096000 (614400 bytes)
dwDefaultFrameInterval : 0x00061A80 (40.0000 ms -> 25.000 fps)
bFrameIntervalType : 0x02 (2 discrete frame intervals supported)
adwFrameInterval[1] : 0x00061A80 (40.0000 ms -> 25.000 fps)
adwFrameInterval[2] : 0x0007A120 (50.0000 ms -> 20.000 fps)
Data (HexDump) : 22 24 07 01 00 80 02 E0 01 00 40 19 01 00 C0 4B "$........@....K
03 00 60 09 00 80 1A 06 00 02 80 1A 06 00 20 A1 ..`........... .
07 00 ..
----- Video Streaming MJPEG Frame Type Descriptor -----
bLength : 0x22 (34 bytes)
bDescriptorType : 0x24 (Video Streaming Interface)
bDescriptorSubtype : 0x07 (MJPEG Frame Type)
bFrameIndex : 0x02
bmCapabilities : 0x00
wWidth : 0x0320 (800)
wHeight : 0x0258 (600)
dwMinBitRate : 0x01194000 (18432000 bps -> 2.3 MB/s)
dwMaxBitRate : 0x034BC000 (55296000 bps -> 6.9 MB/s)
dwMaxVideoFrameBufferSize: 0x000EA600 (960000 bytes)
dwDefaultFrameInterval : 0x00061A80 (40.0000 ms -> 25.000 fps)
bFrameIntervalType : 0x02 (2 discrete frame intervals supported)
adwFrameInterval[1] : 0x00061A80 (40.0000 ms -> 25.000 fps)
adwFrameInterval[2] : 0x0007A120 (50.0000 ms -> 20.000 fps)
Data (HexDump) : 22 24 07 02 00 20 03 58 02 00 40 19 01 00 C0 4B "$... .X..@....K
03 00 A6 0E 00 80 1A 06 00 02 80 1A 06 00 20 A1 .............. .
07 00 ..
----- Video Streaming MJPEG Frame Type Descriptor -----
bLength : 0x22 (34 bytes)
bDescriptorType : 0x24 (Video Streaming Interface)
bDescriptorSubtype : 0x07 (MJPEG Frame Type)
bFrameIndex : 0x03
bmCapabilities : 0x00
wWidth : 0x0500 (1280)
wHeight : 0x02D0 (720)
dwMinBitRate : 0x01194000 (18432000 bps -> 2.3 MB/s)
dwMaxBitRate : 0x034BC000 (55296000 bps -> 6.9 MB/s)
dwMaxVideoFrameBufferSize: 0x001C2000 (1843200 bytes)
dwDefaultFrameInterval : 0x00061A80 (40.0000 ms -> 25.000 fps)
bFrameIntervalType : 0x02 (2 discrete frame intervals supported)
adwFrameInterval[1] : 0x00061A80 (40.0000 ms -> 25.000 fps)
adwFrameInterval[2] : 0x0007A120 (50.0000 ms -> 20.000 fps)
Data (HexDump) : 22 24 07 03 00 00 05 D0 02 00 40 19 01 00 C0 4B "$........@....K
03 00 20 1C 00 80 1A 06 00 02 80 1A 06 00 20 A1 .. ........... .
07 00 ..
----- Video Streaming MJPEG Frame Type Descriptor -----
bLength : 0x22 (34 bytes)
bDescriptorType : 0x24 (Video Streaming Interface)
bDescriptorSubtype : 0x07 (MJPEG Frame Type)
bFrameIndex : 0x04
bmCapabilities : 0x00
wWidth : 0x0500 (1280)
wHeight : 0x03C0 (960)
dwMinBitRate : 0x01194000 (18432000 bps -> 2.3 MB/s)
dwMaxBitRate : 0x034BC000 (55296000 bps -> 6.9 MB/s)
dwMaxVideoFrameBufferSize: 0x00258000 (2457600 bytes)
dwDefaultFrameInterval : 0x00061A80 (40.0000 ms -> 25.000 fps)
bFrameIntervalType : 0x02 (2 discrete frame intervals supported)
adwFrameInterval[1] : 0x00061A80 (40.0000 ms -> 25.000 fps)
adwFrameInterval[2] : 0x0007A120 (50.0000 ms -> 20.000 fps)
Data (HexDump) : 22 24 07 04 00 00 05 C0 03 00 40 19 01 00 C0 4B "$........@....K
03 00 80 25 00 80 1A 06 00 02 80 1A 06 00 20 A1 ...%.......... .
07 00 ..
----- Video Streaming MJPEG Frame Type Descriptor -----
---> This is the Default (optimum) Frame index
bLength : 0x22 (34 bytes)
bDescriptorType : 0x24 (Video Streaming Interface)
bDescriptorSubtype : 0x07 (MJPEG Frame Type)
bFrameIndex : 0x05
bmCapabilities : 0x00
wWidth : 0x0780 (1920)
wHeight : 0x0438 (1080)
dwMinBitRate : 0x01194000 (18432000 bps -> 2.3 MB/s)
dwMaxBitRate : 0x034BC000 (55296000 bps -> 6.9 MB/s)
dwMaxVideoFrameBufferSize: 0x003F4800 (4147200 bytes)
dwDefaultFrameInterval : 0x00061A80 (40.0000 ms -> 25.000 fps)
bFrameIntervalType : 0x02 (2 discrete frame intervals supported)
adwFrameInterval[1] : 0x00061A80 (40.0000 ms -> 25.000 fps)
adwFrameInterval[2] : 0x0007A120 (50.0000 ms -> 20.000 fps)
Data (HexDump) : 22 24 07 05 00 80 07 38 04 00 40 19 01 00 C0 4B "$.....8..@....K
03 00 48 3F 00 80 1A 06 00 02 80 1A 06 00 20 A1 ..H?.......... .
07 00 ..
----- Video Streaming MJPEG Frame Type Descriptor -----
bLength : 0x22 (34 bytes)
bDescriptorType : 0x24 (Video Streaming Interface)
bDescriptorSubtype : 0x07 (MJPEG Frame Type)
bFrameIndex : 0x06
bmCapabilities : 0x00
wWidth : 0x0900 (2304)
wHeight : 0x0510 (1296)
dwMinBitRate : 0x01194000 (18432000 bps -> 2.3 MB/s)
dwMaxBitRate : 0x034BC000 (55296000 bps -> 6.9 MB/s)
dwMaxVideoFrameBufferSize: 0x005B2000 (5971968 bytes)
dwDefaultFrameInterval : 0x00061A80 (40.0000 ms -> 25.000 fps)
bFrameIntervalType : 0x02 (2 discrete frame intervals supported)
adwFrameInterval[1] : 0x00061A80 (40.0000 ms -> 25.000 fps)
adwFrameInterval[2] : 0x0007A120 (50.0000 ms -> 20.000 fps)
Data (HexDump) : 22 24 07 06 00 00 09 10 05 00 40 19 01 00 C0 4B "$........@....K
03 00 20 5B 00 80 1A 06 00 02 80 1A 06 00 20 A1 .. [.......... .
07 00 ..
----- Video Streaming MJPEG Frame Type Descriptor -----
bLength : 0x22 (34 bytes)
bDescriptorType : 0x24 (Video Streaming Interface)
bDescriptorSubtype : 0x07 (MJPEG Frame Type)
bFrameIndex : 0x07
bmCapabilities : 0x00
wWidth : 0x0A00 (2560)
wHeight : 0x05A0 (1440)
dwMinBitRate : 0x01194000 (18432000 bps -> 2.3 MB/s)
dwMaxBitRate : 0x034BC000 (55296000 bps -> 6.9 MB/s)
dwMaxVideoFrameBufferSize: 0x00708000 (7372800 bytes)
dwDefaultFrameInterval : 0x00061A80 (40.0000 ms -> 25.000 fps)
bFrameIntervalType : 0x02 (2 discrete frame intervals supported)
adwFrameInterval[1] : 0x00061A80 (40.0000 ms -> 25.000 fps)
adwFrameInterval[2] : 0x0007A120 (50.0000 ms -> 20.000 fps)
Data (HexDump) : 22 24 07 07 00 00 0A A0 05 00 40 19 01 00 C0 4B "$........@....K
03 00 80 70 00 80 1A 06 00 02 80 1A 06 00 20 A1 ...p.......... .
07 00 ..
Continue reading...
the webcam's descriptor is in order.
----- Video Streaming MJPEG Format Type Descriptor ----
bLength : 0x0B (11 bytes)
bDescriptorType : 0x24 (Video Streaming Interface)
bDescriptorSubtype : 0x06 (Format MJPEG)
bFormatIndex : 0x01 (1)
bNumFrameDescriptors : 0x07 (7)
bmFlags : 0x00 (Sample size is not fixed)
bDefaultFrameIndex : 0x05 (5)
bAspectRatioX : 0x00
bAspectRatioY : 0x00
bmInterlaceFlags : 0x00
D0 IL stream or variable: 0 (no)
D1 Fields per frame : 0 (2 fields)
D2 Field 1 first : 0 (no)
D3 Reserved : 0
D4..5 Field pattern : 0 (Field 1 only)
D6..7 Display Mode : 0 (Bob only)
bCopyProtect : 0x00 (No restrictions)
*!*ERROR: no Color Matching Descriptor for this format
Data (HexDump) : 0B 24 06 01 07 00 05 00 00 00 00 .$.........
----- Video Streaming MJPEG Frame Type Descriptor -----
bLength : 0x22 (34 bytes)
bDescriptorType : 0x24 (Video Streaming Interface)
bDescriptorSubtype : 0x07 (MJPEG Frame Type)
bFrameIndex : 0x01
bmCapabilities : 0x00
wWidth : 0x0280 (640)
wHeight : 0x01E0 (480)
dwMinBitRate : 0x01194000 (18432000 bps -> 2.3 MB/s)
dwMaxBitRate : 0x034BC000 (55296000 bps -> 6.9 MB/s)
dwMaxVideoFrameBufferSize: 0x00096000 (614400 bytes)
dwDefaultFrameInterval : 0x00061A80 (40.0000 ms -> 25.000 fps)
bFrameIntervalType : 0x02 (2 discrete frame intervals supported)
adwFrameInterval[1] : 0x00061A80 (40.0000 ms -> 25.000 fps)
adwFrameInterval[2] : 0x0007A120 (50.0000 ms -> 20.000 fps)
Data (HexDump) : 22 24 07 01 00 80 02 E0 01 00 40 19 01 00 C0 4B "$........@....K
03 00 60 09 00 80 1A 06 00 02 80 1A 06 00 20 A1 ..`........... .
07 00 ..
----- Video Streaming MJPEG Frame Type Descriptor -----
bLength : 0x22 (34 bytes)
bDescriptorType : 0x24 (Video Streaming Interface)
bDescriptorSubtype : 0x07 (MJPEG Frame Type)
bFrameIndex : 0x02
bmCapabilities : 0x00
wWidth : 0x0320 (800)
wHeight : 0x0258 (600)
dwMinBitRate : 0x01194000 (18432000 bps -> 2.3 MB/s)
dwMaxBitRate : 0x034BC000 (55296000 bps -> 6.9 MB/s)
dwMaxVideoFrameBufferSize: 0x000EA600 (960000 bytes)
dwDefaultFrameInterval : 0x00061A80 (40.0000 ms -> 25.000 fps)
bFrameIntervalType : 0x02 (2 discrete frame intervals supported)
adwFrameInterval[1] : 0x00061A80 (40.0000 ms -> 25.000 fps)
adwFrameInterval[2] : 0x0007A120 (50.0000 ms -> 20.000 fps)
Data (HexDump) : 22 24 07 02 00 20 03 58 02 00 40 19 01 00 C0 4B "$... .X..@....K
03 00 A6 0E 00 80 1A 06 00 02 80 1A 06 00 20 A1 .............. .
07 00 ..
----- Video Streaming MJPEG Frame Type Descriptor -----
bLength : 0x22 (34 bytes)
bDescriptorType : 0x24 (Video Streaming Interface)
bDescriptorSubtype : 0x07 (MJPEG Frame Type)
bFrameIndex : 0x03
bmCapabilities : 0x00
wWidth : 0x0500 (1280)
wHeight : 0x02D0 (720)
dwMinBitRate : 0x01194000 (18432000 bps -> 2.3 MB/s)
dwMaxBitRate : 0x034BC000 (55296000 bps -> 6.9 MB/s)
dwMaxVideoFrameBufferSize: 0x001C2000 (1843200 bytes)
dwDefaultFrameInterval : 0x00061A80 (40.0000 ms -> 25.000 fps)
bFrameIntervalType : 0x02 (2 discrete frame intervals supported)
adwFrameInterval[1] : 0x00061A80 (40.0000 ms -> 25.000 fps)
adwFrameInterval[2] : 0x0007A120 (50.0000 ms -> 20.000 fps)
Data (HexDump) : 22 24 07 03 00 00 05 D0 02 00 40 19 01 00 C0 4B "$........@....K
03 00 20 1C 00 80 1A 06 00 02 80 1A 06 00 20 A1 .. ........... .
07 00 ..
----- Video Streaming MJPEG Frame Type Descriptor -----
bLength : 0x22 (34 bytes)
bDescriptorType : 0x24 (Video Streaming Interface)
bDescriptorSubtype : 0x07 (MJPEG Frame Type)
bFrameIndex : 0x04
bmCapabilities : 0x00
wWidth : 0x0500 (1280)
wHeight : 0x03C0 (960)
dwMinBitRate : 0x01194000 (18432000 bps -> 2.3 MB/s)
dwMaxBitRate : 0x034BC000 (55296000 bps -> 6.9 MB/s)
dwMaxVideoFrameBufferSize: 0x00258000 (2457600 bytes)
dwDefaultFrameInterval : 0x00061A80 (40.0000 ms -> 25.000 fps)
bFrameIntervalType : 0x02 (2 discrete frame intervals supported)
adwFrameInterval[1] : 0x00061A80 (40.0000 ms -> 25.000 fps)
adwFrameInterval[2] : 0x0007A120 (50.0000 ms -> 20.000 fps)
Data (HexDump) : 22 24 07 04 00 00 05 C0 03 00 40 19 01 00 C0 4B "$........@....K
03 00 80 25 00 80 1A 06 00 02 80 1A 06 00 20 A1 ...%.......... .
07 00 ..
----- Video Streaming MJPEG Frame Type Descriptor -----
---> This is the Default (optimum) Frame index
bLength : 0x22 (34 bytes)
bDescriptorType : 0x24 (Video Streaming Interface)
bDescriptorSubtype : 0x07 (MJPEG Frame Type)
bFrameIndex : 0x05
bmCapabilities : 0x00
wWidth : 0x0780 (1920)
wHeight : 0x0438 (1080)
dwMinBitRate : 0x01194000 (18432000 bps -> 2.3 MB/s)
dwMaxBitRate : 0x034BC000 (55296000 bps -> 6.9 MB/s)
dwMaxVideoFrameBufferSize: 0x003F4800 (4147200 bytes)
dwDefaultFrameInterval : 0x00061A80 (40.0000 ms -> 25.000 fps)
bFrameIntervalType : 0x02 (2 discrete frame intervals supported)
adwFrameInterval[1] : 0x00061A80 (40.0000 ms -> 25.000 fps)
adwFrameInterval[2] : 0x0007A120 (50.0000 ms -> 20.000 fps)
Data (HexDump) : 22 24 07 05 00 80 07 38 04 00 40 19 01 00 C0 4B "$.....8..@....K
03 00 48 3F 00 80 1A 06 00 02 80 1A 06 00 20 A1 ..H?.......... .
07 00 ..
----- Video Streaming MJPEG Frame Type Descriptor -----
bLength : 0x22 (34 bytes)
bDescriptorType : 0x24 (Video Streaming Interface)
bDescriptorSubtype : 0x07 (MJPEG Frame Type)
bFrameIndex : 0x06
bmCapabilities : 0x00
wWidth : 0x0900 (2304)
wHeight : 0x0510 (1296)
dwMinBitRate : 0x01194000 (18432000 bps -> 2.3 MB/s)
dwMaxBitRate : 0x034BC000 (55296000 bps -> 6.9 MB/s)
dwMaxVideoFrameBufferSize: 0x005B2000 (5971968 bytes)
dwDefaultFrameInterval : 0x00061A80 (40.0000 ms -> 25.000 fps)
bFrameIntervalType : 0x02 (2 discrete frame intervals supported)
adwFrameInterval[1] : 0x00061A80 (40.0000 ms -> 25.000 fps)
adwFrameInterval[2] : 0x0007A120 (50.0000 ms -> 20.000 fps)
Data (HexDump) : 22 24 07 06 00 00 09 10 05 00 40 19 01 00 C0 4B "$........@....K
03 00 20 5B 00 80 1A 06 00 02 80 1A 06 00 20 A1 .. [.......... .
07 00 ..
----- Video Streaming MJPEG Frame Type Descriptor -----
bLength : 0x22 (34 bytes)
bDescriptorType : 0x24 (Video Streaming Interface)
bDescriptorSubtype : 0x07 (MJPEG Frame Type)
bFrameIndex : 0x07
bmCapabilities : 0x00
wWidth : 0x0A00 (2560)
wHeight : 0x05A0 (1440)
dwMinBitRate : 0x01194000 (18432000 bps -> 2.3 MB/s)
dwMaxBitRate : 0x034BC000 (55296000 bps -> 6.9 MB/s)
dwMaxVideoFrameBufferSize: 0x00708000 (7372800 bytes)
dwDefaultFrameInterval : 0x00061A80 (40.0000 ms -> 25.000 fps)
bFrameIntervalType : 0x02 (2 discrete frame intervals supported)
adwFrameInterval[1] : 0x00061A80 (40.0000 ms -> 25.000 fps)
adwFrameInterval[2] : 0x0007A120 (50.0000 ms -> 20.000 fps)
Data (HexDump) : 22 24 07 07 00 00 0A A0 05 00 40 19 01 00 C0 4B "$........@....K
03 00 80 70 00 80 1A 06 00 02 80 1A 06 00 20 A1 ...p.......... .
07 00 ..
Continue reading...