Example of response encode(1).cbr_mode&202 Accepted(encode(1).status=save)
Interpretation Change rate control of JPEG. Rate control can be set to vfs or afs. In vfs (VariableFileSize), quantization table is fixed. In afs (AverageFileSize), average file size of multiple JPEGs is controlled to be constant. The change is saved by the API, encode(1).status=save. If the change is not saved, the setting is restored by reboot. Allowed users admin, operator
Getting JPEG File Size Setting from VN-V685/686/686B
Format /api/param?encode(1).quality
Example of response encode(1).quality=40k&200 OK
Interpretation Acquire the file size setting of JPEG. If the response is 40k for example, the setting is 40KB. Allowed users admin, operator, user
Setting JPEG File Size Setting for VN-V685/686/686B
Format /api/param?encode(1).quality=Data
Example /api/param?encode(1).quality=30k
Example of response encode(1).quality&202 Accepted(encode(1).status=save)
Interpretation Change the file size setting of JPEG. The unit of set values is in KB.
When frame size is VGA, setting between the range of 10k to 100k is possible. When frame size is QVGA, setting between the range of 3k to 33k 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. The change is saved by the API, encode(1).status=save. If the change is not saved, the setting is restored by reboot.
Allowed users admin, operator
Getting MPEG-4 Frame Size from VN-V685/686/686B
Format /api/param?encode(2).framesize
34