|
From: Gabriel A. D. <ac...@st...> - 2006-02-24 22:56:04
|
On February 24, 2006 16:28, Aaron VanDevender wrote: > I changed the format to V4L2_PIX_FMT_YUYV in uvccapture.c, and the > verbose output said it was taking a picture at 1280x960, but the image > it produced was a 4k file which, when opened with eog, had no height and > width (so there was no real image there, only headers). Is there > something else I need to do to get YUYV capture to work? uvccapture is really setup just to create JPEGs by using the MJPEG frames. Since its built on the luvcview core, the YUYV capture is present in the code, but I've not implemented a method to get it out. I'll dig through and see if I can add a YUYV dump, but I'm not even sure of the file formatting, so I'll have to do a little research. At the very least I'll disallow >960x720 in MJPEG mode, and make a note in the README and usage output. Patches are always welcome to help implementing this. -- Gabriel A. Devenyi ac...@st... |