nopnop2002 / esp-idf-video-streaming

Capture video from a USB camera using ESP-IDF
MIT License
50 stars 6 forks source link

[SUCCESS]Microsoft LifeCam Cinema #7

Open nopnop2002 opened 2 years ago

nopnop2002 commented 2 years ago

Microsoft LifeCam Cinema

Can be used with ESP-IDF.
You can stream with the following settings. You need use manual settings.

config-Microsoft-LifeCam_Cinema

Divice ID

$ lsusb
Bus 001 Device 082: ID 045e:0812 Microsoft Corp

Click here for details about this camera. https://en.wikipedia.org/wiki/LifeCam

Device descriptor read by ESP-IDF

DEVICE CONFIGURATION (045e:0812/        i) ---
Status: idle
VideoControl:
        bcdUVC: 0x0100
VideoStreaming(1):
        bEndpointAddress: 129
        Formats:
        UncompressedFormat(1)
                  bits per pixel: 16
                  GUID: 5955593200001000800000aa00389b71 (YUY2)
                  default frame: 1
                  aspect ratio: 0x0
                  interlace flags: 00
                  copy protect: 00
                        FrameDescriptor(1)
                          capabilities: 01
                          size: 160x120
                          bit rate: 2304000-4608000
                          max frame size: 38400
                          default interval: 1/15
                          interval[0]: 1/15
                          interval[1]: 1/10
                          interval[2]: 1/7
                        FrameDescriptor(2)
                          capabilities: 01
                          size: 176x144
                          bit rate: 3041280-4055040
                          max frame size: 50688
                          default interval: 1/10
                          interval[0]: 1/10
                          interval[1]: 1/7
        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: 36864000-73728000
                          max frame size: 614400
                          default interval: 1/15
                          interval[0]: 1/15
                          interval[1]: 1/10
                          interval[2]: 1/7
                        FrameDescriptor(2)
                          capabilities: 01
                          size: 640x360
                          bit rate: 27648000-55296000
                          max frame size: 460800
                          default interval: 1/15
                          interval[0]: 1/15
                          interval[1]: 1/10
                          interval[2]: 1/7
                        FrameDescriptor(3)
                          capabilities: 01
                          size: 416x240
                          bit rate: 11980800-47923200
                          max frame size: 199680
                          default interval: 1/30
                          interval[0]: 1/30
                          interval[1]: 1/20
                          interval[2]: 1/15
                          interval[3]: 1/10
                          interval[4]: 1/7
                        FrameDescriptor(4)
                          capabilities: 01
                          size: 352x288
                          bit rate: 12165120-48660480
                          max frame size: 202752
                          default interval: 1/30
                          interval[0]: 1/30
                          interval[1]: 1/20
                          interval[2]: 1/15
                          interval[3]: 1/10
                          interval[4]: 1/7
                        FrameDescriptor(5)
                          capabilities: 01
                          size: 176x144
                          bit rate: 3041280-12165120
                          max frame size: 50688
                          default interval: 1/30
                          interval[0]: 1/30
                          interval[1]: 1/20
                          interval[2]: 1/15
                          interval[3]: 1/10
                          interval[4]: 1/7
                        FrameDescriptor(6)
                          capabilities: 01
                          size: 320x240
                          bit rate: 9216000-36864000
                          max frame size: 153600
                          default interval: 1/30
                          interval[0]: 1/30
                          interval[1]: 1/20
                          interval[2]: 1/15
                          interval[3]: 1/10
                          interval[4]: 1/7
                        FrameDescriptor(7)
                          capabilities: 01
                          size: 160x120
                          bit rate: 2304000-9216000
                          max frame size: 38400
                          default interval: 1/30
                          interval[0]: 1/30
                          interval[1]: 1/20
                          interval[2]: 1/15
                          interval[3]: 1/10
                          interval[4]: 1/7
END DEVICE CONFIGURATION