The Multimedia Menu :: Overlays


param.cgi?cmd=getoverlayattr& region=[1, 2]

Get OSD Parameter

  • region: 2: OSD time region, 1: OSD Name region
  • show_[region]: 0 (hidden), 1 (displayed)
  • name_[region]: Region 2="YYYY-MM-DD hh:mm:ss", region 1 ="Camera Name"
  • align_[region]: 0 (upper left), 1 (upper right), 2 (lower right), 3 (lower left)
  • x_[region]: X position offset of the overlay (from the left or the right edge depending on chosen preset - No negative values)
  • y_[region]: Y position offset of the overlay (from the left or the right edge depending on chosen preset - No negative values)

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getoverlayattr&region=1

cmd="getoverlayattr";
show="1";
align="0";
x="0";
y="0";
name="IN-9408 WQHD";
response="200";
GET: http://192.168.2.168/param.cgi?cmd=getoverlayattr&region=2&user=admin&pwd=instar

cmd="getoverlayattr";
show="1";
align="1";
x="0";
y="0";
name="%Y-%m-%d %X";
response="200";
GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getoverlayattr

cmd="getoverlayattr";
show[1]="1";
align[1]="0";
x[1]="0";
y[1]="0";
name[1]="JD";
show[2]="1";
align[2]="1";
x[2]="0";
y[2]="0";
name[2]="%Y-%m-%d %X";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setoverlayattr&region=1&show=1&name=IN-9408WQHD

cmd="setoverlayattr";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setoverlayattr&region=2&show=1&name=%25Y-%25m-%25d+%25X

cmd="setoverlayattr";
response="200";