Many thanks for your fast reply and patch Brian. I can use the v4l2ucp
gain control after applying the patch, and the image really
improved :).

I need to do some things to get a better quality:

1*To fix some weird colour problems...grayscale?: Insert the module,
connect the cam, test with mplayer, disconnect the cam, remove the
module, insert the module, connect the cam.
I don't know why this happens, but I can live with it, I only need to
insert the module one more time.
Before and after doing that, the exposure value is too low,and the
noise in the image is really visible. I didn't try it with good light
conditions.

2*If I load the module using auto_exposure=0 I get better results.

3*Adjust exposure/gain values with v4l2ucp

I'll continue testing the module.
Thanks again to all the microdia developers. You are doing a good job.
I hope this helps someone.

Depaz

On Jan 27, 7:57 am, Brian Johnson <[email protected]> wrote:
> Yes the ov7660 sensor that the 627b camera uses currently does not
> have gain support please try this quick patch and see if it works
> correctly for you.
>
> On Tue, Jan 27, 2009 at 12:32 AM, Depaz <[email protected]> wrote:
>
> > On 25 ene, 04:29, nhale25 <[email protected]> wrote:
> >> Aha, you've got it.  I've installed everything to the right place and
> >> am having success now!
>
> >> To completely document what I've done, for anybody else reading...
>
> >> * download at least version 0.5.8 of libv4l
> >> * download this 
> >> patch:http://groups.google.com/group/microdia/attach/b4b3d001b02f388a/0001-...
> >> * place patch in the newly downloaded libv4l directory
> >> * in a terminal :
> >> patch -p1 < name-of-the-patch-you-just-downloaded
> >> make
>
> >> * if it's a Debian based system (you want it to end up in /usr/lib),
> >> in a terminal:
> >> sudo make install PREFIX=/usr
> >> * otherwise, in a terminal:
> >> sudo make install
>
> >> Thats what worked for me, anyway.  Thanks Brian and GWater for your
> >> help :)
>
> >> Nick
>
> > I tried the current sn9c20x module after downloading/patching/
> > compiling libv4l 0.5.8, and the flickering finally stopped, great :).
> > Now I'm trying to improve the image quality using v4l2ucp, I have a
> > brighter image and faster fps using the windows drivers (In low light
> > conditions). I suppose that increasing the gain is the solution, but
> > v4l2ucp gives me this error: Unable to set gain.
>
> > If I load the sn9c20x module adding auto_gain=1, the lighting improves
> > and the fps work nicely, but the image is too noisy and it's in
> > grayscale. If I unload the module and I load it again without
> > parameters, the grayscale problem dissapears, and the webcam continues
> > using auto_gain... weird, but that's how I'm using it at night. The
> > autogain is disabled only after restarting the computer.
> > I've read that gain support has been added recently, but Is there a
> > way to increase it without using auto_gain?
>
> > Many thanks Brian and GWater for your great work with the driver :).
> > And thanks to nhale25 too.
>
> > --
> > Again, sorry my english ;). If you need more information let me know.
>
>
>
>  0001-Add-gain-for-ov7660-sensors.patch
> 1KViewDownload
--~--~---------~--~----~------------~-------~--~----~
Lets make microdia webcams plug'n play, (currently plug'n pray)
To post to this group, send email to [email protected]
Visit us online https://groups.google.com/group/microdia
-~----------~----~----~----~------~----~------~--~---

Reply via email to