The Multimedia Menu :: 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

  • bps[11, 12, 13]: Bitrate up to 5120kbps [?-5012000]
  • fps[11, 12, 13]: Framerate: PAL:Range [1 ~ 25], NTSC:Range [1 ~ 30]
  • gop[11, 12, 13]: Keyframe Interval: [10 ~ 150]
  • brmode[11, 12, 13]: Video encode control: 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]
  • width[11, 12, 13]: Video width
  • height[11, 12, 13]: Video height

Example

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

cmd="getvencattr";
profile="h265a";
bps="32000";
fps="20";
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]="32000";
fps[11]="20";
gop[11]="50";
brmode[11]="1";
imagegrade[11]="5";
width[11]="2560";
height[11]="1440";
profile[12]="h265a";
bps[12]="32000";
fps[12]="20";
gop[12]="50";
brmode[12]="1";
imagegrade[12]="5";
width[12]="1920";
height[12]="1080";
profile[13]="h265a";
bps[13]="32000";
fps[13]="20";
gop[13]="50";
brmode[13]="1";
imagegrade[13]="5";
width[13]="640";
height[13]="480";
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 Image Settings

  • mode: Switches between the day and night mode as configured above. Set to "auto" to couple it with the camera day and night mode: [day, night, auto]

Example

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

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

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

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

param.cgi?cmd=getwebuiattr

Get Web User Interface Attributes

  • ui_enc: Encoding [0,1]
  • ui_img: MJPEG Mode [0,1]
  • ui_plugin: Video Plugin: [0,1]
  • ui_quick: Displayed Quick Access Tiles
  • ui_resolution: Resolution [11,12,13]
  • ui_theme: WebUI Light / Dark Theme [1,2]

Example

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


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";
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";