<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.6.6">
</HEAD>
<BODY>
Le jeudi 20 février 2014 à 16:20 +0000, Ian Davidson a écrit :<BR>
<BLOCKQUOTE TYPE=CITE>
    I did not compile against libvideo4linux because I did not know where to <BR>
    find it.  The trace is below.  If I need to download libvideo4linux, <BR>
    I'll need a pointer as to where to find it.<BR>
</BLOCKQUOTE>
<BR>
On most distribution you'll need libv4l-devel or libv4l-dev. Or you can build it from source:<BR>
git://linuxtv.org/v4l-utils.git<BR>
<BR>
>From the trace the format you encounter is GRBG, a bayered format that matches, V4L2_PIX_FMT_SGRBG8. It seems that these formats are not defined in GStreamer v4l2 support, though GStreamer has an element that may be able to convert that format, bayer2rgb. One could add this format to v4l2object.c and test against the converter to see if it's compatible, Patch would be appreciated. Note that libv4l will do the software conversion to more common formats. We don't know yet if HW specific color table are required, or included in libv4l, hence the reason we did not activate these formats.<BR>
<BR>
Nicolas<BR>
<BR>
</BODY>
</HTML>