Das Aufgaben Menü :: Video


param.cgi?cmd=getplanrecattr

Plan a video recording on SD card

  • enable: Enable planned recording [1,0]
  • chn: Record the following channel [11-13]
  • duration: Recording length, e.g. [600] s

Example

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

cmd="getplanrecattr";
var enable="0";
var chn="11";
var duration="600"; 
response="200";
GET: http://admin:instar@192.168.2.168/param.cgi?cmd=setplanrecattr&planrec_enable=1

cmd="getplanrecattr";
var enable="0";
var chn="11";
var duration="600"; 
response="200";

param.cgi?cmd=getmanualrecattr

Configure the manual video recording on SD card

  • time: Recording length [1-900] s
  • resolution: Record the following channel [11-13]
  • pre: Pre-recording length [0-10] s

Example

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

cmd="getmanualrecattr";
time="900";
resolution="11";
pre="0";
response="200";
GET: http://admin:instar@192.168.2.168/param.cgi?cmd=setmanualrecattr&enable=1&time=900&=pre=0

cmd="setmanualrecattr";
response="200";

param.cgi?cmd=startrec

Start manual Recording on SD Card

  • time: Set recording length in seconds [15 - 15*60]

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=startrec&time=15

cmd="startrec";
response="200";

param.cgi?cmd=stoprec

Stop manual Recording on SD Card

Example

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

cmd="stoprec";
response="200";

param.cgi?cmd=getrecordstatus

Manual Recording on SD Card Status

  • recstatus: 0: no recording, 1: alarm, 2: planned (depreciated) 3: manual

Example

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

cmd="getrecordstatus";
recstatus="3";
response="200";