> I would like to see a definitive listing of all the V4L formats, since I > still occasionally find applications and drivers that get one of them > wrong. I would write it up myself, but it wouldn't be as authoritative > as one written by you or Alan. :) Hmm, we already have a nice page with all formats for v4l2: http://www.thedirks.org/v4l2/v4l2fmt.htm I think the easiest way would be to list both v4l1 and v4l2 names there. Bill? > I was hoping that this subject would never come up. :) It seems that > most USB cameras output nonstandard variants of standard formats. OV511 > has about 100 different variations that it can output, not even counting > the compressed formats. None of them is the same as any standard format. > > If it is ultimately decreed that drivers should not do any format > conversion whatsoever, I will group similar formats together and add a > header to the image that describes the exact format, and export them to > the app as a few custom formats. I don't think it is a good idea to export only private, hardware specific formats. That would require adopting applications for every single driver. The point of having a common API for all drivers is to avoid this mess ... IMHO the driver should convert the image data in that case. If the hardware operates in yuv colorspace it is fine to support one yuv format only, but that format should be one of the *standard* yuv formats. Gerd -- Gerd Knorr <kraxel@xxxxxxxxxxx>