Portál AbcLinuxu, 8. května 2025 22:50
mam webkameru Labtec Webcam Pro pripojenou na Asus WL500, OpenWRT, kernel 2.4.
Obrazky z kamery snimam pomoci spcacat, ale jsou preexponovane.
Behem snimani spcacat vypisuje:
...
Camera found: Labtec Webcam Pro
VIDIOCGPICT brightnes=32768 hue=0 color=0 contrast=32768 whiteness=0depth=8 palette=21
Bridge found: ZC301-2
...
ale nedari se mi zjistit odkud ty parametry cte. Tusite nekdo jak ovlivnit svetlost nebo kontrast?
Treba s pomoci /etc/modprobe.conf stylem options gspca force_rgb=1 a nebo prehled cd /sys/module/gspca/parameters autoexpo compress debug force_rgb gamma GBlue GGreen GRed lightfreq OffBlue OffGreen OffRed usbgrabber echo "hodnota" > parameter autoexpo:Enable/Disable auto exposure (default=1: enabled) (PC-CAM 600/Zc03xx/spca561a/Etoms Only !!!) (int) debug:Debug level: 0=none, 1=init/detection, 2=warning, 3=config/control, 4=function call, 5=max (int) force_rgb:Read RGB instead of BGR (int) gamma:gamma setting range 0 to 7 3-> gamma=1 (int) OffRed:OffRed setting range -128 to 128 (int) OffBlue:OffBlue setting range -128 to 128 (int) OffGreen:OffGreen setting range -128 to 128 (int) GRed:Gain Red setting range 0 to 512 /256 (int) GBlue:Gain Blue setting range 0 to 512 /256 (int) GGreen:Gain Green setting range 0 to 512 /256 (int) compress:Turn on/off compression (not functional yet) (int) usbgrabber:Is a usb grabber 0x0733:0x0430 ? (default 1) (int) lightfreq:Light frequency banding filter. Set to 50 or 60 Hz, or zero to NoFliker (default=50) (int)
diky za tip, modprobe nemam, zkusil jsem
insmod spca5xx autoexpo=1
ale na vysledek si pockam az do rana, kamera je venku a uz je tma
pokud zapnu autoexpo je to nepatrne lepsi, ale stale je snimek behem dne temer cely bily. Vecer je ok.
Ostatni parametry mi modul hlasi jako nezname, asi je to starsi verze.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.