Hi Tom,

On Friday 27 February 2009 20:12:22 Tom Moore wrote:
> Hello again,
>
> I re-compiled the driver with tracing enabled on pretty much everything,
> and below is the output I received from plugging in the camera and
> running my control program (the output from the uvccapture program is
> very similar). Why is the camera using the MJPEG format?

Because the camera supports MJPEG only. The uvcvideo driver doesn't transcode 
video data.

> On my desktop machine (Ubunto 8.10, kernel 2.6.27), I specify that I want
> the image format to be YUYV and it works fine.

That's because applications on your desktop use libv4l and thus get MJPEG to 
YUYV transcoding for free (or rather for some CPU cycles).

> I'm even able to output .ppm files to disk. Does the camera support more
> than one format? Also, when I run uvccapture, the output file is about 8 KB
> for a 320x240 image, and it will not open in any standard image viewer.

That's because MJPEG images lack the Huffman tables compared to JPEG images. 
You need to add them back to display them in standard JPEG viewers.

Best regards,

Laurent Pinchart

_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to