Re: libv4l release: 0.5.97: the whitebalance release!

unz <[email protected]> Thu, 16 Apr 2009 23:08:25 +0200
Newsgroups gmane.linux.drivers.spca50x.devel
Message-ID <1239916105.7054.4.camel@unzLap>
--===============0001805625003009385==
Content-Type: multipart/alternative; boundary="=-AWkXZGlFw9KVPVGXAFmL"


--=-AWkXZGlFw9KVPVGXAFmL
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

[ 6676.652155] Linux video capture interface: v2.00
[ 6676.657242] gspca: main v2.3.0 registered
[ 6683.100902] gspca: probing 046d:0892
[ 6683.308568] vc032x: check sensor header 44
[ 6683.313814] vc032x: Read Sensor h (0x00) m (0x30) l (0x31)
[ 6683.319439] vc032x: Read Sensor h (0x00) m (0x30) l (0x31)
[ 6683.333155] vc032x: Read Sensor h (0x00) m (0x30) l (0x31)
[ 6683.333575] vc032x: Find Sensor PO3130NC
[ 6683.335549] gspca: probe ok
[ 6683.335586] usbcore: registered new interface driver vc032x
[ 6683.335592] vc032x: registered
root@unzLap:/home/unz/Scrivania/libv4l-0.5.97# export
LIBV4LCONTROL_CONTROLS=15
root@unzLap:/home/unz/Scrivania/libv4l-0.5.97#
LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so v4l2ucp&


I tried playing a little with this webcam ... nothing changes.

Gianni



Il giorno gio, 16/04/2009 alle 01.02 +0200, Hans de Goede ha scritto:

> On 04/16/2009 12:26 AM, Adam Baker wrote:
> > On Wednesday 15 Apr 2009, Hans de Goede wrote:
> >> Currently only whitebalancing is enabled and only on Pixarts (pac) webcams
> >> (which benefit tremendously from this). To test this with other webcams
> >> (after instaling this release) do:
> >>
> >> export LIBV4LCONTROL_CONTROLS=15
> >> LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so v4l2ucp&
> >>
> >
> > Strangely while those instructions give me a whitebalance control for the
> > sq905 based camera I can't get it to appear for a pac207 based camera
> > regardless of whether LIBV4LCONTROL_CONTROLS is set.
> >
> 
> Thats weird, there is a small bug in the handling of pac207
> cams with usb id 093a:2476 causing libv4l to not automatically
> enable whitebalancing (and the control) for cams with that id,
> but if you have LIBV4LCONTROL_CONTROLS set (exported!) both
> when loading v4l2ucp (you must preload v4l2convert.so!) and
> when loading your viewer, then it should work.
> 
> >> Notice the whitebalance and normalize checkboxes in v4l2ucp,
> >> as well as low and high limits for normalize.
> >>
> >> Now start your favorite webcam viewing app and play around with the
> >> 2 checkboxes. Note normalize seems to be useless in most cases. If
> >> whitebalancing makes a *strongly noticable* difference for your webcam
> >> please mail me info about your cam (the usb id), then I can add it to
> >> the list of cams which will have the whitebalancing algorithm (and the v4l2
> >> control to enable/disable it) enabled by default.
> >
> > The whitebalance works really well with the sq905 (ID 2770:9120). Without it
> > the image is very red when using artificial light, with auto whitebalance the
> > colours look slightly desaturated but otherwise fine.
> >
> 
> Good to hear it helps for the sq905 too, is that the only know id for sq905 cams ?
> 
> Regards,
> 
> Hans
> 
> > Adam
> >
> 
> 
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and 
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today. 
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> Spca50x-devs mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/spca50x-devs

--=-AWkXZGlFw9KVPVGXAFmL
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 7bit

