VIVOTEK
User's Manual - 227
URL Command Document for All Series391
91
<
triggerTime
>
2009-01-24 12:00:00
</
triggerTime
>
<
backup
>
0
</
backup
>
</
i0
>
<
i1
>
<
label
>
2
</
label
>
<
triggerType
>
di
</
triggerType
>
<
mediaType
>
snapshot
</
mediaType
>
<
destPath
>
/mnt/auto/NCMF/123/123.jpg
</
destPath
>
<
resolution
>
800x600
</
resolution
>
<
isLocked
>
0
</
isLocked
>
<
triggerTime
>
2009-01-24 12:01:00
</
triggerTime
>
<
backup
>
0
</
backup
>
</
i1
>
</
stormgr
>
Ex. Local storage status in XML format.
<?
xml version="1.0" encoding="ISO-8859-1"
?>
<
stormgr version
="
0.0.0.1
">
<
disk
>
<
i0
>
<
name
>
SDcard
</
name
>
<
status
>
ready
</
status
>
<
totalSize
>
7824444
</
totalSize
>
<
freeSize
>
7824388
</
freeSize
>
<
usedSize
>
56
</
usedSize
>
</
i0
>
</
disk
>
</
stormgr
>
Ex. Local storage status in javascript format.
disk_i0_name=’SDcard’
disk_i0_status='ready'
disk_i0_totalSize='7824444'
disk_i0_freeSize='7824388'
disk_i0_usedSize='56'
disk_i0_path=i0/NCMF/.db/.localStorage.db
URL Command Document for All Series391
92
Command: queryStatus
PARAMETER
VALUE
DESCRIPTION
retType
xml or javascript
Optional.
Ex. retype=javascript
The default return message is in XML format.
Ex. Query local storage status and call for javascript format return message.
http://<
servername
>/cgi-bin/admin/lsctrl.cgi?cmd=queryStatus&retType=javascript
There are two cgi commands for download and composing jpegs to avi format.
For download single selected file, you can use
“/cgi
-bin/admin/
downloadMedias.cgi
”
. Just assign the
request file path to this cgi.
Syntax:
http://<
servername
>/cgi-bin/admin/
downloadMedias.cgi?<File_Path>
The
<File_Path>
is in queryststus return message.
Ex.
http://
<
servername
>
/cgi-bin/admin/
downloadMedias.cgi
?/mnt/auto/CF/NCMF/20090310/07/02.
mp4
For creating an AVI file by giving a list of JPEG files, you can use
“/cgi
-bin/admin/
jpegtoavi.cgi
”
.
Syntax:
http://<
servername
>/cgi-bin/admin/jpegtoavi.cgi?
<resolution>=<width>x<height>&<fps>=<num>
&<list>=<fileList>
PARAMETER
VALUE
DESCRIPTION
resolution
<width>x<height>
Resolution
fps
<positive integer>
Frame rate
list
<fileList>
The JPEG file list.
The file path should be embraced by single quotation
marks
Ex.