beautypg.com

Vivotek SD9161-H-v2 2MP PTZ Network Dome Camera User Manual

Page 429

background image

VIVOTEK

User's Manual - 429

©

2022 VIVOTEK INC. All Right Reserved

278

Command:

search

PARAMETER

VALUE

DESCRIPTION

label

Optional.

The integer primary key column will automatically be
assigned a unique integer.

triggerType

Optional.
Indicate the event trigger type.
Please embrace your input value with single quotes.
Ex. triggerType=’vi’

mediaType

Optional.
Indicate the file media type.
Ex. mediaType=videoclip
* logical “OR” is not supported for this parameter.

destPath

Optional.
Indicate the file location in camera.
Please embrace your input value with single quotes.
Ex. destPath =’/mnt/auto/CF/NCMF/abc.mp4’

resolution

Optional.
Indicate the media file resolution.
Please embrace your input value with single quotes.
Ex. resolution=’800x600’

isLocked

Optional.
Indicate if the file is locked or not.
0: file is not locked.
1: file is locked.
A locked file would not be removed from UI or cyclic
storage.

triggerTime

Optional.
Indicate the event trigger time. (not the file created
time)
Format is “YYYY-MM-DD HH:MM:SS”
Please embrace your input value with single quotes.
Ex. triggerTime=’2008-01-01 00:00:00’
If you want to search for a time period, please apply
“TO” operation.
Ex. triggerTime=’2008-01-01 00:00:00’+TO+’2008-01-01
23:59:59’ is to search for records from the start of Jan 1

st

2008 to the end of Jan 1

st

2008.

©

2022 VIVOTEK INC. All Right Reserved

279

PARAMETER

VALUE

DESCRIPTION

limit

Optional.
Limit the maximum number of returned search records.

offset

Optional.
Specifies how many rows to skip at the beginning of the
matched records.
Note that the offset keyword is used after limit keyword.


To increase the flexibility of search command, you may use “OR” connectors for logical “OR” search
operations. Moreover, to search for a specific time period, you can use “TO” connector.
Ex. To search records triggered by motion or di or sequential and also triggered between
2008-01-01 00:00:00 and 2008-01-01 23:59:59.

http://<

servername

>/cgi-bin/admin/lsctrl.cgi?cmd=search&triggerType=’motion’+OR+’di’+OR+’seq’

&triggerTime=’2008-01-01 00:00:00’+TO+’2008-01-01 23:59:59’


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?

The

is in queryststus return message.


Ex.

http://

<

servername

>

/cgi-bin/admin/

downloadMedias.cgi

?/mnt/auto/CF/NCMF/20090310/07/02.

mp4


Syntax: