none
UVC Isochronous Issue with WCE7 (UVC Camera streaming is less than Half frames) RRS feed

  • Question

  • Hi

    I am working with UVC Camera with WCE7 using webcamCE driver(codeplex). The UVC camera is successfully enumerated with WCE7 system. While streaming using CamTest application, we are not getting complete frames all the times. We are getting half or less than half frames mostly, very rarely complete frames comes. The same UVC camera works well with Windows 7. We have tested other Logitech UVC camera with WCE7, it works well with WCE7.

    As you seen below debug messages, sometimes lpIssueIsochTransfer function returns with 0 bytes and there is no error and " Unexpected packet header size  0"error occurs.

    Debugging information :

    WebCam: GetVendorTransferLen-- len 26 rc 0

    WebCam: DoVendorTransfer++

    WebCam: DoVendorTransfer-- rc 0

    WebCam: DoVendorTransfer++

    WebCam: DoVendorTransfer-- rc 0

    WebCam: DoVendorTransfer++

    WebCam: DoVendorTransfer-- rc 0

    WebCam: DoVendorTransfer++

    WebCam: DoVendorTransfer-- rc 0

    WebCam: GetMinMaxQuality-- rc 0

    WebCam: Probe/Commit trying interval rate 333333  Comp: min 0 max 0 int 0

    WebCam: ProbeCommitVidStream++ Fmt: 2  Frm: 5  Interval 333333  Compression 0

    WebCam: GetVendorTransferLen++

    WebCam: GetVendorTransferLen-- len 26 rc 0

    WebCam: DoVendorTransfer++

    WebCam: DoVendorTransfer-- rc 0

    WebCam: DoVendorTransfer++

    WebCam: DoVendorTransfer-- rc 0

    WebCam: DoVendorTransfer++

    WebCam: DoVendorTransfer-- rc 0

    WebCam: Alt BW 1728

    WebCam: ProbeCommitVidStream-- Fmt: 2  Frm: 5  Compression 0 Interval 333333  Transfer size: 1020 Frame size 57600 BW 1020

    WebCam: SetStreamInterface++  Interface:1  pktsize:1020

    WebCam: usSize 1020 wPacketSize 1020

    WebCam: usSize 3060 wPacketSize 1020

    lpIF->ifDesc.bAlternateSetting=1

    WebCam: Endpoint Address 0x82

    WebCam: SetStreamInterface--  rc 0

    WebCam: Probe/Commit complete. Fmt: 2  Frm: 5  rate 333333 Compression 0 Bandwidth 1020

    WebCam: NegotiateQuality--  rc 0

    WebCam: ReaReadIsocThreaddThread++ ID:00000041

    WebCam: StartVidStream--  rc 0

    WebCam: mdd_SetVideoFormat-- rc 0

    WebCam: CAM_IOControl-- rc = 0

    lpGetIsochResults 0 0 WebCam: CAM_IOControl++ dwOpen: c4872f40  dwCode: 230418

    lpGetIsochResults 0 0 WebCam: mdd_GetNextVideoFrame++

    lpGetIsochResults 0 0 WebCam: pdd_GetNextVideoFrame++

    WebCam: packet size read if 0 bytes smaller than standard header

    lpGetIsochResults 1020 1020 lpGetIsochResults 1020 2040 lpGetIsochResults 1020 3060 lpGetIsochResults 1020 4080 lpGetIsochResults 638 4718 lpGetIsochResults 718 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436 lpGetIsochResults 0 5436

    WebCam: Isoc call time 139 rc: 0 len 5436

    WebCam: STREAMTHD_FRAMESYNC

    WebCam: STREAMTHD_FRAMESYNC

    WebCam: STREAMTHD_FRAMESYNC

    WebCam: STREAMTHD_FRAMESYNC

    WebCam: STREAMTHD_FRAMESYNC

    WebCam: STREAMTHD_FIRSTCAP pkt: 5

    WebCam: Frame start. buff: 70050258  pkt 5

    WebCam: ============================================

    WebCam: === Unexpected packet header size  0    ===

    WebCam: ============================================

    WebCam: ============================================

    WebCam: === Unexpected packet header size  0    ===

    WebCam: ============================================

    WebCam: ============================================

    WebCam: === Unexpected packet header size  0    ===

    WebCam: ============================================

    WebCam: ============================================

    WebCam: === Unexpected packet header size  0    ===

    WebCam: ============================================

    lpGetIsochResults 1020 1020 lpGetIsochResults 1020 2040 lpGetIsochResults 1020 3060 lpGetIsochResults 754 3814 lpGetIsochResults 1020 4834 lpGetIsochResults 571 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 0 5405 lpGetIsochResults 1020 6425 lpGetIsochResults 0 6425 lpGetIsochResults 0 6425 lpGetIsochResults 0 6425 lpGetIsochResults 0 6425 lpGetIsochResults 0 6425 lpGetIsochResults 0 6425 lpGetIsochResults 0 6425 lpGetIsochResults 0 6425 lpGetIsochResults 0 6425 lpGetIsochResults 0 6425 lpGetIsochResults 0 6425 lpGetIsochResults 0 6425 lpGetIsochResults 0 6425 lpGetIsochResults 0 6425 lpGetIsochResults 0 6425 lpGetIsochResults 0 6425 lpGetIsochResults 0 6425 lpGetIsochResults 0 6425 lpGetIsochResults 0 6425 lpGetIsochResults 0 6425 lpGetIsochResults 0 6425 lpGetIsochResults 0 6425

    WebCam: Isoc call time 140 rc: 0 len 6425

    WebCam: STREAMTHD_CAPTURING pkt: 0 bytes 1020 flags 8c

    WebCam: ptr update 70050916 1008 12 diff 1008

    WebCam: STREAMTHD_CAPTURING pkt: 1 bytes 1020 flags 8c

    WebCam: ptr update 70050d06 1008 12 diff 1008

    WebCam: STREAMTHD_CAPTURING pkt: 2 bytes 1020 flags 8c

    WebCam: ptr update 700510f6 1008 12 diff 1008

    WebCam: STREAMTHD_CAPTURING pkt: 3 bytes 754 flags 8e

    WebCam: USBVID_PAYLOADHDR_FRAMEEND detected bytes 4472

    WebCam: Frame end. size 4472  cur buff[0] next buff[1]  time 0 mS

    WebCam: STREAMTHD_FIRSTCAP pkt: 4

    WebCam: pdd_GetNextVideoFrame--  rc 0 5000

    WebCam: Frame start. buff: 7005e358  pkt 4

    WebCam: mdd_GetNextVideoFrame-- rc 0

    WebCam: STREAMTHD_CAPTURING pkt: 5 bytes 571 flags 8f

    WebCam: CAM_IOControl-- rc = 0

    WebCam: USBVID_PAYLOADHDR_FRAMEEND detected bytes 1567

    WebCam: Frame end. size 1567  cur buff[1] next buff[2]  time 26 mS

    WebCam: CAM_IOControl++ dwOpen: c4872f40  dwCode: 230418

    WebCam: ============================================

    WebCam: mdd_GetNextVideoFrame++

    WebCam: === Unexpected packet header size  0    ===

    WebCam: pdd_GetNextVideoFrame++

    WebCam: ============================================

    WebCam: pdd_GetNextVideoFrame--  rc 0 5000

    WebCam: ============================================

    WebCam: mdd_GetNextVideoFrame-- rc 0

    WebCam: === Unexpected packet header size  0    ===

    WebCam: CAM_IOControl-- rc = 0

    WebCam: ============================================

    WebCam: ============================================

    WebCam: CAM_IOControl++ dwOpen: c4872f40  dwCode: 230418

    WebCam: === Unexpected packet header size  0    ===

    WebCam: mdd_GetNextVideoFrame++

    WebCam: ============================================

    WebCam: pdd_GetNextVideoFrame++

    WebCam: ============================================

    WebCam: === Unexpected packet header size  0    ===

    WebCam: ============================================

    WebCam: ============================================

    WebCam: === Unexpected packet header size  0    ===

    WebCam: ============================================

    System Information:

    USB Host support speed : High Speed

    UVC Camera support speed : High Speed

    Preview Resolution : 160x120 MJPEG Format

    Type of transfer : Isochronous with 1 transactions per micro frame.

    OS : WCE7 ( updates not installed)

    Friday, July 4, 2014 10:56 AM

All replies