JHi Andrew,

On Tuesday 31 August 2010 08:31:12 Andrew Leech wrote:
> Hi All,
> I'm trying to develop a UVC video grabber device, which captures interlaced
> PAL video. My hardware (custom firmware on LPC3131 with a TVP5147 analog
> frontend) is working to the point of streaming video but I can't get the
> computer to deinterlace the picture. The desired frame specs are a
> resolution of 768x576 @ 25fps, YUY2 16Bit. The video I'm streaming currently
> is each field separately, ie half frames at double the frame rate of 768x288
> @ 50fps. The way I read the UVC specs this should be a supported standard
> (One field per sample). I can't seem to get the computer to think so
> however, it just shows the half height double rate frames. Is one field per
> sample format supported in the UVC driver, and if so how you to inform the
> driver of the format correctly.

The UVC driver doesn't support interlaced formats yet. Want to submit a patch 
? :-)

> I've included my descriptors in the hope someone might see something there
> that's askew, but I feel I've tried a lot of different things there with no
> positive results. One thing I noticed, it's reporting 2 fields per frame in
> the interlaced flags, whereas bit 1 set should read as One field per frame
> according to the spec, so lsusb is reporting wrong...  a minor bug.

Thanks for the reporT. I've sent an lsusb patch to the linux-usb mailing list.

> UVCview in windows reports it right for what it's worth. On the flip side,
> lsusb seems to report bmVideoStandards correctly unlike UVCview, which gets
> those flags offset.
> 
> I'm guessing that the interleaved line format is more common for interlaced,
> but that would require full frames worth of ram in my hardware which I just
> don't have (I've got 96KB total ram where a half frame requires ~430KB).
> 
> I've been working on this for over a week and am really at a loss, any help
> would be very much appreciated.

Support for interlaced formats "just" needs to be implemented in the uvcvideo 
driver.

-- 
Regards,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to