Jpeg encoding, Acquiring jpeg encoding on/off from vn-e4, Setting jpeg encoding on/off for vn-e4 – JVC 4ch Network Encoder VN-E4 User Manual
Page 23: Acquiring frame rate from vn-e4, Api for acquiring/changing parameters of vn-e4
23
5. API for Acquiring/Changing Parameters of VN-E4 _
This API is related to JPEG encoding. This is equivalent to the feature on the Encoding page of the WEB setting page. Refer to the instruction
manual for details on the Encoding page.
Up to 8 types of JPEG data may be encoded according to the combination of the input channel and frame size. Specify a type from the 8
encoding numbers below when acquiring/changing settings via API.
Acquiring JPEG Encoding On/Off from VN-E4
Format
/api/param?encode(Number).status
Example
When acquiring encoding on/off of Encoding No. 1
/api/param?encode(1).status
Example of response
encode(1).status=on&200 OK
Interpretation
Acquire the encoding on/off of the specified encoding number. Note that encoding numbers are different from
video input channels.
Allowed users
admin, operator, user
Setting JPEG Encoding On/Off for VN-E4
Format
/api/param?encode(Number).status=data
Example
When setting encoding on/off of Encoding No. 1
/api/param?encode(1).status=off
Example of response
encode(1).status&200 OK
Interpretation
Change the encoding on/off of the specified encoding number. Specify as on to turn on and off to turn off. Note
that encoding numbers are different from video input channels.
Allowed users
admin, operator
Acquiring Frame Rate from VN-E4
Format
/api/param?encode(Number).framerate
Example
When acquiring frame rate of Encoding No. 1
/api/param?encode(1).framerate
Example of response
encode(1).framerate=15&200 OK
Interpretation
Acquire frame rate of the specified encoding number. Note that encoding numbers are different from video
input channels.
Allowed users
admin, operator, user
5.3. JPEG Encoding
Encoding No.
Input Channel
Frame Size
1
1
VGA
2
1
QVGA
3
2
VGA
4
2
QVGA
5
3
VGA
6
3
QVGA
7
4
VGA
8
4
QVGA