cam max width and height

2010-06-07 Thread linux newbie
Hi,

I am using linux 2.6.26.3. I connected microsoft live cam and its
max supported resolution is 1280x800. If I use VIDIOC_G_FMT,
fmt.fmt.pix.width, fmt.fmt.pix.height returns 640x480.

How to get the maximum supported resolution??

Thanks
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [Linux-uvc-devel] cam max width and height

2010-06-07 Thread Natalia Portillo
Hi,

El 08/06/2010, a las 01:09, linux newbie escribió:

 Hi,
 
 I am using linux 2.6.26.3. I connected microsoft live cam and its
 max supported resolution is 1280x800. If I use VIDIOC_G_FMT,
 fmt.fmt.pix.width, fmt.fmt.pix.height returns 640x480.
 
 How to get the maximum supported resolution??

You should check in Microsoft's webpage or included documentation that 1280x800 
is a video resolution and not only a still image resolution.

It is common for many cameras to do that.

 Thanks
 ___
 Linux-uvc-devel mailing list
 linux-uvc-de...@lists.berlios.de
 https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: cam max width and height

2010-06-07 Thread Laurent Pinchart
Hi,

On Tuesday 08 June 2010 02:09:39 linux newbie wrote:
 Hi,
 
 I am using linux 2.6.26.3. I connected microsoft live cam and its
 max supported resolution is 1280x800. If I use VIDIOC_G_FMT,
 fmt.fmt.pix.width, fmt.fmt.pix.height returns 640x480.
 
 How to get the maximum supported resolution??

You can use VIDIOC_ENUM_FRAMESIZES to enumeration all the supported 
resolutions.

-- 
Regards,

Laurent Pinchart
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html