The Multimedia Menu :: Video



param.cgi?cmd=getvideoattr

Get the Video Attributes

  • wdrmode: Activate High Dynamic Range: [0, 1]
  • maxchn: Maximum active video channels [1-3]

Example

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


cmd="getvideoattr";
wdrmode="1";
maxchn="3";
response="200";
GET: http://192.168.2.168/param.cgi?cmd=getvideoattr&usr=admin&pwd=instar


cmd="getvideoattr";
wdrmode="1";
maxchn="3";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setvideoattr&maxchn=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 (high compression) - 10 (low compression)
  • 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&usr=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 Image Parameter

  • display_mode: Current 0: black and white mode 1: color mode
  • brightness: brightness [0-100]
  • saturation: saturation [0-255]
  • sharpness: sharpness [0-100]
  • contrast: contrast [0-100]
  • hue: hue [0-255]
  • wdr: Software Wide Dynamic Range Mode: [on, off]
  • night: Night mode 0 (inactive), 1 (active)
  • shutter: Shutter Speed [0 - 65535]
  • flip: Flip the Image [on, off]
  • mirror: Mirror the Image [on, off]
  • gc: Night illumination, value Range 0=auto, [1-255]=maual
  • ae: Minimum exposure, range 0-65535
  • targety: Exposure [0-255]
  • noise: Low light denoising intensity (0-100)
  • gamma: Gamma 0-3
  • aemode: Auto-Exposure mode, the range: 0 Automatic, 1 Indoor, 2 Outdoor
  • imgmode: Image priority mode 0: Frame rate priority, 1: Illumination priority
  • d3noauto: 3D Noise Reduction Mode: 0 (auto), 1 (manual)
  • d3noval: 3D Noise Reduction Strength: [0-255]
  • gcauto: Signal Gain: 0 (auto), 1 (manual)
  • gcval: Gain Multiplier: [0-255]
  • aemodeex: Exposure Mode: Highlight (Exposure) priority, Lowlight (Framerate) priority
  • aelowval: Lowlight Intensity [0-255]
  • aehighval: Highlight Intensity [0-255]
  • aeratio: Length Exposure Ratio [0-100]

Example

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

cmd="getimageattr";
display_mode="0";
brightness="0";
saturation="0";
sharpness="0";
contrast="0";
hue="0";
wdr="0";
night="0";
shutter="0";
flip="0";
mirror="0";
gc="0";
ae="0";
noise="0";
gamma="0";
aemode="0";
imgmode="0";
d3noauto="0";
d3noval="0";
gcauto="0";
gcval="0";
aemodeex="0";
aelowval="0";
aehighal="0";
aeratio="0";
response="200";
GET: http://192.168.2.168/param.cgi?cmd=getimageattr&usr=admin&pwd=instar

cmd="getimageattr";
display_mode="0";
brightness="0";
saturation="0";
sharpness="0";
contrast="0";
hue="0";
wdr="0";
night="0";
shutter="0";
flip="0";
mirror="0";
gc="0";
ae="0";
noise="0";
gamma="0";
aemode="0";
imgmode="0";
d3noauto="0";
d3noval="0";
gcauto="0";
gcval="0";
aemodeex="0";
aelowval="0";
aehighal="0";
aeratio="0";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setimageattr&display_mode=0&brightness=0&saturation=0&sharpness=0&contrast=0&hue=0&wdr=0&night=0&shutter=0&flip=0&mirror=0&gc=0&ae=0&noise=0&gamma=0&aemode=0&imgmode=0&d3noauto=0&d3noval=0&gcauto=0&gcval=0&aemodeex=0&aelowval=0&aehighal=0&aeratio=0

cmd="setimageattr";
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&usr=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";