Moin Malte,
On Mon, Mar 24, 2008 at 11:01:07 +0100, Malte Gell wrote:
> On Sonntag, 23. März 2008, Moritz Barsnick wrote:
> > Firstly, you should try the reference UVC Linux implementation:
> > luvcview.
> Does libwebcam need to be installed?
No, luvcview is currently independent from libwebcam.
> I just copied the header files that are needed to the luvcview as
> mentioned in the README of luvcview.
Header files? All you should need on OpenSuSE are the packages SDL and
SDL-devel. But if you can build and execute it, you're fine! :-)
> sh /tmp/luvcview/luvcview
>
> luvcview version 0.2.3
> Video driver: x11
> A window manager is available
> video /dev/video0
> Unable to set format: Invalid argument
> Init v4L2 failed !! exit fatal
It's not accepting the default MJPEG format. You should use "-f yuv".
Yes, this is a little bit confusing. I promised Michel and Laurent a
patch for this. :-(
> And now with the -L option:
>
> ][10:55:20]~/download/src/luvcview> /tmp/luvcview/luvcview -L
> luvcview version 0.2.3
> Video driver: x11
> A window manager is available
> video /dev/video0
> /dev/video0 does not support read i/o
> { pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
> { discrete: width = 160, height = 120 }
> Time interval between frame: 2/15,
Are you sure the output ends here? This is where the interesting stuff
begins! Google tells me your cam should support up to 640x480.
You should be able to display one of the 'YUYV' formats with
> luvcview -f yuv
and select a different size with
> luvcview -f yuv -s 160x120 # or whatever
Hope this helps,
Moritz
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel