JVC VN-E4U API Guide - Page 24

Setting JPEG Frame Rate for VN-E4, Acquiring Rate Control Setting from VN-E4, Setting Rate Control

Page 24 highlights

5. API for Acquiring/Changing Parameters of VN-E4 _ 5.3. JPEG Encoding Setting JPEG Frame Rate for VN-E4 Format /api/param?encode(Number).framerate=data Example When setting frame rate of Encoding No. 1 /api/param?encode(1).framerate=30 Example of response encode(1).framerate&200 OK Interpretation Change frame rate of the specified encoding number. Note that encoding numbers are different from video input channels. Frame rate can be set to 30, 15, 10, 7.5, 6, 5, 3, 2 or 1 in the case of VN-E4 and VN-E4U (NTSC). Frame rate can be set to 25, 12.5, 8, 6, 5, 4, 3, 2 or 1 in the case of VN-E4E (PAL). Allowed users admin, operator Acquiring Rate Control Setting from VN-E4 Format /api/param?encode(Number).cbr_mode Example When acquiring rate control setting of Encoding No. 1 /api/param?encode(1).cbr_mode Example of response encode(1).cbr_mode=afs&200 OK Interpretation Acquire the rate control setting of the specified encoding number. Note that encoding numbers are different from video input channels. Quantization table is fixed in the case of vfs (VariableFileSize). In the case of afs (AverageFileSize), bit rates are controlled such that the average size of multiple files remains constant. For cfs (ConstantFileSize), bit rates are controlled such that the size of each file remains constant. Upon setting to afs or vfs, the rate control processing load will increase and the maximum frame rate that can be realized will drop. Allowed users admin, operator, user Setting Rate Control for VN-E4 Format /api/param?encode(Number).cbr_mode=data Example When setting rate control of Encoding No. 1 /api/param?encode(1).cbr_mode=vfs Example of response encode(1).cbr_mode&200 OK Interpretation Change rate control of the specified encoding number. Note that encoding numbers are different from video input channels. Rate control can be set to vfs, afs, or cfs. In vfs (VariableFileSize), quantization table is fixed. In afs (AverageFileSize), average file size of multiple JPEGs is controlled to be constant. In cfs (ConstanFileSize), each file size is controlled to be constant. In cfs mode, maximum frame rate becomes a quater of the maximum frame rate of vfs/afs. Allowed users admin, operator 24

  • 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

24
5. API for Acquiring/Changing Parameters of VN-E4 _
5.3. JPEG Encoding
Setting JPEG Frame Rate for VN-E4
Format
/api/param?encode(Number).framerate=data
Example
When setting frame rate of Encoding No. 1
/api/param?encode(1).framerate=30
Example of response
encode(1).framerate&200 OK
Interpretation
Change frame rate of the specified encoding number. Note that encoding numbers are different from video
input channels.
Frame rate can be set to 30, 15, 10, 7.5, 6, 5, 3, 2 or 1 in the case of VN-E4 and VN-E4U (NTSC).
Frame rate can be set to 25, 12.5, 8, 6, 5, 4, 3, 2 or 1 in the case of VN-E4E (PAL).
Allowed users
admin, operator
Acquiring Rate Control Setting from VN-E4
Format
/api/param?encode(Number).cbr_mode
Example
When acquiring rate control setting of Encoding No. 1
/api/param?encode(1).cbr_mode
Example of response
encode(1).cbr_mode=afs&200 OK
Interpretation
Acquire the rate control setting of the specified encoding number. Note that encoding numbers are different
from video input channels. Quantization table is fixed in the case of vfs (VariableFileSize). In the case of afs
(AverageFileSize), bit rates are controlled such that the average size of multiple files remains constant. For cfs
(ConstantFileSize), bit rates are controlled such that the size of each file remains constant. Upon setting to afs
or vfs, the rate control processing load will increase and the maximum frame rate that can be realized will drop.
Allowed users
admin, operator, user
Setting Rate Control for VN-E4
Format
/api/param?encode(Number).cbr_mode=data
Example
When setting rate control of Encoding No. 1
/api/param?encode(1).cbr_mode=vfs
Example of response
encode(1).cbr_mode&200 OK
Interpretation
Change rate control of the specified encoding number. Note that encoding numbers are different from video
input channels.
Rate control can be set to vfs, afs, or cfs. In vfs (VariableFileSize), quantization table is fixed. In afs
(AverageFileSize), average file size of multiple JPEGs is controlled to be constant. In cfs (ConstanFileSize),
each file size is controlled to be constant. In cfs mode, maximum frame rate becomes a quater of the maximum
frame rate of vfs/afs.
Allowed users
admin, operator