Re: gspca V2 vs V1: webcam picture very dark

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ian Pickworth wrote:
Running my Logitec cheapo webcam on gspca V2, the result is not as good
as when I previously used gspca V1 freestanding (20071224).

Specifically, under V2:
	The picture is very, very dark - can hardly make it out.
	The webcam light switches off after first use, and stays off.

The second may or may not be a problem, but I'm assuming that the light
is signaling something useful, thus its state seems important.

To test the webcam, I'm using spcaview.

Using the freestanding (V1) gspca module on kernel 2.6.26, I see output
below (gspca V1 run). The webcam light switches on when the gspca module
loads, stays on throughout, and after the application finishes as well.
The brightness is normal, ie I can see myself clearly.

Using the new gspca_main/gspca_spca561 modules on kernel 2.6.27 I see
output below (gspca_main/gspca_spca561 run). The webcam light switches
on when the modules are loaded, stays on until spcaview exits, at which
point it switches off. It then stays off until the modules are reloaded.
The brightness is very low indeed - I can hardly make myself out.

Hi Ian,

Thanks for including so much details in you report, this certainly makes things much easier for us!

brightnes=16384 hue=0 color=0 contrast=8192 whiteness=0
depth=12 palette=15


brightnes=0 hue=0 color=0 contrast=0 whiteness=0
depth=8 palette=15

brightness and contrast seem to be way off for the new modules.

This is normal, you have a revison 12a spca561 (I can tell from your usb-id), this does not have brightness nor contrast controls, hence they show as 0. It does have exposure and gain controls which used to be mapped to contrast and brightness in gspcav1 as there was no way to express these controls in v4l1, the new gspcav2 exports these as exposure and gain, iow as what they are.

However since you're using a v4l1 application, you cannot control these now. You can use a separate v4l2 controlpanel application (google for, download, and install v4l2ucp) to control these settings. You can run this in parallel to spcaview. You will want to crank up exposure, I really need to add software autoexposure to libv4l for these cams to adjust this automatically to lighting conditions.


Notice gspcav1:

Used 19966ms for 244 images => 81ms/image 12fps.

Note an exposure time of 81 ms / frame.

gspca_main/gspca_spca561 run

Used 2131ms for 63 images => 33ms/image 29fps.

Note an exposure time of 33 ms / frame, so thats 2.5 times as short an exposure, and thus 2.5 times as dark a picture.



video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe

[Linux Media]     [Older V4L]     [Linux DVB]     [Video Disk Recorder]     [Linux Kernel]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [SSH]     [DVB Maintainers]     [Linux USB]     [Yosemite Information]

Add to Google Powered by Linux