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