Das Multimedia Menü :: Bild


param.cgi?cmd=getimageattr

Get Day Image Parameter

  • brightness: Brightness [0-100]
  • saturation: Saturation [0-100]
  • sharpness: Sharpness [0-100]
  • contrast: Contrast [0-100]
  • hue: Hue shift [0-360]
  • vibauto: Auto vibrancy strentgh [1,0]
  • vib: Manual vibrancy strentgh [0-255]
  • hdr: Software Wide Dynamic Range Mode: [1,7]
  • flip: Flip the Image [1,0]
  • mirror: Mirror the Image [1,0]
  • denoiseauto: Auto low light denoising [1,0]
  • denoise: Manual low light denoising intensity [1-16]
  • gauto: Auto Gamma settings [1,0]
  • gmode: Manual Gamma strength [1-18]
  • gval: User specified Gamma Setting. Is active when gmode = 0 [0-650]
  • obauto: Auto black-level [1,0]
  • ob: Manual black-level [1-25]
  • isomax: Maximum sensor signal amplification ISO [1-32]
  • flickermode: Video de-flicker mode [0-2]
  • flickerfreq: De-flicker frequency in Hz [50,55,60]

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getimageattr

cmd="getimageattr";
saturation="50";
sharpness="70";
contrast="55";
brightness="55";
hue="0";
denoiseauto="1";
denoise="0";
flip="1";
mirror="1";
flickermode="1";
flickerfreq="50";
gauto="1";
gmode="18";
gval="";
vibauto="0";
vib="128";
hdr="5";
ob="20";
obauto="1";
isomax="4";
response="200";
GET: http://192.168.2.168/param.cgi?cmd=getimageattr&user=admin&pwd=instar

cmd="getimageattr";
brightness="55";
contrast="55";
denoise="4";
denoiseauto="1";
flickerfreq="50";
flickermode="1";
flip="1";
gauto="1";
gmode="17";
gval="";
hdr="5";
hue="0";
isomax="4";
mirror="1";
ob="20";
obauto="1";
saturation="50";
sharpness="70";
vib="128";
vibauto="0";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setimageattr&mirror=1&flip=1

cmd="setimageattr";
response="200";

param.cgi?cmd=getimagenightattr

Get Night Image Parameter

  • brightness: Brightness [0-100]
  • saturation: Saturation [0-100]
  • sharpness: Sharpness [0-100]
  • contrast: Contrast [0-100]
  • hue: Hue shift [0-360]
  • vibauto: Auto vibrancy strentgh [1,0]
  • vib: Manual vibrancy strentgh [0-255]
  • hdr: Software Wide Dynamic Range Mode: [1,7]
  • flip: Flip the Image [1,0]
  • mirror: Mirror the Image [1,0]
  • denoise_auto: Auto low light denoising [1,0]
  • denoise: Manual low light denoising intensity [1-16]
  • gauto: Auto Gamma settings [1,0]
  • gmode: Manual Gamma strength [1-18]
  • gval: User specified Gamma Setting. Is active when gmode = 0 [0-650]
  • obauto: Auto black-level [1,0]
  • ob: Manual black-level [1-25]
  • isomax: Maximum sensor signal amplification ISO [1-32]
  • flickermode: Video de-flicker mode [0-2]
  • flickerfreq: De-flicker frequency in Hz [50,55,60]

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getimagenightattr

cmd="getimagenightattr";
saturation="50";
sharpness="65";
contrast="65";
brightness="55";
hue="0";
denoiseauto="1";
denoise="0";
flip="0";
mirror="0";
flickermode="1";
flickerfreq="50";
gauto="1";
gmode="18";
gval="";
vibauto="0";
vib="128";
hdr="5";
ob="20";
obauto="1";
isomax="8";
response="200";
GET: http://192.168.2.168/param.cgi?cmd=getimagenightattr&user=admin&pwd=instar

cmd="getimagenightattr";
saturation="50";
sharpness="65";
contrast="65";
brightness="55";
hue="0";
denoiseauto="1";
denoise="0";
flip="0";
mirror="0";
flickermode="1";
flickerfreq="50";
gauto="1";
gmode="18";
gval="";
vibauto="0";
vib="128";
hdr="5";
ob="20";
obauto="1";
isomax="8";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setimagenightattr&mirror=1&flip=1

cmd="setimagenightattr";
response="200";

param.cgi?cmd=getimagemode

Activate the Day or Night Mode

  • mode: Switches between the day 0 and night 1 image settings as configured above. Set to auto 2 to bind it to your cameras day and night mode (see also getnightstate below): [0, 1, 2]

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getimagemode

cmd="getimagemode";
mode="1";
response="200";
GET: http://192.168.2.168/param.cgi?cmd=getimagemode&user=admin&pwd=instar

cmd="getimagemode";
mode="0";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setimagemode&mode=2

cmd="setimagemode";
response="200";

param.cgi?cmd=getnightstate

Check Currently Active Day or Night Mode

  • state: Check if your camera is in day 0 or night 1 mode. The night mode by default is activated by the brightness sensor when the brightness drops below the set treshold. This behavior can be overridden by deactivating the auto setting of infraredcutstat using the setinfrared command. As long as the image mode (see getimagemode above) is in auto the night state will also reflect which image settings are currently in use (see getimageattr and getimagenightattr above): [0, 1]

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getnightstate

cmd="getnightstate";
mode="1";
response="200";
GET: http://192.168.2.168/param.cgi?cmd=getnightstate&user=admin&pwd=instar

cmd="getnightstate";
mode="2";
response="200";

param.cgi?cmd=getvideoattr

Get the Video Attributes

  • videomode: 41: Resolution CH11=1080p, CH12=320p, CH13=160p (deprecated)
  • vinorm: P: 50Hz(PAL) | N: 60Hz(NTSC) (deprecated)
  • wdrmode: Hardware Wide Dynamic Range: 0 (off), 1 (active)
  • wdrmodenight: Hardware Wide Dynamic Range (during Night Mode s. above): 0 (off), 1 (active)
  • maxchn: Sets available stream channels: 1 only channel 11 available, 2 chn 11 & chn 12 available or 3 chn 11, chn 12 & chn 13 available

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getvideoattr


cmd="getvideoattr";
videomode="";
vinorm="N";
wdrmode="1";
wdrmodenight="0";
maxchn="3";
response="200";
GET: http://192.168.2.168/param.cgi?cmd=getvideoattr&user=admin&pwd=instar


cmd="getvideoattr";
videomode="";
vinorm="N";
wdrmode="1";
wdrmodenight="0";
maxchn="3";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setvideoattr&wdrmodenight=1

cmd="setvideoattr";
response="200";

param.cgi?cmd=getldcattr

Get Lens Distortion Correction

  • enable: Enable fisheye distortion correction [0,1]
  • ldcval: Distortion correction strength [0-10]

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getldcattr

cmd="getldcattr";
enable="1";
ldcval="1";
response="200";
GET: http://192.168.2.168/param.cgi?cmd=getldcattr&user=admin&pwd=instar

cmd="getldcattr";
enable="1";
ldcval="1";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setldcattr&enable=0

cmd="setldcattr";
response="200";

param.cgi?cmd=getsnapshot

Get Snapshot

  • data: base64-encoded Snapshot

Example

cmd="getsnapshot";
data="9j2wCEABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeX...

...KsVCJ6BRRRTAKKKKACiiigAooooAKKKKACiiimAUUUUAFFFFABRRRQAUUUUwCiiikAUUUUxhRRRQAUUUUAFFFFABRRRQAUUUUAFF";
response="200";