On Monday 25 February 2008, Raúl Sánchez Siles wrote:
>   Hello All:
>
>   Thanks for you kind answers and also for your great efforts on providing
> free drivers for our hardware.
>
> George Peter Staplin wrote:
> > Quoted Laurent Pinchart <[EMAIL PROTECTED]>:
> >> Hi Raúl,
> >>
> >>> luvcview version 0.2.1
> >>> Video driver: x11
> >>> A window manager is available
> >>> video /dev/video0
> >>> Unable to set format: 22.
> >>>  Init v4L2 failed !! exit fatal
> >>>
> >>>   What does this message mean? Is there a way I could get a simple
> >>> screenshot using the driver. Pointers are appreciated.
> >>>
> >>>   Only -f yuv worked, but well, what about the others?
> >>
> >> Your camera supports YUV only, so there is no other format :-)
>
>   What about a more descriptive error message? If you agree I may try to
> work into a patch.

A better way would be to fall back to YUV if MJPEG is not available. Available 
formats can be enumerated, so this shouldn't be too difficult to implement.

> > What you may be able to do is use the mjpg-streamer project's
> > uvc_stream.  The only problem I've had is writing a suitable program
> > to work with its somewhat bizarre MJPEG format.  Mozilla Firefox will
> > display the JPEG frames, although with some bugs, so I wrote my own
> > viewer.  My viewer supports Linux and Win32.  I just share the viewer
> > program with my friends so that they can connect to the MJPEG stream.
> >
> > I also have a small patch to uvc_stream that seems to be useful.
> >
> > If desired I could clean it up a bit (it's only ~100 lines of code),
> > and add a grab option to save individual frames.  It uses code from my
> > project called megapkg, specifically the megaimage, jpegext2, and ntk
> > extensions to Tcl.
>
>   I think this could be a solution as well, but I may not the be the right
> person to look into it. Thanks, by the way.

Best regards,

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

Reply via email to