esp-idf-video-streaming
esp-idf-video-streaming copied to clipboard
[SUCCESS] Logitech C310 - 046d:081b
Work at least with MPEG 640x480@15fps, I had to change fps/resolution with idf.py menuconfig
then rebuild many times to find working parameters.
lsusb :
ID 046d:081b Logitech Inc. Miscellaneous Device Serial: 0CB39B10
idf.py menuconfig:
ESP32 log:
Device found
DEVICE CONFIGURATION (046d:081b/0) ---
Status: idle
VideoControl:
bcdUVC: 0x0100
VideoStreaming(1):
bEndpointAddress: 129
Formats:
UncompressedFormat(1)
bits per pixel: 16
GUID: 5955593200001000800000aa00389b71 (YUY2)
default frame: 2
aspect ratio: 0x0
interlace flags: 00
copy protect: 00
FrameDescriptor(2)
capabilities: 01
size: 160x120
bit rate: 1536000-4608000
max frame size: 38400
default interval: 1/15
interval[0]: 1/15
interval[1]: 1/10
interval[2]: 1/5
FrameDescriptor(3)
capabilities: 01
size: 176x144
bit rate: 2027520-6082560
max frame size: 50688
default interval: 1/15
interval[0]: 1/15
interval[1]: 1/10
interval[2]: 1/5
MJPEGFormat(2)
bits per pixel: 0
GUID: 4d4a5047000000000000000000000000 (MJPG)
default frame: 1
aspect ratio: 0x0
interlace flags: 00
copy protect: 00
FrameDescriptor(1)
capabilities: 01
size: 640x480
bit rate: 24576000-147456000
max frame size: 614400
default interval: 1/30
interval[0]: 1/30
interval[1]: 1/25
interval[2]: 1/20
interval[3]: 1/15
interval[4]: 1/10
interval[5]: 1/5
FrameDescriptor(2)
capabilities: 01
size: 160x120
bit rate: 1536000-9216000
max frame size: 38400
default interval: 1/30
interval[0]: 1/30
interval[1]: 1/25
interval[2]: 1/20
interval[3]: 1/15
interval[4]: 1/10
interval[5]: 1/5
FrameDescriptor(3)
capabilities: 01
size: 176x144
bit rate: 2027520-12165120
max frame size: 50688
default interval: 1/30
interval[0]: 1/30
interval[1]: 1/25
interval[2]: 1/20
interval[3]: 1/15
interval[4]: 1/10
interval[5]: 1/5
FrameDescriptor(4)
capabilities: 01
size: 320x176
bit rate: 4505600-27033600
max frame size: 112640
default interval: 1/30
interval[0]: 1/30
interval[1]: 1/25
interval[2]: 1/20
interval[3]: 1/15
interval[4]: 1/10
interval[5]: 1/5
FrameDescriptor(5)
capabilities: 01
size: 320x240
bit rate: 6144000-36864000
max frame size: 153600
default interval: 1/30
interval[0]: 1/30
interval[1]: 1/25
interval[2]: 1/20
interval[3]: 1/15
interval[4]: 1/10
interval[5]: 1/5
FrameDescriptor(6)
capabilities: 01
size: 352x288
bit rate: 8110080-48660480
max frame size: 202752
default interval: 1/30
interval[0]: 1/30
interval[1]: 1/25
interval[2]: 1/20
interval[3]: 1/15
interval[4]: 1/10
interval[5]: 1/5
FrameDescriptor(7)
capabilities: 01
size: 432x240
bit rate: 8294400-49766400
max frame size: 207360
default interval: 1/30
interval[0]: 1/30
interval[1]: 1/25
interval[2]: 1/20
interval[3]: 1/15
interval[4]: 1/10
interval[5]: 1/5
FrameDescriptor(8)
capabilities: 01
size: 544x288
bit rate: 12533760-75202560
max frame size: 313344
default interval: 1/30
interval[0]: 1/30
interval[1]: 1/25
interval[2]: 1/20
interval[3]: 1/15
interval[4]: 1/10
interval[5]: 1/5
FrameDescriptor(9)
capabilities: 01
size: 640x360
bit rate: 18432000-110592000
max frame size: 460800
default interval: 1/30
interval[0]: 1/30
interval[1]: 1/25
interval[2]: 1/20
interval[3]: 1/15
interval[4]: 1/10
interval[5]: 1/5
FrameDescriptor(10)
capabilities: 01
size: 752x416
bit rate: 25026560-75079680
max frame size: 625664
default interval: 1/15
interval[0]: 1/15
interval[1]: 1/10
interval[2]: 1/5
FrameDescriptor(11)
capabilities: 01
size: 800x448
bit rate: 28672000-86016000
max frame size: 716800
default interval: 1/15
interval[0]: 1/15
interval[1]: 1/10
interval[2]: 1/5
FrameDescriptor(12)
capabilities: 01
size: 800x600
bit rate: 38400000-115200000
max frame size: 960000
default interval: 1/15
interval[0]: 1/15
interval[1]: 1/10
interval[2]: 1/5
END DEVICE CONFIGURATION
[0;32mI (17730) example: format_desc->fourccFormat=(YUY2)[0m
[0;32mI (17740) example: frame_desc->wWidth=160[0m
[0;32mI (17740) example: frame_desc->wHeight=120[0m
[0;32mI (17750) example: format_desc->bDescriptorSubtype=4[0m
[0;32mI (17750) example: frame_desc->dwDefaultFrameInterval=666666[0m
[0;32mI (17760) example: format_desc->bDescriptorSubtype == UVC_VS_FORMAT_UNCOMPRESSED[0m
[0;33mW (17770) example: FRAME SIZE=640x480 FRAME RATE=15[0m
[0;33mW (17770) example: FRAME FORMAT=MJPEG[0m
[0;32mI (17780) example: format=7 width=640 height=480 fps=15[0m