19
5. API for Acquiring/Changing Parameters of VN-E4 _
5.2. Signal Input
This API is related to signal input. This is equivalent to the feature on the Input page of the WEB setting page. Refer to the instruction manual
for details on the Input page.
Acquiring Comment in JPEG from VN-E4
Format
/api/param?video.input(Number).comment
Example
When acquiring comment of video input channel 1
/api/param?video.input(1).comment
Example of response
video.input(1).comment=input01&200 OK
Response example
when setting field is
left blank
video.input(1).comment=&200 OK
Interpretation
Acquire comment of the specified video input channel. This comment is stored in the JPEG header. Specify the
video input channel between the range of 1 to 4.
Allowed users
admin, operator, user
Setting Comment in JPEG from VN-E4
Format
/api/param?video.input(Number).comment=data
Example
When setting comment of video input channel 1
/api/param?video.input(1).comment=input01
Example when setting
as blank
/api/param?video.input(1).comment=%00
Example of response
video.input(1).comment&200 OK
Interpretation
Change the comment in JPEG of the specified video input channel. This comment is stored in the JPEG
header. Specify the video input channel between the range of 1 to 4. Maximum size of comments is 40 bytes.
To set as blank, specify as %00(0x25, 0x30, 0x30).
To use space, specify as %20(0x25, 0x32, 0x30). If you want to set "Comment In JPEG" for example, specify
as follows.
/api/param?video.input(1).comment=Comment%20In%20JPEG
Allowed users
admin, operator
Acquiring Brightness from VN-E4
Format
/api/param?video.input(Number).brightness
Example
When acquiring Brightness of video input channel 1
/api/param?video.input(1).brightness
Example of response
video.input(1).brightness=50&200 OK
Interpretation
Acquire the Brightness set value of the specified video input channel. Specify the video input channel between
the range of 1 to 4. Range of Brightness is between 0 to 100. The larger the value, the brighter it will become.
Allowed users
admin, operator, user
5.2. Signal Input