JVC VN-E4U API Guide - Page 19

Signal Input, Acquiring Comment in JPEG from VN-E4, Acquiring Brightness from VN-E4

Page 19 highlights

5. API for Acquiring/Changing Parameters of VN-E4 _ 5.2. Signal Input 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 19

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80

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