VHT HTTP - API Ver1.1
VHT HTTP - API Ver1.1
VHT HTTP - API Ver1.1
Manual
Table Of Contents
1. Overview ..............................................................................................3
1.1 Description......................................................................................................................... 3
1.2 History ............................................................................................................................... 3
2. Prerequisites ..........................................................................................4
2.1 Identification ...................................................................................................................... 4
3. Definitions .............................................................................................4
3.1 General notation ................................................................................................................ 4
3.1.1 General abbreviations ........................................................................................... 4
4. API Groups ............................................................................................4
4.1 General.............................................................................................................................. 4
4.1.1 Parameter management ........................................................................................ 4
4.1.1.1 List parameters request ............................................................................ 5
4.1.1.2 List parameters response.......................................................................... 5
4.1.1.3 Update parameters request....................................................................... 5
4.1.1.4 Add parameters request............................................................................ 6
4.1.1.5 Add parameters response ......................................................................... 7
4.1.1.6 Remove parameters request ..................................................................... 7
4.1.1.7 Remove parameter response .................................................................... 7
4.1.1.8 Motion Detection ....................................................................................... 8
4.1.1.9 Brand ..................................................................................................... 10
4.1.1.10 Image & Image Encryption .................................................................... 11
4.1.1.11 ImageSource ........................................................................................ 14
4.1.1.12 Network ................................................................................................ 16
4.1.1.13 Properties ............................................................................................. 17
4.1.1.14 Time ..................................................................................................... 17
4.1.1.15 PrivacyMask ......................................................................................... 17
4.1.2 Add, modify and delete users .............................................................................. 18
4.1.3 Factory default .................................................................................................... 19
4.1.4 Restart server...................................................................................................... 19
4.1.5 Server report ....................................................................................................... 19
4.1.6 System date and time .......................................................................................... 19
4.1.6.1 Get system date and time ....................................................................... 19
4.1.6.2 Set system date and time request ........................................................... 20
4.1.6.3 Set system date and time response ........................................................ 20
4.2 Image and Video .............................................................................................................. 21
4.2.1 Video status ........................................................................................................ 21
4.2.2 MJPG .................................................................................................................. 21
4.2.2.1 MJPG video CGI request ........................................................................ 21
4.2.2.2 MJPG video response............................................................................. 21
4.3 PTZ ................................................................................................................................. 22
4.3.1 PTZ Control commands ....................................................................................... 22
4.3.2 Other PTZ commands ......................................................................................... 23
4.3.3 PTZ Tour ............................................................................................................. 24
4.4 Authentication .................................................................................................................. 25
4.4.1 One Time Authentication ..................................................................................... 25
4.4.2 HTTP API Master Key ......................................................................................... 26
4.5. NVR / IP Camera info Sync ............................................................................................. 26
4.6. IP Camera Status Monitoring for Log............................................................................... 33
4.6.1. Category ............................................................................................................ 33
2
1. Overview
1.1 Description
: This document specifies the external HTTP-based application programming interface of the IP
cameras with firmware version 1.1.5.0 and above.
The HTTP-based video interface provides the functionality for requesting single and multi-part images
and for getting and setting internal parameter values. The image and CGI-requests are handled by
the built-in web server.
1.2 History
3
2. Prerequisites
2.1 Identification
: Supported APIs are product and firmware dependent.
Property: Properties.API.Version=1
Firmware: 2.0.0 and above
3. Definitions
: This section contains information on general usage of this document.
4. API Groups
: Most API requests described in this document are product or release dependent. To help
developers to get an idea of which API requests that are supported for different products, the requests
are grouped together.
4.1 General
: All video products with firmware version 2.0.0 and above support the requests specified in the
General section.
Syntax:
http://<servername>/cgi-bin/param.cgi?<argument>=<value>[&<argument>=<value>...]
Additional arguments depending on the selected action, see the following sections.
4
4.1.1.1 List parameters request
: List parameters and their values. See also section 5.1.1.3.
Syntax:
http://<servername>/cgi-bin/param.cgi?action=list[&<argument>=<value>...]
1. Success
: A list of parameter-value pairs is returned.
Return:
HTTP Code: 200 OK
Content-Type: text/plain
Body:
<parameter>=<value>
<parameter>=<value>
...
Example: Properties query response (only a small part of the response is shown here).
root.Network.IPAddress=192.168.10.100
root.Network.SubnetMask=255.255.255.0
root.Network.DefaultRouter=192.168.10.254
…
2. Error
: If the CGI request includes an invalid parameter, the server returns an error message.
Return:
HTTP Code: 200 OK
Content-Type: text/plain
Body:
None Message
Syntax:
http://<servername>/cgi-bin/param.cgi?action=update[&<argument>=<value>...]
5
<string>=<string> <group.name>=<value> Assigns <value> to the parameter <group.name>.
The <value> must be URL-encoded when it
contains non-alphanumeric characters.
Note: Only applicable for dynamic parameter groups such as events, motion detection windows
and stream profiles.
Syntax:
http://<servername>/cgi-bin/param.cgi?action=add[&<argument>=<value>...]
<string>=<string> <group.name>= Set a parameter in the newly created group. As the group
<value> number is not known before the group is created, the id-
number is simply left out, see the examples below. The
new group number is created dynamically and can be
any number. This is why all parameters are specified to
set without any group number. The base path to the
parameter is specified as <group>.<uppercase first letter
of group>.<parameter name>.
Note that in this example the id is E0. This can be any number, depending on if other events were
added before. Parameters that are not specified in the request will have their default values.
6
4.1.1.5 Add parameters response
: The add action produces one of the following server responses:
1. Success
Return:
HTTP Code: 200 OK
Content-Type: text/plain
Body:
None Message
Return:
HTTP Code: 200 OK
Content-Type: text/plain
Body:
None Message
Return:
HTTP Code: 200 OK
Content-Type: text/plain
Body:
None Message
Note: Only applicable for dynamic parameter groups such as the event parameters.
Syntax:
http://<servername>/cgi-bin/param.cgi?action=remove[&<argument>=<value>...]
http://<servername>/cgi-bin/param.cgi?action=remove&group=Event.E0,Actions.A0
1. Success
Return:
7
HTTP Code: 200 OK
Content-Type: text/plain
Body:
None Message
2. Failure
Return:
HTTP Code: 200 OK
Content-Type: text/plain
Body:
None Message
Syntax:
http://<servername>/cgi-bin/param.cgi?action=add&group=Motion< parameter >=<value>[&<
parameter >=<value>...]
0 1 2 3 4 5 6 7 8 9 10 11
Top: 0
Left:0
0
Right:1
Bottom:1
3
Top: 4
Left: 4
4 Right: 5
Bottom:15
6
Top: 7
Left: 7
7 Right: 8
Bottom:8
10
Top: 11
11 Left: 11
Right: 12
8
Bottom:12
Example :
http://<servername>/cgi-bin/
param.cgi?action=add&group=Motion
&Motion.M1.Top=0
&Motion.M1.Bottom=12
&Motion.M1.Left=0
&Motion.M1.Right=12
&Motion.M1.Sensitivity=500
ex) motion detection rectangle(bitmask)
http://[ipaddress]/cgi-
bin/param.cgi?action=add&Motion.M1.Bitmask=000111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111100000000
0 1 2 3 4 5 6 7 8 9 10 11
9
2
10
11
Example 1
http://<servername>/cgi-bin/param.cgi?action=list&group=Motion.M1
Example 2
http://<servername>/cgi-bin/param.cgi?action=list&group=Motion.M1.ValidTop
Example 1 :
http://<servername>/cgi-bin/param.cgi?action=list&Motion.M1.Event
4.1.1.9 Brand
: Contains information about the brand, name and type of the product.
1. Success
Return:
HTTP Code: 200 OK
Content-Type: text/plain
Body:
OK
2. Failure
: Settings or syntax are probably incorrect.
Return:
HTTP Code: 200 OK
Content-Type: text/plain
Body:
Example 1
Request Fail: Service not found
Recommended NumofStream 2
4.1.1.10.1 Image.Encryption
Example 1: Set
Enable: http://<servername>/cgi-bin/param.cgi?action=update&Image.Encryption.Enabled=1
Enable: http://<servername>/cgi-bin/param.cgi?action=update&Image.Encryption.Enabled=2
Disable: http://<servername>/cgi-bin/param.cgi?action=update&Image.Encryption.Enabled=0
11
Example 2: Get
http://<servername>/cgi-bin/param.cgi?action=list&Image.Encryption.Enabled
4.1.1.10.2 Image.I#
: Get and set of the image information.(# means image number)
1. Success
Return:
HTTP Code: 200 OK
Content-Type: text/plain
Body:
OK
2. Failure
: Settings or syntax are probably incorrect.
Return:
HTTP Code: 200 OK
Content-Type: text/plain
Body:
Example 1
Request Fail: Service not found
Recommended Codec I1 MJPEG
4.1.1.10.3 Image.I#.Appearance
: Image appearance information such as resolution, compression and so on.
ValidResolutions full hd, sxga, hd, 4cif, Get The available resolution list
2cif, vga, cif, qcif,
qvga, qqvga
12
FHD, HD, D1, VGA,
CIF, QVGA
1. Success
Return:
HTTP Code: 200 OK
Content-Type: text/plain
Body:
OK
2. Failure
: Settings or syntax are probably incorrect.
Return:
HTTP Code: 200 OK
Content-Type: text/plain
Body:
Example 1
Request Fail: Service not found
Recommended Resolution I1 VGA
Example 2 : This case is that already set to request value and no more values are supported.
Request Fail: Service not found
Recommended Resolution I1 none
4.1.1.10.4 Image.I#.RateControl
1. Success
Return:
HTTP Code: 200 OK
Content-Type: text/plain
Body:
OK
2. Failure
: Settings or syntax are probably incorrect.
Return:
HTTP Code: 200 OK
Content-Type: text/plain
Body:
Example 1
Request Fail: Service not found
Recommended FrameRate I1 Max 20
4.1.1.11 ImageSource
: The number of image sources
Sensor parameter:
Parameter Valid values Operation Description
SupportedList Hex Get The supported list of sensor.
14
Reset . Set Reset whole functions.
Default Int Get/Set Reset color functions.
Default2 . Set Reset special functions.
Brightness 0~255 Get/Set The image sharpness.
Contrast 0~255 Get/Set The image brightness.
Sharpness 0~255 Get/Set The image saturation.
Reversal 0~3 Get/Set The image reversal.
0 : Off, 1 : Mirror, 2 : Vertical, 3 : Flip
BLC 0~1 Get/Set The Backlight Compensation.
0 : Off, 1 : On
DSS 0~4 Get/Set The Digital Slow Shutter.
0 : Off, 1 : x2, 2 : x4, 3 : x6, 4 : x8
DNMode 0~2 Get/Set The Day Night Mode.
0 : Auto, 1 : Color, 2 : B/W
Flickerless 0~1 Get/Set The Flickerless Mode.
0 : PAL, 1 : NTSC
Dtonlevel 0~9 Get/Set The Day to Night level.
0~9 : (1 Lux ~ 10 Lux)
Ntodlevel 1~10 Get/Set The Night to Day level.
1~10 : (2 Lux ~ 11 Lux)
WhiteBalance 0~1 Get/Set The image WhiteBalance.
0 : ATW, 1 : AWB
15
21 DEFOG
22 BLC
23 WDR (ATR)
24 D/N Mode
25 DSS
26 Smart IR
27 Flickerless
28 DtoNlevel
29 NtoDlevel
30 WB
31 -
32 -
Return:
HTTP Code: 200 OK
Content-Type: text/plain
Body:
root.ImageSource0.I0.Sensor.SupportedList=c0000000
OK
4.1.1.12 Network
4.1.1.12.1 Network.eth0
: Network settings of the first Ethernet interface. Use these parameters to retrieve the network
settings actually in use by the operating system.
16
SubnetMask IPv4 Get/Set Subnet Mask
4.1.1.12.2 Network.Routing
: Routing table actually in use by the operating system
4.1.1.12.3 Network.CMS
: The port of network service
4.1.1.13 Properties
: Contains information about the firmware and system of the products.
4.1.1.14 Time
: Common time information which tell the time zone
4.1.1.15 PrivacyMask
17
4.1.1.15.1 PrivacyMask.M#
: It is available to add up to 4 privacy mask area per each channel. (# means mask number) with the
following parameters and values
Parameter Valid values Operation Description
Top 0~1080 Set y-coordinate (privacy mask coordinate) of the upper-left
corner of the privacy mask rectangle.
Bottom 0~1080 Set y-coordinate (privacy mask coordinate) of the lower-right
corner of the privacy mask rectangle.
Left 0~1920 Set x-coordinate (privacy mask coordinate) of the upper-left
corner of the privacy mask rectangle.
Right 0~1920 Set x-coordinate (privacy mask coordinate) of the lower-right
corner of the privacy mask rectangle.
Example :
http://<servername>/cgi-bin/
param.cgi?action=update
&PrivacyMask.M1.Top=0
&PrivacyMask.M1.Bottom=1080
&PrivacyMask.M1.Left=0
&PrivacyMask.M1.Right=1920
Example :
http://<servername>/cgi-bin/param.cgi?action=remove&PrivacyMask.M1
Syntax:
http://<servername>/cgi-bin/pwdgrp.cgi?<argument>=<value>[&<argument>=<value>...]
18
http://<servername>/cgi-bin/pwdgrp.cgi?action=add&user=vision&pwd=1234&access=1
Syntax:
http://<servername>/cgi-bin/factorydefault.cgi
Syntax:
http://<servername>/cgi-bin/restart.cgi
Syntax:
http://<servername>/cgi-bin/serverreport.cgi
Return:
HTTP Code: 200 OK
Content-Type: text/plain
Body:
<server report>
Syntax:
http://<servername>/cgi-bin/date.cgi?<argument>=<value>
Syntax:
http://<servername>/cgi-bin/date.cgi?action=get
19
Return:
HTTP Code: 200 OK
Content-Type: text/plain
Body:
Example:
HTTP Code: 200 OK
Content-Type: text/plain
Body:
Note: The settings made here require that the camera or video encoder is not configured to
synchronize with an NTP server or with the computer time.
Syntax:
http://<servername>/cgi-bin/date.cgi?action=set[&<argument>=<value>...]
1. Success
Return:
HTTP Code: 200 OK
Content-Type: text/plain
Body:
OK
2. Failure
: Settings or syntax are probably incorrect.
Return:
HTTP Code: 200 OK
20
Content-Type: text/plain
Body:
Syntax:
http://<servername>/cgi-bin/videostatus.cgi?<argument>=<value>
Return:
HTTP Code: 200 OK
Content-Type: text/plain
Body:
Video1video
…
4.2.2 MJPG
: The requests specified in the MJPG section are supported by those video products that use
MJPG encoding.
Syntax:
http://<servername>/cgi-bin/video.cgi[?<argument>=<value>[&<argument>=<value>...]]
1. Successful request
: If the request was successful, the server returns a continuous flow of JPEG files. The content type
is "multipart/x-mixed-replace" and each image ends with a boundary string <boundary>. The
returned image and HTTP data is equal to the request for a single JPEG image.
21
Return:
HTTP Code: 200 OK
Content-Type: multipart/x-mixed-replace; boundary=<boundary>
Body:
--<boundary>
<image>
Content-Type: image/jpeg
Content-Length: <image size>
Return:
HTTP Code: 400 Bad Request
Body:
None Meassage
--myboundary
Content-Type: image/jpeg
Content-Length: 15656
23
getptzbaudrate 115200, 57600, 38400, 19200, Return the PTZ Baudrate
9600, 4800, 2400, 1800, 1200,
600
setptzbaudrate 115200, 57600, 38400, 19200, Saves the PTZ Baudrate
9600, 4800, 2400, 1800, 1200,
600
getptzprotocollist pelco-p, pelco-d, samsung, The supported PTZ Protocol list
panasonic, lg, honeywell,
philips, cannon
setserverpresetno 1,2,… (int>0) Saves the current position as a preset
position
gotoserverpresetno 1,2,… (int>0) Move to the position as specified in the
preset number
delserverpresetno 1,2,… (int>0) Delete the current position as a preset
position
getmaxpanspeed Returns the max pan speed
getmaxtiltspeed Returns the max tilt speed
getmaxzoomspeed Returns the max zoom speed
getmaxfocusspeed Returns the max focus speed
getpanminrange Returns the min pan range
getpanmaxrange Returns the max pan range
gettiltminrange Returns the min tilt range
gettiltmaxrange Returns the max tilt range
24
Example 1: Add Tour
http://<servername>/cgi-bin/ptz.cgi?addtour
4-2:
http://<servername>/cgi-
bin/ptz.cgi?addtourpreset&tournum=1&tourpresetnum=3&index=2&dwelltime=5&tourspeed=60
5-2:
http://<servername>/cgi-bin/ptz.cgi?deltourpreset&tournum=1&index=3
4.4 Authentication
4.4.1 One Time Authentication
Argument Valid values Description
auth_64=<string> ID:PW" : base64 Ex) ID: admin, PW:1234 è YWRtaW46MTIzNA==
encoded
Example:
http://<servername>/cgi-bin/param.cgi?action=list&Brand&auth_64=YWRtaW46MTIzNA==
25
4.4.2 HTTP API Master Key
Argument Valid values Description
auth_64=<string> ID:PW" ID: "Master" base64 encoding value, PW: "mac:vht" base64 encoding
base64 value
encoding
Ex) In case of macaddress 00:11:22:33:33:33
"TWFzdGVy(Master):MDA6MTE6MjI6MzM6MzM6MzM6dmh0(mac:v
ht)" è
VFdGemRHVnk6TURBNk1URTZNakk2TXpNNk16TTZNek02ZG1oMA
==
Syntax:
http://<servername>/cgi-bin/setup.cgi?mode=get&<argument>=<value>
1. Success
Return:
HTTP Code: 200 OK
Content-Type: text/plain
Body:
[Camera][Brightness][150][0][255][150]
[Camera][Sharpness][150][0][255][150]
[Camera][DN_Mode][0][0][2][0]
[Camera][DtoNLevel][4][0][9][4]
[Camera][NtoDLevel][6][1][10][6]
[Camera][BackLight][0][0][1][0]
[Camera][WhiteBalance][0][0][1][0]
[Camera][Defog][-1][-1][-1][-1]
[Camera][2DNR][-1][-1][-1][-1]
[Camera][3DNR][-1][-1][-1][-1]
[Camera][Reversal][2][0][3][0]
[Camera][DSS][4][0][4][0]
[Camera][SmartIR][-1][-1][-1][-1]
[Camera][Flickerless][1][0][1][1]
[Camera][Contrast][150][0][255][150]
[Camera][FocusMode][-1][-1][-1][-1]
[Camera][HUE][-1][-1][-1][-1]
[Camera][WDR][-1][-1][-1][-1]
26
[TextDisplay][DateFormat][-1][-1][-1][-1]
[TextDisplay][TimeFormat][-1][-1][-1][-1]
[TextDisplay][DateEnable][-1][-1][-1][-1]
[TextDisplay][TimeEnable][-1][-1][-1][-1]
[TextDisplay][TextEnable][-1][-1][-1][-1]
[TextDisplay][TextString][-1]
[TextDisplay][DatePosition][-1][-1][-1][-1]
[TextDisplay][TimePosition][-1][-1][-1][-1]
[TextDisplay][TextPosition][-1][-1][-1][-1]
[Codec][StreamType][2][2][2][2]
[Codec][1stCodectype][0][0][0][0]
[Codec][2ndCodectype][0][0][1][0]
[Codec][1stResolution][1][1][6][1]
[Codec][2ndResolution][5][4][6][5]
[Codec][1stBitrate][4000000][100000][8000000][4000000]
[Codec][2ndBitrate][1000000][100000][2000000][1000000]
[Codec][RateControl][0][0][1][0]
[Codec][1stfps][15][1][30][15]
[Codec][2ndfps][15][1][30][15]
[Codec][1stGOP][15][1][64][15]
[Codec][2ndGOP][10][1][64][10]
[Codec][MjpegQuality][2][1][3][2]
[Audio][LineIn][-1][-1][-1][-1]
[Audio][LineOut][-1][-1][-1][-1]
[Audio][InputGain][-1][-1][-1][-1]
[Audio][OutputGain][-1][-1][-1][-1]
[Motion][Sensitivity][500][900][100][500]
[Motion][Top_Position][0][0][12][0]
[Motion][Left_Position][0][0][12][0]
[Motion][Bottom_Position][0][0][12][12]
[Motion][Right_Position][0][0][12][12]
[Motion][Full_Bitmask][00000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000][0][11111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111][1111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
11111]
[Recording][OnOff][-1][-1][-1][-1]
[Network][IP_Type][0][0][1][0]
[Network][Address][10.0.0.3][][][192.168.1.100]
[Network][Subnet][255.0.0.0][][][255.255.255.0]
[Network][Gateway][10.0.0.254][][][192.168.1.254]
[Network][IPv6_Type][-1][-1][-1][-1]
[Network][IPv6_Address][-1]
[Network][IPv6_Prefix][-1][-1][-1][-1]
[Network][IPv6_Gateway][-1]
[DNS][DNS1][168.126.63.1][][][168.126.63.1]
[DNS][DNS2][168.126.63.2][][][168.126.63.2]
[NTP][Use][-1][-1][-1][-1]
[NTP][HostName][-1][-1][-1][-1]
[NTP][UpdatePeriod][-1][-1][-1][-1]
[HTTP][Port][80]
[RTSP][Port][554]
[RTSP][StreamingType][0][0][1][0]
[RTSP][CheckKeepAlive][0][0][1][0]
[CMS][StreamPort][2700]
[CMS][EventPort][2300]
[CMS][AudioPort][-1]
[CMS][UpgradePort][9300]
[DateTime][TimeZone][-1][-1][-1][-1]
[DateTime][UseDST][-1][-1][-1][-1]
[DateTime][DateTime][19991130174614]
[SysInfol][FirmwareVersion][2.0.0 20141023]
[SysInfol][ModelType][VD10i]
[SysInfol][SensorType][-1]
27
[SysInfol][HttpApiAuth][-1][-1][-1][-1]
[SysInfol][WSSE][-1][-1][-1][-1]
[SysInfol][StreamEncryption][1][0][1][0]
[SysInfol][CameraName][VD10i]
[RS485][Type][-1][-1][-1][-1]
[RS485][ID][-1][-1][-1][-1]
[RS485][Baudrate][-1][-1][-1][-1]
[RS485][Protocol][-1][-1][-1][-1]
[PrivacyMask][Mask0][0][1080][0][1920][-1][-1]
[PrivacyMask][Mask1][1][0][270][0][480][0]
[PrivacyMask][Mask2][1][0][270][1440][1920][0]
[PrivacyMask][Mask3][0][0][0][0][0][0]
[PrivacyMask][Mask4][0][0][0][0][0][0]
[PTZ][Enable][0][-1][-1][-1][-1][-1]
OK
Return:
HTTP Code: 200 OK
Content-Type: text/plain
Body:
[Codec][StreamType][2][2][2][2]
[Codec][1stCodectype][0][0][0][0]
[Codec][2ndCodectype][0][0][1][0]
[Codec][1stResolution][1][1][6][1]
[Codec][2ndResolution][5][4][6][5]
[Codec][1stBitrate][4000000][100000][8000000][4000000]
[Codec][2ndBitrate][1000000][100000][2000000][1000000]
[Codec][RateControl][0][0][1][0]
[Codec][1stfps][15][1][30][15]
[Codec][2ndfps][15][1][30][15]
[Codec][1stGOP][15][1][64][15]
[Codec][2ndGOP][10][1][64][10]
[Codec][MjpegQuality][2][1][3][2]
OK
4.5.2 Lists
Ma
Category Property Val Min Default Web value
x
Brightness 0 ~ 255 0 255 150 0 ~ 255
28
0 Off
BackLight 0 1 0
1 On
0 ATW
WhiteBalance 0 1 0
1 AWB
0 Off
1 Mirror
Reversal 0 3 0
2 Vertical
3 Flip
0 Off
1 X2
DSS 2 0 4 4 X4
3 X6
4 X8
0 PAL
Flickerless 0 1 1
1 NTSC
Contrast 0 ~ 255 0 255 150 0 ~ 255
0 YYYY/MM/DD
DateFormat 1 0 2 0 MM/DD/YYYY
2 DD/MM/YYYY
0 12 Hours
TimeFormat 0 1 0
1 24 Hours
0 Off
DateEnable 0 1 0
1 On
0 Off
TimeEnable 0 1 0
Text 1 On
Display 0 Off
TextEnable 0 1 0
1 On
0
TextString 0 1 0
1
0 Bottom Left
DatePosition 0 1 0
1 Bottom Right
0 Bottom Left
TimePosition 0 1 0
1 Bottom Right
0 Top Left
TextPosition 0 1 0
1 Top Right
0 Dual
Stream Type 1
2 3 2
Triple
0 H.264
1stCodectype 1
0 0 0
MJPEG
0 H.264
2ndCodectype 1
0 1 0
MJPEG
0 2048 x 1536
1 1920 x 1080
2 1280 x 1024
1stResolution 3 0 6 1 1280 x 720
4 720 x 480
5 640 x 480
6 320 x 240
Codec
0 2048 x 1536
1 1920 x 1080
2 1280 x 1024
2ndResolution 3 4 6 5 1280 x 720
4 720 x 480
5 640 x 480
6 320 x 240
800
100000 ~ 1000 400000
1stBitrate 8000000 00
000
0
100000 ~ 8000000
0
200
100000 ~ 1000 100000
2ndBitrate 2000000 00
000
0
100000 ~ 2000000
0
29
0 CVBR
RateControl 0 1 0
1 CBR
1stfps 1~30 1 30 30 1~30
nd
2 fps 1~30 1 30 15 1~30
st
1 GOP 1~64 1 64 30 1~64
2ndGOP 1~64 1 64 10 1~64
MjpegQuality 1~3 1 3 2 1~3
900 Lowest
700 Low
Sensitivity 500 900 100 500 Middle
200 High
100 Highest
Top_Position 0~12 0 12 0 0~12
Left_Position 0~12 0 12 0 0~12
Bottom_Position 0~12 0 12 12 0~12
Right_Position 0~12 0 12 12 0~12
111
111
111
111
111
111
111
111
111
111
111
111
111111
111
111111
111
111111
111
111111
111
111111
111
111111
111
111111
Motion 111
111111
111
111111
111
111111
111
111111
111
111111
Full_Bitmask bitmask 0 111
111111
API Only
111
111111
111
111111
111
111111
111
111111
111
111111
111
111111
111
111111
111
111111
111
111111
111
111111
111
111111
111
111
111
111
111
111
111
111
111
111
111
111
30
111
0 Off
Recording OnOff 0 1 0
1 On
0 Static
IP_Type 1
0 1 0
DHCP
192.16
Address 8.1.100
255.25
Subnet 5.255.0
Network 192.16
Gateway 8.1.254
0 Manual
IPv6_Type 1
0 1 1
Link-Local
IPv6_Address
IPv6_Prefix 0 128 0 0~128
IPv6_Gateway
168.12
DNS1 6.63.1
DNS
168.12
DNS2 6.63.2
0 Disable
Use 1
0 1 0
Enable
NTP pool.nt
HostName p.org
UpdatePeriod 1 24 1 1~24
HTTP Port 80
Port 554
0 Unicast
RTSP StreamingType 0 1 0
1 Multicast
0 Disable
CheckKeepAlive 1
0 1 0
Enable
StreamPort 2700
EventPort 2300
CMS
AudioPort 2400
UpgradePort 9300
0 GMT-11 Pacific/Apia,
1 GMT-10 Pacific/Honolulu,
2 GMT-9 America/Anchorage,
3 GMT-8 America/Los_Angeles,
4 GMT-8 America/Tijuana
5 GMT-7 America/Phoenix,
6 GMT-7 America/Denver,
7 GMT-7 America/Mazatlan
8 GMT-6 America/Chicago,
9 GMT-6 America/Regina,
10 GMT-6 America/Mexico_City
11 GMT-5 America/Bogota
12 GMT-5 America/New_York,
DateTime TimeZone 13 0 59 52 GMT-4:30 America/Caracas
14 GMT-4 America/Halifax,
15 GMT-4 America/La_Paz
16 GMT-3:30 America/St_Johns,
17 GMT-3 America/Sao_Paulo,
18 GMT-3 America/Buenos_Aires
19 GMT-3 America/Montevideo
20 GMT-2 Atlantic/South_Georgia
21 GMT-1 Atlantic/Azores
22 GMT-1 Atlantic/Cape_Verde
23 GMT Africa/Casablanca
24 GMT UTC
25 GMT Europe/London
26 GMT+1 Europe/Berlin
31
27 GMT+1 Africa/Kinshasa
28 GMT+2 Europe/Istanbul
29 GMT+2 Africa/Cairo
30 GMT+2 Asia/Jerusalem
31 GMT+2 Africa/Johannesburg
32 GMT+3 Europe/Moscow
33 GMT+3 Africa/Nairobi
34 GMT+3 Asia/Baghdad
35 GMT+3:30 Asia/Tehran
36 GMT+4 Asia/Muscat
37 GMT+4 Asia/Baku
38 GMT+4:30 Asia/Kabul
39 GMT+5 Asia/Karachi
40 GMT+5:30 Asia/Kolkata
41 GMT+5:45 Asia/Katmandu
42 GMT+6 Asia/Almaty
43 GMT+6 Asia/Dhaka
44 GMT+6:30 Asia/Rangoon
45 GMT+7 Asia/Bangkok
46 GMT+8 Asia/Hong_Kong
47 GMT+8 Asia/Singapore
48 GMT+8 Australia/Perth
49 GMT+8 Asia/Taipei
50 GMT+9 Asia/Tokyo
51 GMT+9 Asia/Seoul
52 GMT+9:30 Australia/Adelaide
53 GMT+9:30 Australia/Darwin
54 GMT+10 Australia/Sydney
55 GMT+10 Australia/Brisbane
56 GMT+11 Pacific/Noumea
57 GMT+12 Pacific/Auckland
58 GMT+12 Pacific/Kwajalein
59
0 Off
UseDST 1
0 1 0
On
DateTime yyyymmddhhmmss
FirmwareVersion
ModelType
SensorType
0 Disable
HttpApiAuth 0 1 0
SysInfo 1 Enable
0 Disable
WSSE 1
0 1 0
Enable
0 Disable
StreamEncryption 1
0 1 0
Enable
CameraName
※ PrivacyMask
1. Value range
- [PrivacyMask][Mask0][VS][VE][HS][HE][-1][-1]
- VS (Vertical Start) : 0 ~ 1080
- VE (Vertical End) : 0 ~ 1080
- HS (Horizontal Start) : 0 ~ 1920
- HE (Horizontal End) : 0 ~ 1920
2. Setting value
- [PrivacyMask][Index][OnOff][VS][VE][HS][HE][-1]
- Index : Mask1 ~ Mask4
- OnOff : 0(Off), 1(On)
32
※ Valid PTZ
- [PTZ][Enable][Value][-1][-1][-1][-1][-1]
- Value : 0(PTZ unsupported), 1(PTZ support)
1 System
2 Auth
3 Network
4 Stream
5 Camera
6 Codec
Example 1: Syntax
http://<servername>/cgi-
bin/param.cgi?action=list&group=Log&Log.start=[yyyymmddhhmmss]&Log.end=[yyyymmddhhmmss]
http://<servername>/cgi-
bin/param.cgi?action=list&group=Log&Log.start=[yyyymmddhhmmss]&Log.end=[yyyymmddhhmmss]&Log.categ
ory=[Category]
http://<servername>/cgi-
bin/param.cgi?action=list&group=Log&Log.start=[yyyymmddhhmmss]&Log.end=[yyyymmddhhmmss]&Log.count
=[MaxCount]
http://<servername>/cgi-
bin/param.cgi?action=list&group=Log&Log.start=[yyyymmddhhmmss]&Log.end=[yyyymmddhhmmss]&Log.categ
ory=[Category]&Log.count=[MaxCount]
http://ipaddress/cgi-
bin/param.cgi?action=list&group=Log&Log.start=20140529162000&Log.end=20140529170000
Response:
33
[2014-05-29 16:22:56] Stream: Stream Start Video, ipaddress => 111.111.111.111
[2014-05-29 16:23:19] Stream: Stream Stop All, ipaddress => 111.111.111.111
[2014-05-29 16:23:20] Network: ipaddress => 111.111.111.111 disconnected
[2014-05-29 16:23:20] Network: ipaddress => 111.111.111.111 disconnected
[2014-05-29 16:23:33] Network: ipaddress => 111.111.111.111 connected
[2014-05-29 16:23:34] Stream: Stream Start Video, ipaddress => 111.111.111.111
[2014-05-29 16:23:45] Network: ipaddress => 111.111.111.111 connected
[2014-05-29 16:23:45] Network: ipaddress => 111.111.111.111 disconnected
[2014-05-29 16:23:45] Stream: Stream Start Video, ipaddress => 111.111.111.111
[2014-05-29 16:23:48] Network: ipaddress => 111.111.111.111 connected
[2014-05-29 16:23:48] Stream: Stream Start Video, ipaddress => 111.111.111.111
[2014-05-29 16:29:19] Network: ipaddress => 111.111.111.111 connected
OK
34