Getting jpeg rate control setting from vn-v686, Setting jpeg rate control for vn-v686, Getting jpeg file size setting from vn-v686 – JVC VN-V686UAPI User Manual

Page 32: Setting jpeg file size setting for vn-v686

Advertising
background image

Example

/api/param?encode(1).framesize=qvga

Example of response

encode(1).framesize&

202 Accepted(encode(1).status=save)

Interpretation Change JPEG frame size. Specify "vga" or "qvga". File size setting is changed automatically when

frame size is changed. If frame size is changed from vga to qvga, file size is changed to third part of original size. If

frame size is changed from qvga to vga, file size is changed to three times size.

When frame size of JPEG and MPEG-4 are same, privacy masking is available for both compression. When they are

not same, compression on QVGA can have privacy masking.

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 Rate Control Setting from VN-V686

Format

/api/param?encode(1).cbr_mode

Example of response

encode(1).cbr_mode=afs&200 OK

Interpretation Acquire the rate control setting of JPEG. 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.

Allowed users admin, operator, user

Setting JPEG Rate Control for VN-V686

Format

/api/param?encode(1).cbr_mode=data

Example

/api/param?encode(1).cbr_mode=vfs

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-V686

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-V686

Format

/api/param?encode(1).quality=Data

Example

/api/param?encode(1).quality=30k

32

Advertising