- 58 -
www.vivotek.com
Syntax (For snapshot):
http://<servername>/cgi-bin/admin/gen-new-eventd-conf.cgi
?
[
<prefix_app_index>_
snapshot_enable=<value>]
[&
<prefix_app_index>_
weekday=<value>]
[&
<prefix_app_index>_
time_method=<value>]
[&
<prefix_app_index>_
begin_time=<value>]
[&
<prefix_app_index>_
end_time=<value>]
[&
<prefix_app_index>_
prefix=<value>]
[&
<prefix_app_index>_
trigger_type=<value>]
[&
<prefix_app_index>_
md_win=<value>]
[&
<prefix_app_index>_
md_prenum=<value>]
[&
<prefix_app_index>_
md_postnum=<value>]
[&
<prefix_app_index>_
md_delay=<value>]
[&
<prefix_app_index>_
sq_interval=<value>]
[&
<prefix_app_index>_
send_method=<value]
[&
<prefix_app_index>_
ftp_suffix=<value>]
Syntax (For videoclip):
http://<servername>/cgi-bin/admin/gen-new-eventd-conf.cgi
?
[
<prefix_app_index>_
videoclip_enable=<value>]
[&
<prefix_app_index>_
weekday=<value>]
[&
<prefix_app_index>_
time_method=<value>]
[&
<prefix_app_index>_
begin_time=<value>]
[&
<prefix_app_index>_
end_time=<value>]
[&
<prefix_app_index>_
prefix=<value>]
[&
<prefix_app_index>_
trigger_type=<value>]
[&
<prefix_app_index>_
maxsize=<value>]
[&
<prefix_app_index>_
md_win=<value>]
[&
<prefix_app_index>_
md_delay=<value>]
[&
<prefix_app_index>_
sq_interval=<value>]
[&
<prefix_app_index>_
send_method=<value>]
[&
<prefix_app_index>_
ftp_suffix=<value>]
- 59 -
www.vivotek.com
Return:
HTTP/1.0 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length: <length>\r\n
\r\n
<depends on method value>
If(method == get || method == set)
{
tue=<value>\r\n
wed=<value>\r\n
…
}
Else if(method == normal)
{
Application page contents
}
parameter
Value
description
prefix_app_index
sn1, sn2, vc
Index of application
0
Enable snapshot application
snapshot_enable
1
Disable snapshot application
0
Disable videoclip application
videoclip_enable
1
Enable videoclip application
weekday
0,1,2,3,4,5,6
The array indicate weekly schedule
always
24 hours full day
time_method
interval
Select begin time and end time
begin_time
hh:mm
Begin time of weekly schedule
end_time
hh:mm
End time of weekly schedule
prefix
<text string
shorter than 60
characters>
Snapshot/Videoclip file name prefix for both
event and sequential operation
- User's Manual
VIVOTEK - A Leading Provider of Multimedia Communication Solutions
- 60 -
www.vivotek.com
motion
Set trigger by motion detect
trigger_type
sequential
Snapshot/Videoclip sequentially
maxsize
0~500
Video clip max file size
md_win
0,1,2
The array indicate which motion windows are
used
md_prenum
1~5
The numbers of snapshot before event
md_postnum
1~5
The numbers of snapshot after event
md_delay
1~999
The delay seconds for detecting next motion
event
sq_interval
1~999
The interval seconds of sequential snapshot
Send snapshot by mail
send_method
ftp
Send snapshot by ftp
ftp_suffix
0/1
Enable/Disable file name prefix
Capture single snapshot
Note: This request require normal user privilege
Method: GET/POST
Syntax:
http://<
servername
>/cgi-bin/video.jpg
Server will return the most up-to-date snapshot in JPEG format. The size and quality of
image will be set according to the video settings on the server.
Return:
HTTP/1.0 200 OK\r\n
Content-Type: image/jpeg\r\n
[Content-Length: <image size>\r\n]
<binary JPEG image data>