JVC VN-E4U API Guide - Page 25

Acquiring File Size Setting from VN-E4, Setting File Size for VN-E4, Acquiring Interpolation Setting

Page 25 highlights

5. API for Acquiring/Changing Parameters of VN-E4 _ 5.3. JPEG Encoding Acquiring File Size Setting from VN-E4 Format /api/param?encode(Number).quality Example When acquiring file size setting of Encoding No. 1 /api/param?encode(1).quality Example of response encode(1).quality=40k&200 OK Interpretation Acquire the file size setting of the specified encoding number. Note that encoding numbers are different from video input channels. If the response is 40k for example, the setting is 40KB. Allowed users admin, operator, user Setting File Size for VN-E4 Format /api/param?encode(Number).quality=Data Example When setting the file size of Encoding No. 1 /api/param?encode(1).quality=60k Example of response encode(1).quality&200 OK Interpretation Change the file size of the specified encoding number. Note that encoding numbers are different from video input channels. The unit of set values is in KB. VN-E4 will perform rate control with this file size as the target. The frame sizes for ch(1), ch(3), ch(5) and ch(7) are in VGA, and therefore setting between the range of 10 k to 100 k is possible. The frame sizes for ch(2), ch(4), ch(6) and ch(8) are in QVGA, and therefore setting between the range of 3 k to 33 k is possible. When VFS (VariableFileSize) is specified for rate control at the WEB setting page, 7 levels will be available for selection. Each of these choices corresponds to the file sizes as follows. Level File Size Setting for VGA File Size Setting for QVGA 1 80k 27k 2 60k 20k 3 40k 13k 4 30k 10k 5 25k 8k 6 20k 7k 7 15k 5k When rate control is set to vfs and a file size that is not stated above is specified, the closest choice will be displayed on the WEB setting page. Allowed users admin, operator Acquiring Interpolation Setting from VN-E4 Format /api/param?encode(Number).interpolate Example When acquiring interpolation of Encoding No. 1 /api/param?encode(1).interpolate Example of response encode(1).interpolate=on&200 OK Interpretation Acquire the interpolation setting of the specified encoding number. Note that encoding numbers are different from video input channels. When this is set to on, JPEG-compression will be performed upon creating VGA based on the first field out of the 2 fields that make up the video frame. When this is set to off, the video frame will be directly JPEG-compressed. This item is valid when the frame size is in VGA (Encoding Nos.: 1, 3, 5 and 7). When the frame size is in QVGA (Encoding Nos.: 2, 4, 6 and 8), this will be invalid as only the first field will be used from the beginning. Allowed users admin, operator, user 25

  • 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

25
5. API for Acquiring/Changing Parameters of VN-E4 _
5.3. JPEG Encoding
Acquiring File Size Setting from VN-E4
Format
/api/param?encode(Number).quality
Example
When acquiring file size setting of Encoding No. 1
/api/param?encode(1).quality
Example of response
encode(1).quality=40k&200 OK
Interpretation
Acquire the file size setting of the specified encoding number. Note that encoding numbers are different from
video input channels. If the response is 40k for example, the setting is 40KB.
Allowed users
admin, operator, user
Setting File Size for VN-E4
Format
/api/param?encode(Number).quality=Data
Example
When setting the file size of Encoding No. 1
/api/param?encode(1).quality=60k
Example of response
encode(1).quality&200 OK
Interpretation
Change the file size of the specified encoding number. Note that encoding numbers are different from video
input channels. The unit of set values is in KB. VN-E4 will perform rate control with this file size as the target.
The frame sizes for ch(1), ch(3), ch(5) and ch(7) are in VGA, and therefore setting between the range of 10 k to
100 k is possible. The frame sizes for ch(2), ch(4), ch(6) and ch(8) are in QVGA, and therefore setting between
the range of 3 k to 33 k is possible.
When VFS (VariableFileSize) is specified for rate control at the WEB setting page, 7 levels will be available
for selection. Each of these choices corresponds to the file sizes as follows.
When rate control is set to vfs and a file size that is not stated above is specified, the closest choice will be
displayed on the WEB setting page.
Allowed users
admin, operator
Acquiring Interpolation Setting from VN-E4
Format
/api/param?encode(Number).interpolate
Example
When acquiring interpolation of Encoding No. 1
/api/param?encode(1).interpolate
Example of response
encode(1).interpolate=on&200 OK
Interpretation
Acquire the interpolation setting of the specified encoding number. Note that encoding numbers are different
from video input channels. When this is set to on, JPEG-compression will be performed upon creating VGA
based on the first field out of the 2 fields that make up the video frame. When this is set to off, the video frame
will be directly JPEG-compressed. This item is valid when the frame size is in VGA (Encoding Nos.: 1, 3, 5
and 7). When the frame size is in QVGA (Encoding Nos.: 2, 4, 6 and 8), this will be invalid as only the first
field will be used from the beginning.
Allowed users
admin, operator, user
Level
File Size Setting for VGA
File Size Setting for QVGA
1
80k
27k
2
60k
20k
3
40k
13k
4
30k
10k
5
25k
8k
6
20k
7k
7
15k
5k