adjust remote camera ip brightness?

Forum for questions and support relating to the 1.25.x releases only.
Locked
skuda
Posts: 6
Joined: Fri Jun 01, 2012 11:37 am

adjust remote camera ip brightness?

Post 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.
Christo
Posts: 89
Joined: Wed Feb 01, 2012 9:48 pm

Re: adjust remote camera ip brightness?

Post by Christo »

Hi Miguel Angel,

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

Regards, Christo
skuda
Posts: 6
Joined: Fri Jun 01, 2012 11:37 am

Re: adjust remote camera ip brightness?

Post 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.
tkalfaoglu
Posts: 65
Joined: Wed Nov 22, 2006 6:19 am

Re: adjust remote camera ip brightness?

Post 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
mikb
Posts: 595
Joined: Mon Mar 25, 2013 12:34 pm

Re: adjust remote camera ip brightness?

Post 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.
tkalfaoglu
Posts: 65
Joined: Wed Nov 22, 2006 6:19 am

Re: adjust remote camera ip brightness?

Post 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
Locked