Hi all,
I'm using a 'Logitech Quickcam Express' (046d:0840) camera to capture video. I'm using the STV06xx driver for this camera. I'm using a v4l2 example code as my application along with the above mentioned driver. The example code can be found at the below link:
http://v4l2spec.bytesex.org/spec/capture-example.htmlI've modified the above code to suit my requirement. I've attached my application code. I'm running the application on the AT91 linux4sam kernel running on an AT91SAM9G45-EKES board. Using this code I'm able to capture video. But the captured video is not clear enough.
The quickcam express camera is a USB webcam with a 360x296 CMOS sensor (Agilent/HP HSDC1000). Hence its output is of size 360x296. The AT91SAM9G45-EKES board contains a TFT LCD screen of size 480x272 (model number LB043WQ1). Hence I can accomodate an image of size 360x272 on this LCD. But I'm not able to capture an image of this size on the LCD. I'm able to capture an image of size 180x272. When I try to capture an image of size 360x272, I get four [180 (360/2) x148 (296/2)] images (1 is a replication of the other).Can you please suggest some modification to my code that will help me capture the complete image?
I've attached the captured video file. It is basically a collection of images. This can be veiwed using an application like 'YUV Devil'. Enter the width as '480' when asked by the application. You can get the application at the following link:
http://sourceforge.net/projects/yuvdevil/I've focused the camera on my computer monitor in this file to avoid confusion by capturing too many objects. How do I get a clear video on the LCD?
Regards,
Sudhindra Nayak