<!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/3.26.0">
</HEAD>
<BODY>
[ 6676.652155] Linux video capture interface: v2.00<BR>
[ 6676.657242] gspca: main v2.3.0 registered<BR>
[ 6683.100902] gspca: probing 046d:0892<BR>
[ 6683.308568] vc032x: check sensor header 44<BR>
[ 6683.313814] vc032x: Read Sensor h (0x00) m (0x30) l (0x31)<BR>
[ 6683.319439] vc032x: Read Sensor h (0x00) m (0x30) l (0x31)<BR>
[ 6683.333155] vc032x: Read Sensor h (0x00) m (0x30) l (0x31)<BR>
[ 6683.333575] vc032x: Find Sensor PO3130NC<BR>
[ 6683.335549] gspca: probe ok<BR>
[ 6683.335586] usbcore: registered new interface driver vc032x<BR>
[ 6683.335592] vc032x: registered<BR>
root@unzLap:/home/unz/Scrivania/libv4l-0.5.97# export LIBV4LCONTROL_CONTROLS=15<BR>
root@unzLap:/home/unz/Scrivania/libv4l-0.5.97# LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so v4l2ucp&amp;<BR>
<BR>
<BR>
I tried playing a little with this webcam ... nothing changes.<BR>
<BR>
Gianni<BR>
<BR>
<BR>
<BR>
Il giorno gio, 16/04/2009 alle 01.02 +0200, Hans de Goede ha scritto:
<BLOCKQUOTE TYPE=CITE>
<PRE>
On 04/16/2009 12:26 AM, Adam Baker wrote:
&gt; On Wednesday 15 Apr 2009, Hans de Goede wrote:
&gt;&gt; Currently only whitebalancing is enabled and only on Pixarts (pac) webcams
&gt;&gt; (which benefit tremendously from this). To test this with other webcams
&gt;&gt; (after instaling this release) do:
&gt;&gt;
&gt;&gt; export LIBV4LCONTROL_CONTROLS=15
&gt;&gt; LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so v4l2ucp&amp;
&gt;&gt;
&gt;
&gt; Strangely while those instructions give me a whitebalance control for the
&gt; sq905 based camera I can't get it to appear for a pac207 based camera
&gt; regardless of whether LIBV4LCONTROL_CONTROLS is set.
&gt;

Thats weird, there is a small bug in the handling of pac207
cams with usb id 093a:2476 causing libv4l to not automatically
enable whitebalancing (and the control) for cams with that id,
but if you have LIBV4LCONTROL_CONTROLS set (exported!) both
when loading v4l2ucp (you must preload v4l2convert.so!) and
when loading your viewer, then it should work.

&gt;&gt; Notice the whitebalance and normalize checkboxes in v4l2ucp,
&gt;&gt; as well as low and high limits for normalize.
&gt;&gt;
&gt;&gt; Now start your favorite webcam viewing app and play around with the
&gt;&gt; 2 checkboxes. Note normalize seems to be useless in most cases. If
&gt;&gt; whitebalancing makes a *strongly noticable* difference for your webcam
&gt;&gt; please mail me info about your cam (the usb id), then I can add it to
&gt;&gt; the list of cams which will have the whitebalancing algorithm (and the v4l2
&gt;&gt; control to enable/disable it) enabled by default.
&gt;
&gt; The whitebalance works really well with the sq905 (ID 2770:9120). Without it
&gt; the image is very red when using artificial light, with auto whitebalance the
&gt; colours look slightly desaturated but otherwise fine.
&gt;

Good to hear it helps for the sq905 too, is that the only know id for sq905 cams ?

Regards,

Hans

&gt; Adam
&gt;


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. <A HREF="http://p.sf.net/sfu/p">http://p.sf.net/sfu/p</A>
_______________________________________________
Spca50x-devs mailing list
<A HREF="mailto:[email protected]">[email protected]</A>
<A HREF="https://lists.sourceforge.net/lists/listinfo/spca50x-devs">https://lists.sourceforge.net/lists/listinfo/spca50x-devs</A>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>

--=-AWkXZGlFw9KVPVGXAFmL--



--===============0001805625003009385==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
--===============0001805625003009385==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Spca50x-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spca50x-devs

--===============0001805625003009385==--