//The code for this log can been seen at: // http://basementcode.com/serverMain.html // Commandline = $./camTest /dev/video0 -w 640 -h 480 Device name: /dev/video0 Requested Width: 640 Requested Height 480 ---------Device Capabilities--------- Driver: uvcvideo Name: UVC Camera (046d:08ca) Bus: 0000:00:02.1 Driver Version: 0.1.0 Video Capture: Yes Read/write: No Async IO: No Streaming: Yes ------------------------------------- ----------Device Connections--------- Input #0 Name: Camera 1 Type: Camera Video standard: 0 ------------------------------------- Set to input 0 -------Image format enumeration----- Format #0 MJPEG Pixel format id: 1196444237 Type: V4L2_BUF_TYPE_VIDEO_CAPTURE Compressed: Yes Format #1 YUV 4:2:2 (YUYV) Pixel format id: 1448695129 Type: V4L2_BUF_TYPE_VIDEO_CAPTURE Compressed: No ------------------------------------- Default image format locked! Current image format: Width: 640 Height 480 PixelFormat: 1448695129 Bytes per line: 1280 Feild: V4L2_FIELD_NONE Image code: YUYV Colorspace: V4L2_COLORSPACE_SRGB Got 20 buffers for memory map streaming. OverLay has 1 planes. Got image. Got image. Got image. Got image. Got image. Got image. Got image. Got image. Got image. Got image. Got image. Got image. Got image. Got image. Got image. Got image. Got image. Got image. Got image. Got image. Got image. Got image. Got image. Got image. Got image. Got image. Got image. Got image. Got image. Again. Again. Again. Again. Again. Again. Got image. Again. Again. Again. Again. Again. Again. Again. Again. Again. Again. Again. Again. Again. Again. Got image. Again. Again. Again. Again. Again. Again. Again. Again. Again. Again. Again. Again. Again. Again. Again. Got image. ... ... ... ... This output repeats until the program shuts down. ... ... ... ... Again. Again. Again. Again. Again. Again. Again. Got image. Unmapped all 20 buffers.