The Multimedia Menu :: Video


param.cgi?cmd=getvideoattr

Get the Video Attributes

  • videomode: 41: Resolution CH11=1080p (1920x1080), CH12=352p (640x352), CH13=176p (320x176)
  • vinorm: P: 50Hz(PAL) | N: 60Hz(NTSC)
  • wdrmode: Hardware Wide Dynamic Range: 0 (off), 1 (active) |
  • profile: h.264 encoder 0: baseline, 1: mainprofile |
  • maxchn: Maximum active video channels |

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getvideoattr
var videomode=11;var vinorm="N";var profile="H265A";var wdrmode=0;var maxchn=2;

GET: http://192.168.2.168/param.cgi?cmd=getvideoattr&-usr=admin&-pwd=instar
var videomode=11;var vinorm="N";var profile="H265A";var wdrmode=0;var maxchn=2;

SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setvideoattr&-videomode=41&-vinorm=P&-wdrmode=1&-profile=1&-maxchn=3

param.cgi?cmd=getvencattr&-chn=[11, 12. 13]

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

  • bps_[1, 2, 3]: Bitrate CH11 1080p = 512kbps - 4096kbps, Bitrate CH11 320p = 512kbps - 2048kbps, Bitrate CH11 160p = 90kbps - 512kbps
  • fps_[1, 2, 3]: Framerate: PAL:Range [1 ~ 25], NTSC:Range [1 ~ 30]
  • gop_[1, 2, 3]: Keyframe Interval: gop Range [10 ~ 150]
  • brmode_[1, 2, 3]: Video encode control: 0: fixed bit rate, 1: changeable bit rate
  • imagegrade_[1, 2, 3]: 1 (low compression) -6 (high compression)
  • width_[1, 2, 3]: Video width
  • height_[1, 2, 3]: Video height

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getvencattr&-chn=11
bps_1=4096;fps_1=30;gop_1=60;brmode_1=0;imagegrade_1,=0;width_1=2592;height_1=1458;

GET: http://192.168.2.168/param.cgi?cmd=getvencattr&-chn=11&-usr=admin&-pwd=instar
bps_1=4096;fps_1=30;gop_1=60;brmode_1=0;imagegrade_1,=0;width_1=2592;height_1=1458;

SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setvencattr&-chn=11&-bps_1=2048&-imagegrade_1=4&-brmode_1=1&-fps_1=20&-gop_1=40

param.cgi?cmd=getimageattr

Get Image Parameter

  • chn: 1st, 2nd or 3rd audio channel: 1, 2, 3
  • 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: [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]=manual
  • 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

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getimageattr
display_mode=0;brightness=50;saturation=50;sharpness=1;contrast=50;hue=0;wdr="off";night="on";shutter=1120;flip="off";mirror="off";gc=0;ae=0;targety=0;noise=0;gamma=0;aemode=0;imgmode=0;wdrauto=0;wdrautval=0;wdrmanval=0;d3noauto=0;d3noval=0;gcauto=0;gcval=0;aemodeex=0;aelowval=0;aehighval=0;aeratio=0;

GET: http://192.168.2.168/param.cgi?cmd=getimageattr&-usr=admin&-pwd=instar
display_mode=0;brightness=50;saturation=50;sharpness=1;contrast=50;hue=0;wdr="off";night="on";shutter=1120;flip="off";mirror="off";gc=0;ae=0;targety=0;noise=0;gamma=0;aemode=0;imgmode=0;wdrauto=0;wdrautval=0;wdrmanval=0;d3noauto=0;d3noval=0;gcauto=0;gcval=0;aemodeex=0;aelowval=0;aehighval=0;aeratio=0;

SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setimageattr&-brightness=4&-saturation=3&-contrast=4&-flip=off&-mirror=off&-shutter=1120&-sharpness=4