Das Multimedia Menü :: Video



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=getvencattr&chn=[11, 12, 13]

Get the Video Encoder Attributes for Video Streams 11, 12 and 13

  • bps[11, 12, 13]: Bitrate [1024-5120000]
  • fps[11, 12, 13]: Max. Framerate: PAL:Range [1-25], NTSC:Range [1-30]
  • gop[11, 12, 13]: Keyframe Interval: [10-120]
  • brmode[11, 12, 13]: Video encode control uses bps as cap: 0: fixed bit rate, 1: variable bit rate
  • imagegrade[11, 12, 13]: 1 (low quality / high compression / small file size) - 10 (high quality / low compression / big file size)
  • profile: Video compression profile (baseline, high, main) [h265a,h264bp,h264hp,h264mp]. Channel 12 uses h264bp by default to ensure best browser compatibility. MacOS user can set to h265a when using Safari. Microsoft Edge user can set to h265a after installing the HEVC-Codec.
  • width[11, 12, 13]: Video width (Applied after reboot)
  • height[11, 12, 13]: Video height (Applied after reboot)

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getvencattr&chn=11

cmd="getvencattr";
profile="h265a";
bps="2560000";
fps="30";
gop="50";
brmode="1";
imagegrade="5";
width="2560";
height="1440";
response="200";
GET: http://192.168.2.168/param.cgi?cmd=getvencattr&user=admin&pwd=instar

cmd="getvencattr";
profile[11]="h265a";
bps[11]="2560000";
fps[11]="30";
gop[11]="50";
brmode[11]="1";
imagegrade[11]="5";
width[11]="2560";
height[11]="1440";
profile[12]="h264bp";
bps[12]="1280000";
fps[12]="30";
gop[12]="50";
brmode[12]="1";
imagegrade[12]="5";
width[12]="1920";
height[12]="1080";
profile[13]="h265a";
bps[13]="640000";
fps[13]="30";
gop[13]="50";
brmode[13]="1";
imagegrade[13]="5";
width[13]="640";
height[13]="360";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setvencattr&chn=11&profile=h265a&bps=32000&fps=20&gop=50&brmode=1&imagegrade=5&width=2560&height=1440

cmd="setvencattr";
response="200";

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]
  • 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=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=getwebuiattr

Get Web User Interface Video Attributes

  • ui_enc: Indicates if h265 or mjpeg should be displayed in the WebUI [0,1]
  • ui_img: MJPEG Mode [0,1]
  • ui_message_off: Lists notifications that will not be shown to the user [0,1]
  • ui_plugin: Inidcates which plugin should be used to show h265 stream: [0,1]
  • ui_quick: Order and Type of buttons in the quick access row
  • ui_resolution: Indicates which stream is shown in the WebUI [11,12,13]
  • ui_theme: WebUI Light / Dark Theme [0,1]

Example

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


cmd="getwebuiattr";
ui_img="0";
ui_enc="1";
ui_plugin="0";
ui_theme="2";
ui_quick="qbtnPlay;qbtnMute;qbtnFull;qbtnCloud;qbtnNight;qbtnUpdate";
ui_message_off="";
ui_resolution="12";
response="200";
GET: http://192.168.2.168/param.cgi?cmd=getwebuiattr&user=admin&pwd=instar


cmd="getwebuiattr";
ui_enc="1";
ui_img="0";
ui_message_off="";
ui_plugin="0";
ui_quick="qbtnPlay;qbtnMute;qbtnAlarm;qbtnNight;qbtnLed;qbtnNote";
ui_resolution="11";
ui_theme="2";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setwebuiattr&ui_theme=1

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