UVC Camera preview is less than Half frame with WCE7

Jul 3, 2014 at 9:49 AM
Hi,

I am working with UVC Camera with WCE7. The UVC camera is successfully enumerated with WCE7 system. While running the preview with 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.

While running the preview, We are getting error messages in webcamCE driver, Please go thorough in below
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: 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
WO 0 WebCam: CAM_IOControl-- rc = 0
WO 0 WebCam: CAM_IOControl++ dwOpen: c4873480 dwCode: 230418
WebCam: mdd_GetNextVideoFrame++
WebCam: STREAMTHD_FRAMESYNC
WebCam: STREAMTHD_FRAMESYNC
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: ============================================
WebCam: STREAMTHD_FRAMESYNC
WebCam: ============================================
WebCam: === Unexpected packet header size 0 ===
WebCam: ============================================
WebCam: ============================================
WebCam: === Unexpected packet header size 0 ===
WebCam: ============================================
WebCam: ============================================
WebCam: === Unexpected packet header size 0 ===
WebCam: ============================================
WO 1020 WO 2040 WO 2408 WO 3428 WO 4448 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567 WO 4567
WebCam: Isoc call time 53 rc: 0 len 4567
WebCam: STREAMTHD_FIRSTCAP pkt: 0
WebCam: Frame start. buff: 70050258 pkt 0
WebCam: STREAMTHD_CAPTURING pkt: 1 bytes 1020 flags 8d
WebCam: ptr update 70050a44 1008 12 diff 1008
WebCam: STREAMTHD_CAPTURING pkt: 2 bytes 368 flags 8f
WebCam: USBVID_PAYLOADHDR_FRAMEEND detected bytes 2372
WebCam: Frame end. size 2372 cur buff[0] next buff[1] time 0 mS
WebCam: STREAMTHD_FIRSTCAP pkt: 3
WebCam: pdd_GetNextVideoFrame-- rc 0 5000
WebCam: Frame start. buff: 7005e358 pkt 3
WebCam: mdd_GetNextVideoFrame-- rc 0
WebCam: STREAMTHD_CAPTURING pkt: 4 bytes 1020 flags 8c
WebCam: CAM_IOControl-- rc = 0
WebCam: ptr update 7005eb44 1008 12 diff 1008
WebCam: STREAMTHD_CAPTURING pkt: 5 bytes 119 flags 8e
WebCam: CAM_IOControl++ dwOpen: c4873480 dwCode: 230418
WebCam: USBVID_PAYLOADHDR_FRAMEEND detected bytes 2123
WebCam: mdd_GetNextVideoFrame++
WebCam: Frame end. size 2123 cur buff[1] next buff[2] time 40 mS
WebCam: pdd_GetNextVideoFrame++
WebCam: ============================================
WebCam: pdd_GetNextVideoFrame-- rc 0 5000
WebCam: === Unexpected packet header size 0 ===
WebCam: mdd_GetNextVideoFrame-- rc 0
WebCam: ============================================
WebCam: CAM_IOControl-- rc = 0
WebCam: ============================================
WebCam: === Unexpected packet header size 0 ===
WebCam: CAM_IOControl++ dwOpen: c4873480 dwCode: 230418
WebCam: ============================================
WebCam: mdd_GetNextVideoFrame++
WebCam: ============================================
WebCam: pdd_GetNextVideoFrame++
WebCam: === Unexpected packet header size 0 ===
WebCam: ============================================
WebCam: ============================================
WebCam: === Unexpected packet header size 0 ===
WebCam: ============================================
WebCam: ============================================
WebCam: === Unexpected packet header size 0 ===

More 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)

Thanks in advance

Regards,
Rajesh Kannan