1.01a 2012/02/23 Corrections of typographical error
Page 17, Getting / Setting Shutter Speed of a Scene File:“auto” is added.
Page 22, Setting Frame Rate: 15, 10, and 7.5 is added.
1.01b 2012/03/06 Page 6, section 2.3. Response is added.
Page 81, Default User Name is changed from PSIATest to psia.
2.00 2012/04/16 Page 6, section 2.2, Setting Frame Rate: 30, 15, 10, and 7.5 is added.
Page 12, section 4, “JVC Protocol :MPEG-4 Streaming” is added.
Page 19, section 8, “Getting Preset Data of Scene File” is added.
Date Updates
Page 5, section 2.1: change boundary to server_push
Page 6, section 2.2: change boundary to server_push
Page 14, Getting Enhance of Scene File: change 11 internal levels to 14
internal levels.
Page 15, Setting Enhance of Scene File: change 11 internal levels to 14
internal levels.
Page 7, section 2.4. Restrictions is added.
Page 7, section 2.5. JPEG File Format Sent Out by the camera is added.
Page 10, section 3.3. Response is added.
Page 10, section 3.4. Restrictions is added.
Page 10, section 3.5. H.264 Stream Format Send Out by the camera is added.
Default Password is changed from PSIATest to jvc.
Page 21, section 8, “Enhance”: Explanation of parameter is added.
Page 22, section 8, Getting and Setting 3DDNR is added.
Page 25, section 8, Getting and Setting ALC priority is added.
Page 26, section 8, Corrections of typographical error: Easy is removed.
Page 26, section 8, Getting and Setting Easy Day and Night is added.
Page 27, section 8, Getting and Setting CLVI is added.
Page 28, section 9, Setting Compression Format : mpeg4 is added.
Page 29, section 9, Setting Resolution : 320x180 is removed.
Page 29, section 9, Getting and Setting Rate Control Setting : MPEG-4 is
added.
Page 29, section 9, Setting Rate Control: Explanation of parameter is added.
Page 29, section 9, Getting and Setting bitrate : MPEG-4 is added.
Page 30, section 9, Getting and Setting I-Frame Interval : MPEG-4 is added.
Page 31, section 9, Getting and Setting Monitor Out is added.
Page 59, section 16, JVC API for Tampering Detect is added.
Page 69, section 18, Getting and Setting Status of PSIA Protocol is added.
Page 69, section 18, Getting and Setting Status of ONVIF Protocol is addded.
Page 84, section 26, Getting and Setting Port Number of RTSP Server is
The camera has access restriction feature that enables to deny access from a specific IP address. If JPEG is
requested from the IP address of access restriction, the camera disconnects the TCP connection after API is sent.
Restriction by maximum bitrate of the camera.
The maximum bitrate of the camera is about 20 Mbps.
Number of clients
The maximum number of clients that can get JPEG stream depends on encode settings and requests from client.
9
Refer the instruction manual for detailed infomation.
information stored in the
timestamp =
Indicates the time when the JPEG is created. This is
made up of the year/month/day, hour/minute/second,
s detected at the time when
Specified as 1 if tampering is detected at the time when
g to
name
=
space
space
value
(stuffed wi
th 0x00)
2.5. JPEG File Format Sent Out by the camera
JPEG file from the camera is JFIF compliant and consist of the following.
FFD8
FFE0
FFFE
FFFE
FFC4
FFDB
FFDD
FFC0
FFDA
FFD9
The following information is stored in the comment segment 1. Each item has a fixed length.
Item Size Example Note
Version Information
File Size
Width
Height
Model Name
(reserved) 12 reverse = 0 (reserved)
Time Stamp
(reserved) 13 alarm = 00000000 (reserved)
Camera ID
Motion Detect Setting
Motion Detect Result
Tampering Detect
Result
Pan position 16 digipan = 123 Indicates pan position in pixels from 0 to 1278.
Tilt position 17 digitilt = 123 Indicates tilt position in pixels from 0 to 958.
Zoom position 17 digizoom = 1.23 Indicates zoom value from 0.25 to 8.00.
Preset Posision
Number
Start Code
Application Segment
Comment Segment 1
Comment Segment 2 (reserved)
DHT Huffman Table
DQT Quantization Table
DRI Restart Interval
SOF Frame Information
Data Start Segment
End Code
The camera has access restriction feature that enables to deny access from a specific IP address. If H.264 is
requested from the IP address of access restrictions, the camera disconnects the TCP connection after API is
send.
3.5. H.264 Stream Format Send Out by the camera
12
H.264 stream form the camera is sequence of I Picture and P Picture. Ratio of I Picture and P Picture depends on
timestamp =
This is made up of the year/month/day,
Specified as 1 if motion is detected at the time when
Specified as 1 if tampering is detected at the time when
I-Frame interval setting. Encode page of Web has the setting.
Example of H.264 Stream
HTTP response
Sequence Parameter Set
Picture Parameter Set
User data
I Picture
User data
P Picture
~
User data
I Picture
There are Sequence Parameter Set, Picture Parameter Set, and User data before each I Picture and there is User
data before each P Picture.
The following information is stored in the User data. Each item has a fixed length.
Item Size Example Note
Start code 4 0x00000001 Start code of User data in H.264 stream.
NAL unit type 1 0x66 NAL unit type of User data in H.264 stream.
Payload type 1 0x05 Payload type of User data in H.264 stream.
User data size 1 0xf0 Size of User data in H.264 stream.
Reserved 16 0x030303030303030
30303030303030303
Model Name
Time Stamp
18 type = VN-H137
70
2012030623341253
-
Product Name
hour/minute/second, millisecond and timezone code.
8UTC
Camera ID
Motion Detect Result
Tampering Detect
Result
50 camera = input01
7 md = 1
14 tampering = 0
Camera ID that user can define
data is created.
data is created.
13
Pan position 16 digipan = 123 Indicates pan position in pixels from 0 to 1278.
cates preset position number after moving to
HTTP Response
GET API space
space
HTTP/1.1
0x0D 0x0A 0x0D 0x0A
0x0D 0x0A
Host:
space
IP Address of Camera
Tilt position 17 digitilt = 123 Indicates tilt position in pixels from 0 to 958.
Zoom position 17 digizoom = 1.23 Indicates zoom value from 1.00 to 8.00.
Preset Posision
Number
15 position = 19 Indi
preset position
. In other cases, position = NA.
4. JVC Protocol: MPEG-4 Streaming
4.1. Basic Procedures
1) The client establishes a TCP connection to port number 80.
2) The client sends out API.
Example
GET /api/video?encode=mpeg4 HTTP/1.1<CRLF>
Host: 192.168.0.2<CRLF><CRLF>
Note <CRLF> denotes the line feed code (
3) The camera returns HTTP response and MPEG-4 stream.
HTTP Response and MPEG-4 stream sent out by the camera are as follows.
0x0D, 0x0A
).
VOP of MPEG_4 (First Frame)
VOP of MPEG-4 (Second Frame)
,,,
4) When the client wants to stop current MPEG-4 transmission, the client disconnects TCP80.
The camera does not accept further API via current TCP that is used for H.264 transmission. To change
parameter, disconnect current TCP to stop the MPEG-4 transmission, connect new TCP, and send API with new
parameter.
4.2. API Format
Structure
14
Unlike APIs for getting/setting parameters, Accept line is not required. Basic authentication is also not necessary.
Example
GET /api/video?encode=mpeg4 HTTP/1.1<CRLF>
Host: 192.168.0.2<CRLF><CRLF>
Parameter value is indicated using =. Do not insert space before and after =.
Example
encode=h264
Parameter Description
encode For specifying compression format.
4.3. Response
When API is successfully received.
The camera will return 200 OK. The x-vnh37_response line indicates actual parameter.
The camera has access restriction feature that enables to deny access from a specific IP address. If MPEG-4 is
requested from the IP address of access restrictions, the camera disconnects the TCP connection after API is
send.
4.5. MPEG-4 Stream Format Send Out by the camera
MPEG-4 stream form the camera is MPEG-4 Part2 (ISO/IEC 14496-2) compliant, level3 of simple profile. Its is a
sequence of I-VOPs, or I-VOPs and P-VOPs.
I-VOP: Inter frame compressed data
P-VOP: Inter frame compressed data with previous frame
15
Ratio of I-VOP and P-VOP depends on I-Frame interval setting. Encode page of Web has the setting.
timestamp =
This is made up of the year/month/day,
tion is detected at the time when
Specified as 1 if tampering is detected at the time when
moving to
First VOP can be I-VOP or P-VOP. If client want to decode from I-VOP, please skip P-VOP and wait first I-VOP.
Example of MPEG-4 Stream
HTTP response
P-VOP
P-VOP
P-VOP
VOL
I-VOP
P-VOP
~
There are VOL, Userdata1, GOV and Userdata2 before each I-VOP.
Data structure before I-VOP
Item Note
VOL VOL of MPEG-4 Video
Userdata1 Reserved
GOV GOV of MPEG-4 Video
Userdata2 Userdata
Data structure of Userdata2
Item Size Example Note
Start code 4 0x000001B2 Start code of User data in MPEG-4 stream.
Model Name
Time Stamp
18 type = VN-H137
70
2012030623341253
Product Name
hour/minute/second, millisecond and timezone code.
8UTC
Camera ID
Motion Detect Result
Tampering Detect
Result
50 camera = input01
7 md = 1
14 tampering = 0
Camera ID that user can define
Specified as 1 if mo
data is created.
data is created.
Pan position 16 digipan = 123 Indicates pan position in pixels from 0 to 1278.
Tilt position 17 digitilt = 123 Indicates tilt position in pixels from 0 to 958.
Zoom position 17 digizoom = 1.23 Indicates zoom value from 1.00 to 8.00.
Preset Posision
Number
15 position = 19 Indicates preset position number after
preset position
. In other cases, position = NA.
16
5. RTSP/RTP
5.1. URI
RTSP of the camera is RFC2326 compliant.
Three encoders can be enabled in the camera at its maximum. Each encoder's URI for RTSP is:
Encoder Channel URI of RTSP
Interpretation Set Trigger of the alarm action for the specified alarm number. Up to 5 alarm actions can be
specified, and periodic FTP is assigned to event No.6, pre/post FTP assigned to No.7, SD Card constant
recording is assigned to event No.8 and SD Card alarm recording is assigned to event No.10. Therefore the
number of event(number) can be set between the range of 1 to 8 and 10. Note that alarm numbers are different
from the alarm input pin numbers.
The changes to settings of alarm action become valid by /api/param?application.event(Number).status=restart.
When setting only 1 Trigger:
Specify m1 in the case of Make for alarm input 1. [VN-H57/157WP/257/257VP Only]
Specify b1 in the case of Break for alarm input 1. [VN-H57/157WP/257/257VP Only]
Specify m2 in the case of Make for alarm input 2. [VN-H57/157WP/257/257VP Only]
Specify b2 in the case of Break for alarm input 2. [VN-H57/157WP/257/257VP Only]
Specify camera.position(num).status for preset position. "num" is from 0 to 19.
Specify v1 for motion detection of video.
Specify audio_detect1 for audio detection 1. [VN-H57/157WP/257/257VP Only]
Specify audio_detect2 for audio detection 2. [VN-H57/157WP/257/257VP Only]
Specify tampering_detect for tampering detect of video.
Specify ncbwe for IR Filter ON.
Specify ncbws for IR Filter OFF.
Specify i(second) for periodic FTP trigger.
Specify time/hhmmss for time trigger.
Setting Example /api/param?application.event(1).trigger=v1
Interval can be set to periodic ftp assigned to event(6). Set "i1500" for interval 1500 seconds.
Setting Example /api/param?application.event(6).trigger=i1500
When setting Trigger upon combining 2 alarm inputs, specify as m1(50)b2. The example above indicates that
trigger will be activated when break is invoked at alarm input 2 within 50 seconds after make is invoked at alarm
input 1. Additionally, combination is only allowed for alarm inputs and not motion detect nor IR Filter. And same
alarm can not be combined. For example, m1(50)m1 is not available.
Setting Example /api/param?application.event(1).trigger=m1(100)b2
Allowed users admin, operator
12. JVC API for Alarm Environment
The APIs below are related to alarm environment setting. These are equivalent to the features on the Alarm
Environment page of the WEB setting page. Refer to the instruction manual for details on the Alarm Environment
page.
44
Getting SMTP Server Address Setting
Format /api/param?application.smtp.host
Example of Response application.smtp.host=192.168.0.200&200 OK
Response example when setting field is left blank application.smtp.host=&200 OK
Interpretation Acquire the address setting of the SMTP server.
Allowed users admin, operator, user
Setting SMTP Server Address
Format /api/param?application.smtp.host=data
Example /api/param?application.smtp.host=192.168.0.200
Example of Response application.smtp.host&200 OK
Interpretation Change the address setting of the SMTP server. Specify the IP address or FQDN. The maximum
FQDN size is 63 bytes. Specify as 0.0.0.0 when the SMTP server is not set. It is also possible to leave the setting
field blank as follows. /api/param?application.smtp.host=%00
Allowed users admin, operator
Getting SMTP Server Port Number Setting
Format /api/param?application.smtp.port
Example of Response application.smtp.port=25&200 OK
Interpretation Acquire the port number setting of the SMTP server.
Allowed users admin, operator, user
Setting SMTP Server Port Number
Format /api/param?application.smtp.port=data
Example /api/param?application.smtp.port=25
Example of Response application.smtp.port&200 OK
Interpretation Change the port number setting of the SMTP server.
Allowed users admin, operator
Getting Sender Mail Address Setting
Format /api/param?application.smtp.mailfrom
Example of Response application.smtp.mailfrom=somebody@somecompany.com&200 OK
Interpretation Acquire sender mail address setting. POP user name is used as local part of sender mail address
when sender mail address setting is blank. When POP user name is also blank, the local-part is set to
"vn_h37@hostname". When the hostname is also blank, SMTP server decide sender mail address.
45
Allowed users admin, operator, user
Setting Sender Mail Address
Format /api/param?application.smtp.mailfrom=data
Example /api/param?application.smtp.mailfrom=somebody@somecompany.com
Example of Response application.smtp.mailfrom&200 OK
Interpretation Change sender mail address setting. Maximum text number of sender mail address is 96.
Alphanumeric and followings are available.
! # $ % & ' * + - / = ? ^ _ ` { } | ~
POP user name is used as local part of sender mail address when sender mail address setting is blank. When
POP user name is also blank, the local-part is set to "vn_h37@hostname". When the hostname is also blank,
SMTP server decide sender mail address.
Allowed users admin, operator
Getting "POP before SMTP" Setting
Format /api/param?application.smtp.type
Example of Response application.smtp.type=pbs&200 OK
Interpretation Acquire the "POP before SMTP" setting. "simple" is returned when this is set to off. "pbs" is
returned when this is set to on.
Allowed users admin, operator, user
Setting "POP before SMTP"
Format /api/param?application.smtp.type=data
Example /api/param?application.smtp.type=pbs
Example of Response application.event.smtp.type&200 OK
Interpretation Change the "POP before SMTP" setting. Specify as "simple" when setting to off and "pbs" when
setting to on.
Allowed users admin, operator
Getting POP Server Address Setting
Format /api/param?application.pop.host
Example of Response application.pop.host=192.168.0.200&200 OK
Response example when setting field is left blank application.pop.host=&200 OK
Interpretation Acquire the address setting of the POP server.
Allowed users admin, operator, user
46
Setting POP Server Address
Format /api/param?application.pop.host=data
Example /api/param?application.pop.host=192.168.0.200
Example of Response application.pop.host&200 OK
Interpretation Change the address setting of the POP server. Specify the IP address or FQDN. The maximum
FQDN size is 63 bytes. Specify as 0.0.0.0 when the POP server is not set. It is also possible to leave the setting
field blank as follows. /api/param?application.pop.host=%00
Allowed users admin, operator
Getting POP Server Port Number Setting
Format /api/param?application.pop.port
Example of Response application.pop.port=110&200 OK
Interpretation Acquire the port number setting of the POP server.
Allowed users admin, operator, user
Setting POP Server Port Number
Format /api/param?application.pop.port=data
Example /api/param?application.pop.port=110
Example of Response application.pop.port&200 OK
Interpretation Change the port number setting of the POP server.
Allowed users admin, operator
Getting POP Server User Name Setting
Format /api/param?application.pop.user
Example of Response application.pop.user=somename&200 OK
Response example when setting field is left blank application.pop.user=&200 OK
Interpretation Acquire the user name setting of the POP server. The user name is used as local part of sender
mail address when sender mail address setting is blank. When the user name is blank, the local-part is set to
"vn_h37".
Example of Response application.pop.user=somename&200 OK
Example of Mail Address somename@somecompany.com
Allowed users admin, operator, user
Setting POP Server User Name
Format /api/param?application.pop.user=data
Example /api/param?application.pop.user=somename
47
Example of Response application.pop.user&200 OK
Interpretation Change the user name setting of the POP server. The maximum user name size is 64 bytes. Set
as follows when this is to be left blank.
/api/param?application.pop.user=%00
The user name is used as local part of sender mail address when sender mail address setting is blank. When the
user name is blank, the local-part is set to "vn_h37". When POP before SMTP is disabled, it is not necessary to
set POP server settings other than POP user name setting.
Example of setting /api/param?application.pop.user=somename
Example of Mail Address somename@somecompany.com
Following characters must not be used in user name.
space
Allowed users admin, operator
( ) < > [ ] : ; ¥ ,(comma)
Setting POP Server Password
Format /api/param?application.pop.password=data
Example /api/param?application.pop.password=someword
Example of Response application.pop.password&200 OK
Interpretation Change the password setting of the POP server. The maximum password size is 32 bytes. Set as
follows when this is to be left blank. /api/param?application.pop.password=%00
Allowed users admin, operator
(Note: There is no API for reading passwords.)
Getting FTP Server Address Setting
Format /api/param?application.ftp.host
Example of Response application.ftp.host=192.168.0.200&200 OK
Response example when setting field is left blank application.ftp.host=&200 OK
Interpretation Acquire the FTP server address setting used for FTP transmission via alarm.
Allowed users admin, operator, user
Setting FTP Server Address
Format /api/param?application.ftp.host=data
Example /api/param?application.ftp.host=10.0.0.200
Example of Response application.ftp.host&200 OK
Interpretation Change the FTP server address setting used for FTP transmission via alarm. Specify the IP
address or FQDN. The maximum FQDN size is 63 bytes. Specify as 0.0.0.0 when the FTP server is not set. It is
also possible to leave the setting field blank as follows. /api/param?application.ftp.path=%00
48
Allowed users admin, operator
Getting FTP Server Path Setting
Format /api/param?application.ftp.path
Example of Response application.ftp.path=subdir1&200 OK
Response example when setting field is left blank application.ftp.path=&200 OK
Interpretation Acquire the FTP server directory setting used for FTP transmission via alarm.
Allowed users admin, operator, user
Setting FTP Server Path
Format /api/param?application.ftp.path=data
Example /api/param?application.ftp.path=subdir1
Example of Response application.ftp.path&200 OK
Interpretation Change the FTP server directory setting used for FTP transmission. It is possible to set FTP
transmission to a directory under the FTP server home directory by specifying that directory name. Use %2F to
segment the directory. ("2F" is ASCII code of "/".) The maximum directory name size is 63 bytes.
Example /api/param?application.ftp.path=subdir1%2Fsubdir2
By leaving the setting blank as follows, FTP transmission will be set to the FTP server home directory.
/api/param?application.ftp.path=%00
Allowed users
admin, operator
Getting FTP Server User Name Setting
Format /api/param?application.ftp.user
Example of Response application.ftp.user=somename&200 OK
Response example when setting field is left blank application.ftp.user=&200 OK
Interpretation Acquire the FTP server user name setting used for FTP transmission via alarm.
Allowed users admin, operator
Setting FTP Server User Name
Format /api/param?application.ftp.user=data
Example /api/param?application.ftp.user=somename
Example of Response application.ftp.user&200 OK
Interpretation Change the FTP server user name setting used for FTP transmission via alarm. The maximum
user name size is 32 bytes. Set as follows when this setting is to be left blank.
/api/param?application.ftp.user=%00
Allowed users admin, operator
49
Setting FTP Server Password
Format /api/param?application.ftp.password=data
Example /api/param?application.ftp.password=someword
Example of Response application.ftp.password&200 OK
Interpretation Change the FTP server password setting used for FTP transmission via alarm. The maximum
password size is 32 bytes. Set as follows when this setting is to be left blank.
/api/param?application.ftp.password=%00
Allowed users admin, operator
(There is no API for Getting passwords.)
Getting File Naming of Periodic FTP
Format /api/param?application.ftp.naming
Example of Response application.ftp.naming=default&200 OK
Interpretation Acquire file naming of periodic FTP. "default", "type1" or "type2" is returned. When default is set,
the file name is as YYYYMMDDHHMMSS-NNN-2.jpg.
Example 20060207201315-001-2.jpg
When type1 is set, the file name is as ***YYYMMDDHHMMSSNNN.jpg. "***" can be gotten by another API,
/api/param?application.ftp.naming_option.
File Name Example Camera_20060207201315001.jpg
When type2 is set, the file name is as ***.jpg. "***" can be gotten by another API,
/api/param?application.ftp.naming_option.
File Name Example Camera.jpg
Allowed users admin, operator
Setting File Naming of Periodic FTP
Format /api/param?application.ftp.naming=data
Example /api/param?application.ftp.naming=type1
Example of Response application.ftp.naming&200 OK
Interpretation Change file naming of periodic FTP. Specify "default", "type1" or "type2". When default is set, the
file name is as YYYYMMDDHHMMSS-NNN-2.jpg.
Example 20060207201315-001-2.jpg
When type1 is set, the file name is as ***YYYYMMDDHHMMSSNNN.jpg. "***" can be set by another API,
/api/param?application.ftp.naming_option.
File Name Example Camera_20060207201315001.jpg
When type2 is set, the file name is as ***.jpg. "***" can be set by another API,
50
/api/param?application.ftp.naming_option.
File Name Example Camera.jpg
Allowed users admin, operator
Getting User Define Name of File Naming
Format /api/param?application.ftp.naming_option
Example of Response application.ftp.naming_option=abc&200 OK
Interpretation Acquire user define name for file naming of periodic FTP. The maximum size is 16 bytes. When
/api/param?application.ftp.naming_option is set to "type1", the file name is as ***YYYMMDDHHMMSSNNN.jpg,
and "***" can be gotten by this API.
File Name Example Camera_20060207201315001.jpg
When /api/param?application.ftp.naming_option is set to "type2", the file name is as ***.jpg and "***" can be
gotten by this API.
File Name Example Camera.jpg
Allowed users admin, operator
Setting User Define Name of File Naming
Format /api/param?application.ftp.naming_option=data
Example of Response application.ftp.naming_option&200 OK
Interpretation Change user define name for file naming of periodic FTP. The maximum size is 16 bytes. When
/api/param?application.ftp.naming_option is set to "type1", the file name is as ***YYYMMDDHHMMSSNNN.jpg,
and "***" can be set by this API.
File Name Example Camera_20060207201315001.jpg
When /api/param?application.ftp.naming_option is set to "type2", the file name is as ***.jpg and "***" can be set by
this API.
File Name Example Camera.jpg
Allowed users admin, operator
Getting Parameters of Pre/Post Recording for FTP
Format
To get Frame Rate /api/param?application.object(7).framerate
To get Pre Duration /api/param?application.object(7).prerec
To get Post Duration /api/param?application.object(7).postrec
To get Encoder No. /api/param?application.object(7).source
Example of Response
For Frame Rate application.object(7).framerate=10&200 OK
51
For Pre Duration /api/param?application.object(7).prerec=2&200 OK
For Post Duration /api/param?application.object(7).postrec=2&200 OK
For Encoder No. /api/param?application.object(7).source=encode(1)&200 OK
Interpretation Acquire parameters for PrePost.
Allowed users admin, operator, user
Setting Parameters of Pre/Post Recording for FTP
Format
To set Frame Rate /api/param?application.object(7).framerate=5
To set Pre Duration /api/param?application.object(7).prerec=3
To set Post Duration /api/param?application.object(7).postrec=3
To set Encoder No. /api/param?application.object(7).source=encode(1)
Example of Response
For Frame Rate application.object(7).framerate&200 OK
For Pre Duration /api/param?application.object(7).prerec&200 OK
For Post Duration /api/param?application.object(7).postrec&200 OK
For Encoder No. /api/param?application.object(7).source&200 OK
Interpretation Change parameters for PrePost.
Specify 30, 15, 10, 7.5, 6, 5, 3, 2, or 1 for frame rate. Maximum Pre/Post duration is 60 seconds. Setting zero to
Pre and Post duration is invalid. Specify encode(1), encode(2), or encode(3) for encoder No. Pre/Post Recording
for FTP is valid when encode type is set to JPEG.
Allowed users admin, operator
13. JVC API for SD Card Record
The APIs below are related to SD Card Recording. These are equivalent to the features on the SD Card Record
page of the WEB setting page. Refer to the instruction manual for details on the SD Card Record page.
Getting SD Card Status
Format /api/param?storage.disk(1).status
Example of Response storage.disk(1).status=on&200 OK
Interpretation Acquire SD Card status. “on”, “empty”, “read_only”, “off”, “off_read_only”, or “off_empty” will be
returned.
Return value Use / Disable Status
off_empty Disable No SD card
off_read_only Disable LOCK switch is enabled
off Disable LOCK switch is disabled
empty Use No SD card
52
read_only Use LOCK switch is enabled
on Use LOCK switch is disabled
Allowed users admin, operator, user
Setting SD Card to Use/Disable
Format /api/param?storage.disk(1).status=data
Example of Response storage.disk(1).status&200 OK
Interpretation Change the Use/Disable status of SD Card. Specify “on” or “off”. In case of “on”, SD Card can be
use. In case of “off”, SD Card is disabled.
Allowed users admin, operator, user
Getting Status of SD Card formatting
Format /api/param?storage.disk(1).initialize
Example of Response storage.disk(1).initialize=on&200 OK
Interpretation Acquire status of SD Card formatting. “on”, “off”, or “not_initialized” will be returned. In case of “on”,
SD Card formatting is in progress. In case of “off”SD Card is formatted. In case of “not_initialized”, SD Card is
unformatted.
Allowed users admin, operator
Formatting SD Card
Format /api/param?storage.disk(1).initialize=data
/api/param?storage.disk(1).initialize=start
Example of Response storage.disk(1).initialize&200 OK
Interpretation Specify as start to format the SD. When this API is issued, the camera reboots in about 1 minute.
Allowed users admin, operator
Getting SD Card Constant Recording On/Off Status
Format /api/param?application.event(8).status
Example of Response application.event(8).status=on&200 OK
Interpretation Acquire the on/off status of SD Card Constant Recording. “on” or “off”will be returned.
Allowed users admin, operator, user
Setting SD Card Constant Recording On/Off
Format /api/param?application.event(8).status=data
Example of Response application.event(8).status&200 OK
Interpretation Change the on/off status of SD card Constant Recording. Specify "on" or "off" to change the
status.
53
Allowed users admin, operator
Getting SD Card Capacity
Format /api/param?storage.disk(1).size
Example of Response storage.disk(1).size=30543M&200 OK
Interpretation Acquire the capacity of SD card in megabytes.
Allowed users admin, operator
Getting SD Card Recording Status
Format /api/param?storage.disk(1).rec
Example of Response storage.disk(1).rec=on&200 OK
Interpretation Acquire the status of SD card recording. “on” or “off”will be returned. In case of “on”, SD card
recording is in progress. In case of “off”, SD card recording is stopping.
Allowed users admin, operator, user
Getting Encoder No. for SD Card Recording
Format /api/param?application.object(8).source
Example of Response application.object(8).source=encode(1)&200 OK
Interpretation Acquire the encoder No. for SD card recording. “encode(1)”, “encode(2)”, or “encode(3)”will be
returned.
Allowed users admin, operator, user
Setting Encoder No. for SD Card Recording
Format /api/param?application.object(8).source=data
Example /api/param?application.object(8).source=encode(1)
Example of Response application.object(8).source&200 OK
Interpretation Change the encoder No. for SD card recording. Specify “encode(1)”, “encode(2)”, or
“encode(3)”for encoder No. This parameter is valid when encode type is set to h264high or h264baseline.
Depending on Recording Quality setting, specify encoder as below,
To set recording quality to High
/api/param?encode(3).type=h264high
/api/param?encode(3).framesize=1920x1080
/api/param?encode(3).framerate=5
/api/param?encode(3).bitrate=1000000
/api/param?encode(3).cbr_mode=cbr
/api/param?encode(3).iframeinterval=5
54
To set recording quality to Mid
/api/param?encode(3).type=h264high
/api/param?encode(3).framesize=1280x720
/api/param?encode(3).framerate=5
/api/param?encode(3).bitrate=768000
/api/param?encode(3).cbr_mode=cbr
/api/param?encode(3).iframeinterval=5
To set recording quality to Low
/api/param?encode(3).type=h264high
/api/param?encode(3).framesize=640x360
/api/param?encode(3).framerate=5
/api/param?encode(3).bitrate=128000
/api/param?encode(3).cbr_mode=cbr
/api/param?encode(3).iframeinterval=5
Allowed users admin, operator
14. JVC API for Digital PTZ
The APIs below are related to digital PTZ control. These are equivalent to the features on the PTZ page of the
WEB setting page. Refer to the instruction manual for details on the PTZ page.
Basic authentication is required for JVC API explained in Section 7 or later. This section provides general
explanation of those APIs. The API is valid when the resolution is 640x360 or 640x480.
(1) Settings for PTZ Control
Getting Auto Return Mode
Format /api/param?camera.motion.auto_return.mode
Example of response camera.motion.auto_return.mode=home&200 OK
Interpretation Acquire Auto Return mode. "home" or "auto_patrol(0)" will be returned.
Allowed users admin, operator, user
Setting Auto Return Mode
Format /api/param?camera.motion.auto_return.mode=data
Example of Response camera.motion.auto_return.mode&202 Accepted(camera.status=save)
Interpretation Change Auto Return mode. Specify "home" or "auto_patrol(0)". The change is saved by the API,
camera.status=save. If the change is not saved, the setting is restored by reboot.
55
Allowed users admin, operator
Getting Timeout of Auto Return
Format /api/param?camera.motion.auto_return.timeout
Example of response camera.motion.auto_return.timeout=60&200 OK
Interpretation Acquire timeout of Auto Return in seconds.
Allowed users admin, operator, user
Setting Timeout of Auto Return
Format /api/param?camera.motion.auto_return.timeout=data
Example of Response camera.motion.auto_return.timeout&202 Accepted(camera.status=save)
Interpretation Change timeout of Auto Return in seconds. Specify 60, 120, 180, 300, 600, 1200, 1800 or 3600.
The change is saved by the API, camera.status=save. If the change is not saved, the setting is restored by reboot.
Allowed users admin, operator
Getting Auto Return Status
Format /api/param?camera.motion.auto_return.status
Example of response camera.motion.auto_return.status=on&200 OK
Interpretation Acquire status of Auto Return. "on" or "off" will be returned.
Allowed users admin, operator, user
Setting Auto Return Status
Format /api/param?camera.motion.auto_return.status=data
Example of Response camera.motion.auto_return.status&202 Accepted(camera.status=save)
Interpretation Change status of Auto Return. Specify "on" or "off" to change the status. Specify "start" or "stop"
for manual operation. "on" or "off" is saved by the API, camera.status=save. If the change is not saved, the setting
is restored by reboot.
Allowed users admin, operator
Getting Speed of Going to Preset Position
Format /api/param?camera.motion.position.speed
Example of response camera.motion.position.speed=100&200 OK
Interpretation Acquire speed of going to preset position. Value from 0 to 100 is returned. 100 is fastest. The
speed is 4 steps internally. The speed is applied also to preset position of auto patrol.
Allowed users admin, operator, user
56
Setting Speed of Going to Preset Position
Format /api/param?camera.motion.position.speed=data
Example to set horizontal /api/param?camera.motion.position.speed=100
Example of Response camera.motion.position.speed&202 Accepted(camera.status=save)
Interpretation Set speed of going to preset position. Specify from 0 to 100. 5 is horizontal. 100 is fastest. The
speed is 4 steps internally. The speed is applied also to preset position of auto patrol. The change is saved by the
API, camera.status=save. If the change is not saved, the setting is restored by reboot.
Allowed users admin, operator
(2) PTZ Control
Getting Pan Position
Format /api/param?camera.motion.pan
Example of response camera.motion.pan=s100&200 OK
Interpretation Acquire current pan position, left edge of current area, in pixels. Value from 0 to 1278 is returned.
"s" is added before the value.
Allowed users admin, operator, user
Moving to Specified Pan Position
Format /api/param?camera.motion.pan=data
Example to move to absolute 100 pixels /api/param?camera.motion.pan=s100
Example to move to relative 45 pixels /api/param?camera.motion.pan=+s45
Example of Response camera.motion.pan&200 OK
Interpretation Move to specified pan position, left edge of target area, in pixels. To move to absolute position,
specify from 0 to 1278 with "s". Moved position can be adjusted automatically to prevent showing invalid area.
Allowed users admin, operator
Pan Operation
Format /api/param?camera.motion.pan.status=data
Example to start pan /api/param?camera.motion.pan.status=start
Example of Response camera.motion.pan.status&200 OK
Interpretation Start or stop pan operation. Specify start or stop.
Allowed users admin, operator
Setting Direction of Pan Operation
Format /api/param?camera.motion.pan.mode=data
Example to set to left /api/param?camera.motion.pan.mode=left
57
Example of Response camera.motion.pan.mode&200 OK
Interpretation Set direction of pan operation. Specify left or right.
Allowed users admin, operator
Setting Speed of Pan Operation
Format /api/param?camera.motion.pan.speed=data
Example to set maximum speed /api/param?camera.motion.pan.speed=100
Example of Response camera.motion.pan.speed&200 OK
Interpretation Set speed of pan operation. Specify 0 to 100. The speed is 8 steps internally.
Allowed users admin, operator
Getting Pan Operation Status
Format /api/param?camera.motion.pan.status
Example of Response camera.motion.pan.status=moving&200 OK
Interpretation Acquire current pan status. "moving" or "stop" is returned.
Allowed users admin, operator, user
Getting Tilt Position
Format /api/param?camera.motion.tilt
Example of response camera.motion.tilt=s45&200 OK
Interpretation Acquire current tilt position, top edge of current area, in pixels. Value from 0 to 958 is returned. "s"
is added before the value.
Allowed users admin, operator, user
Moving to Specified Tilt Position
Format /api/param?camera.motion.tilt=data
Example to move to absolute 100 pixels /api/param?camera.motion.tilt=s100
Example to move to relative 45 degrees /api/param?camera.motion.tilt=+s45
Example of Response camera.motion.tilt&200 OK
Interpretation Move to specified tilt position, top edge of target area, in pixels. To move to absolute position,
specify from 0 to 958 with "s". Moved position can be adjusted automatically to prevent showing invalid area.
Allowed users admin, operator
Tilt Operation
Format /api/param?camera.motion.tilt.status=data
Example to start pan /api/param?camera.motion.tilt.status=start
58
Example of Response camera.motion.tilt.status&200 OK
Interpretation Start or stop tilt operation. Specify start or stop.
Allowed users admin, operator
Setting Direction of Tilt Operation
Format /api/param?camera.motion.tilt.mode=data
Example to set to up /api/param?camera.motion.tilt.mode=up
Example of Response camera.motion.tilt.mode&200 OK
Interpretation Set direction of tilt operation. Specify up or down.
Allowed users admin, operator
Setting Speed of Tilt Operation
Format /api/param?camera.motion.tilt.speed=data
Example to set maximum speed /api/param?camera.motion.tilt.speed=100
Example of Response camera.motion.tilt.speed&200 OK
Interpretation Set speed of tilt operation. Specify 0 to 100. The speed is 8 steps internally.
Allowed users admin, operator
Getting Tilt Operation Status
Format /api/param?camera.motion.tilt.status
Example of Response camera.motion.tilt.status=moving&200 OK
Interpretation Acquire current tilt status. "moving" or "stop" is returned.
Allowed users admin, operator, user
Getting Zoom Position
Format /api/param?camera.motion.zoom
Example of response camera.motion.zoom=x2.00&200 OK
Interpretation Acquire current zoom multiple. Value from 1.00 to 8.00 is returned with "x". The API is valid when
the resolution is 640x360 or 640x480.
Allowed users admin, operator, user
Moving to Specified Zoom Position
Format /api/param?camera.motion.zoom=data
Example to move to absolute multiple, x2.0 /api/param?camera.motion.zoom=x2.00
Example to move to relative multiple, 1.5 Tele /api/param?camera.motion.zoom=+x1.5
59
Example to move to relative multiple, 1.5 Wide /api/param?camera.motion.zoom=-x1.5
Example of Response camera.motion.zoom&200 OK
Interpretation Move to specified zoom multiple. To move to absolute multiple, specify from 1.00 to 8.00 with "x".
The API is valid when the resolution is 640x360 or 640x480.
Allowed users admin, operator
Zoom Operation
Format /api/param?camera.motion.zoom.status=data
Example to start zoom /api/param?camera.motion.zoom.status=start
Example of Response camera.motion.zoom.status&200 OK
Interpretation Start or stop zoom operation. Specify start or stop.
Allowed users admin, operator
Setting Direction of Zoom Operation
Format /api/param?camera.motion.zoom.mode=data
Example to set to Tele /api/param?camera.motion.zoom.mode=in
Example of Response camera.motion.zoom.mode&200 OK
Interpretation Set direction of zoom operation. Specify in or out.
Allowed users admin, operator
Setting Speed of Zoom Operation
Format /api/param?camera.motion.zoom.speed=data
Example to set maximum speed /api/param?camera.motion.zoom.speed=100
Example of Response camera.motion.zoom.speed&200 OK
Interpretation Set speed of zoom operation. Specify 0 to 100. The speed is 4 steps internally.
Allowed users admin, operator
Getting Zoom Operation Status
Format /api/param?camera.motion.zoom.status
Example of Response camera.motion.zoom.status=moving&200 OK
Interpretation Acquire current zoom status. "moving" or "stop" is returned.
Allowed users admin, operator, user
Moving Specified Position to Center
Format /api/param?camera.motion.clickoncenter=X-Y
Example of Response camera.motion.clickoncenter&200 OK
Interpretation Change the unit of interval for accessing the NTP server. Specify "min", "hour" or "day". To
validate the change, use "network.ntp.status=restart" API.
Allowed users admin, operator
Getting Time
Format /api/param?system.date
Example of Response system.date=20050614171537&200 OK
Interpretation Acquire the time from the built-in clock of the camera. Time is arranged in the order of year, month,
day, hour, minute and second. Year is denoted in a 4-digit decimal number, and month, day, hour, minute and
83
second are denoted in 2-digit decimal numbers.
Allowed users admin, operator, user
Setting Time
Format /api/param?system.date=data
Example /api/param?system.date=20050614171537
Example of Response system.date&200 OK
Interpretation Change the time of the built-in clock in the camera. Specify in the order of year, month, day, hour,
minute and second. Specify year in a 4-digit decimal number, and month, day, hour, minute and second in 2-digit
decimal numbers.
Allowed user admin
Getting Timezone
Format /api/param?system.timezone
Example of Response system.timezone=Pacific&200 OK
Interpretation Acquire the timezone from the camera. Character strings in the following table will be returned.
Timezone Character String Description
GMT-12
GMT-11
GMT-10
Hawaii
GMT-9:30
GMT-9
Alaska
GMT-8
Pacific
GMT-7
Arizona
Mountain
GMT-6
Central
GMT-5
East-Indiana
Eastern
GMT-4
Atlantic
GMT-3:30
GMT-3
GMT-2
GMT-1
UTC
London
GMT+1
Berlin
Rome
Madrid
Timezone that is 12 hours earlier than the Greenwich Mean Time.
Timezone that is 11 hours earlier than the Greenwich Mean Time.
Timezone that is 10 hours earlier than the Greenwich Mean Time.
Same timezone as GMT-10
Timezone that is 9 hours and 30 minutes earlier than the Greenwich Mean Time.
Timezone that is 9 hours earlier than the Greenwich Mean Time.
Same timezone as GMT-9
Timezone that is 8 hours earlier than the Greenwich Mean Time.
(GMT-8:00) US/Pacific Time
Timezone that is 7 hours earlier than the Greenwich Mean Time.
Same timezone as GMT-7
Same timezone as GMT-7
Timezone that is 6 hour earlier than the Greenwich Mean Time.
Same timezone as GMT-6
Timezone that is 5 hour earlier than the Greenwich Mean Time.
Same timezone as GMT-5.
Same timezone as GMT-5.
Timezone that is 4 hour earlier than the Greenwich Mean Time.
Same timezone as GMT-4.
Timezone that is 3 hours and 30 minutes earlier than the Greenwich Mean Time.
Timezone that is 3 hour earlier than the Greenwich Mean Time.
Timezone that is 2 hour earlier than the Greenwich Mean Time.
Timezone that is 1 hour earlier than the Greenwich Mean Time.
Greenwich Mean Time
Same timezone as UTC.
Timezone that is 1 hour later than the Greenwich Mean Time.
Same timezone as GMT+1.
Same timezone as GMT+1.
Same timezone as GMT+1.
84
Paris
CET
GMT+2
EET
GMT+3
GMT+3:30
GMT+4
GMT+4:30
GMT+5
GMT+5:30
Calcutta
GMT+5:45
GMT+6
GMT+6:30
GMT+7
GMT+8
GMT+8:45
GMT+9
GMT+9:30
Japan
GMT+10
GMT+10:30
GMT+11
GMT+11:30
GMT+12
GMT+12:45
Allowed users admin, operator, user
Same timezone as GMT+1.
Same timezone as GMT+1.
Timezone that is 2 hours later than the Greenwich Mean Time.
Same timezone as GMT+2
Timezone that is 3 hours later than the Greenwich Mean Time.
Timezone that is 3 hours and 30 minutes later than the Greenwich Mean Time.
Timezone that is 4 hours later than the Greenwich Mean Time.
Timezone that is 4 hours and 30 minutes later than the Greenwich Mean Time.
Timezone that is 5 hours later than the Greenwich Mean Time.
Timezone that is 5 hours and 30 minutes later than the Greenwich Mean Time.
Same timezone as GMT+5:30
Timezone that is 5 hours and 45 minutes later than the Greenwich Mean Time.
Timezone that is 6 hours later than the Greenwich Mean Time.
Timezone that is 6 hours and 30 minutes later than the Greenwich Mean Time.
Timezone that is 7 hours later than the Greenwich Mean Time.
Timezone that is 8 hours later than the Greenwich Mean Time.
Timezone that is 8 hours and 45 minutes later than the Greenwich Mean Time.
Timezone that is 9 hours later than the Greenwich Mean Time.
Timezone that is 9 hours and 30 minutes later than the Greenwich Mean Time.
Same timezone as GMT+9.
Timezone that is 10 hours later than the Greenwich Mean Time.
Timezone that is 10 hours and 30 minutes later than the Greenwich Mean Time.
Timezone that is 11 hours later than the Greenwich Mean Time.
Timezone that is 11 hours and 30 minutes later than the Greenwich Mean Time.
Timezone that is 12 hours later than the Greenwich Mean Time.
Timezone that is 12 hours and 45 minutes later than the Greenwich Mean Time.
Setting Timezone
Format /api/param?system.timezone=data
Example /api/param?system.timezone=Pacific
Example of Response system.timezone&202 Accepted(system.status=restart)
Interpretation Change the timezone of the camera. Refer to "Getting Timezone" on the character string to
specify. To validate the change, use "system.status=restart" API.
Allowed user admin
24. JVC API for Password
The APIs below are related to passwords. These are equivalent to the features on the Password page of the WEB
setting page. Refer to the instruction manual for details on the Password page.
Setting Password of admin
Format /api/param?system.password.admin(num)=data2
Example /api/param?system.password.admin(0)=someword
Example of Response system.password.admin(0)&200 OK
85
Interpretation Change the password of admin(0), admin(1), admin(2) or admin(3). Set a password between 4 to
16 characters.
There is no API for Getting passwords.
Allowed user admin
Setting Password of operator
Format /api/param?system.password.operator(num)=data2
Example /api/param?system.password.operator(0)=someword
Example of Response system.password. operator(0)&200 OK
Interpretation Change the password of operator(0), operator(1), operator(2) or operator(3). Set a password
between 4 to 16 characters.
There is no API for Getting passwords.
Allowed user admin
Setting Password of user
Format /api/param?system.password.user(num)=data2
Example /api/param?system.password.user(0)=someword
Example of Response system.password. user(0)&200 OK
Interpretation Change the password of user(0), user(1), user(2) or user(3). Set a password between 4 to 16
Item Size Example Note
Revision 24 revision=0x0100 Revision of file format
Total number of files 16 count=2 Total number of files
Total size of files 24 t_size=12052495 Total size of files
38<CRLF> Header size of file2
Data structure of header1
Item Size Example Note
Header of file1
38<CRLF> Header size of file2
Data structure of header2
Item Size Example Note
Header of file2
Size 16 size=7731251 Size of file1
File name 40 name-ckst0000 Name of file1
Size 16 size=4321244 Size of file2
File name 40 name-ckst0001 Name of file2
C800<CRLF> Data(1) size of file1
data(1) of file1 (50 kB)
99
C800<CRLF> Data(2) size of file1
WEB setting page, API for Getting status and changing
data(2) of file1 (50 kB)
...
C800<CRLF> Data(1) size of file2
data(1) of file2 (50 kB)
C800<CRLF> Data(2) size of file2
data(2) of file2 (50 kB)
...
0<CRLF> End of file
Interpretation Specify start time and end time, then CHUNKED HTTP response and H.264 elementary stream
data will be returned.
Allowed users admin, operator
33. List of Protocols and Port Numbers Used
The camera uses the following protocols and port numbers.
settings, video/audio streaming by JVC protocol
UDP 80 Search for the camera
TCP 110 POP (Mail by Alarm Action)
UDP 123 SNTP
TCP 554 RTSP
UDP 9131 AMX Device Discovery Protocol
TCP 10020, 10021, 10023 reserved for internal use
TCP 32040 Alarm server
TCP 49298 Audio sending from a client to the camera
TCP User Setting Alarm on TCP
UDP User Setting Alarm on UDP
UDP User Setting Multicast Streaming
34. Customizing Built-in Viewer
The built-in viewer of the camera consists of five ActiveX controls. These ActiveX controls are available for
customized viewer.
34.1. List of ActiveX
- JPEG/H.264 Viewer It can show JPEG and H.264 video, and save still image.
- PTZ Control Client It can control digital ptz.
- Audio Monitor It can playback audio.
100
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.