Hi Filippo,

On Tuesday 18 November 2008, Filippo Argiolas wrote:
> On Tue, Nov 18, 2008 at 12:36 AM, Laurent Pinchart wrote:
> > > He said that most likely the first frame sent by the webcam doesn't
> > > have a valid jpeg header, maybe because it starts sending in the
> > > middle of  a frame.
> > > Any idea about it?
> >
> > That would be my guess too. Would it be possible to dump the first frame
> > to a file for analysis ?
>
> Ok attached you can find the first frame from one of the two users
> (Juan Pablo could you attach a first frame dump too? Thank you)
>
> It's been created with "luvcvideo -f mjpg -c", is it ok? The webcam
> seems to support  yuv too but since that error is jpeg related this
> should be the right command.

The frame starts with garbage followed by valid JPEG data. Either the device 
sends invalid data with valid UVC headers, in which case the uvcvideo driver 
rightfully stores the data in the frame buffer, or the garbage is marked as 
such by the device but is wrongly processed by the driver.

Could you please set the trace level to 255 (echo 255 
> /sys/modules/uvcvideo/parameters/trace), capture one frame 
with 'luvcview -f mjpg -c' and send me both the captured frame and the 
messages printed by the driver to the kernel log (dmesg) ? Make sure you 
close luvcview as soon as it displays video on screen, otherwise you will 
overflow your kernel log.

Best regards,

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

Reply via email to