Page 1 of 1

adjust remote camera ip brightness?

Posted: Thu Aug 15, 2013 8:32 am
by skuda
Hi,
i am affected by this infamous bug of Foscam http://foscam.us/forum/8910w-hanging-re ... t5769.html , this means that in daylight the cameras reboot itself if you don't low the brightness so much that the images begin to be too dark.

I would like that zoneminder would increase the brightness of the jpeg that it gets from the camera, not only the stored ones but the live stream too, it this possible? Thanks!

Regards,
Miguel Angel.

Re: adjust remote camera ip brightness?

Posted: Fri Sep 13, 2013 9:06 am
by Christo
Hi Miguel Angel,

This is possible, see http://www.zoneminder.com/forums/viewto ... =9&t=21316

Regards, Christo

Re: adjust remote camera ip brightness?

Posted: Fri Sep 13, 2013 1:32 pm
by skuda
Thank you Christo,
finally i got to replace the cameras so i don't need this anymore, but i will store this link, maybe i will need this other time in the future.

Re: adjust remote camera ip brightness?

Posted: Sun Sep 15, 2013 4:02 am
by tkalfaoglu
I have a related question - mine is an IP camera. During daytime the exposure is great, but when it's IR-illuminated, the picture is much darker. Any way to convince the camera or ZM to up the brightness at night?
Thanks! -t

Re: adjust remote camera ip brightness?

Posted: Sun Sep 15, 2013 9:40 pm
by mikb
tkalfaoglu wrote:I have a related question - mine is an IP camera. During daytime the exposure is great, but when it's IR-illuminated, the picture is much darker. Any way to convince the camera or ZM to up the brightness at night?
Thanks! -t
What model camera? Maybe someone has already solved this?

In general terms: If you can adjust the brightness and contrast over the web interface, you can make that happen automatically using something like "wget" or similar scriptable web-automation tools. Zoneminder itself won't adjust it for you, so you'll have to figure out whether to do it based on time, or on some other method.

More specifically: You will need to know exactly what HTTP transaction takes place to set the brightness/contrast for your model of camera. Google may help you find an existing solution, otherwise you will have to spy on your own web traffic (needs tcpdump and other similar tools), or peer at the HTML source of the camera's page (needs eyeballs). I did this for my DLINK DCS900's and found that this lets me reset the values :-

wget --http-user=root --http-password=PASSWORD -O /dev/null --post-data="BrightnessControl=63&ConfigVideo= Save " http ://CAMERA/SetVDO.HTM

This logs into the camera, and visits the page that holds the control sliders for bright/contrast/hue etc., and posts a new value, and "presses" submit, throwing away the actual HTML response.

This freaks ZM (or the camera) out and makes the link drop, don't know why :) But it works shortly after.

Re: adjust remote camera ip brightness?

Posted: Mon Sep 16, 2013 6:41 am
by tkalfaoglu
mikb wrote:What model camera? Maybe someone has already solved this?

wget --http-user=root --http-password=PASSWORD -O /dev/null --post-data="BrightnessControl=63&ConfigVideo= Save " http ://CAMERA/SetVDO.HTM
Wow, that's a brilliant idea; many thanks! Mine is a foscam FI8903W..
-turgut