JVC VN-E4U API Guide - Page 23

JPEG Encoding, Acquiring JPEG Encoding On/Off from VN-E4, Acquiring Frame Rate from VN-E4

Page 23 highlights

5. API for Acquiring/Changing Parameters of VN-E4 _ 5.3. JPEG Encoding 5.3. JPEG Encoding 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. Encoding No. 1 2 3 4 5 6 7 8 Input Channel 1 1 2 2 3 3 4 4 Frame Size VGA QVGA VGA QVGA VGA QVGA VGA QVGA 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 23

  • 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

23
5. API for Acquiring/Changing Parameters of VN-E4 _
5.3. JPEG Encoding
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