309. JVC API for EncodeThese APIs are related to camera settings. Same functions are shown on the Encode page of the WEB settingpage. Refer to the instruction manual for details on the Encode page.Though multiple encode is available, there are limitations to set multiple encode channels. If VMS does not getmultiple streams from a camera, setting only first channel is recommended that can simplify such limitations.Refer the Encode page of the camera to see those limitations.Getting Compression FormatFormat /api/param?encode(number).typeExample of response encode(1).type=jpeg&200 OKInterpretation Acquire compression format of the encode channel. Encode channel is from encode(1) toencode(3).Allowed users admin, operator, userSetting Compression FormatFormat /api/param?encode(number).type=dataExample /api/param?encode(1).type=h264highExample of response encode(1).type&202 Accepted(encode.status=save)Interpretation Change compression format of the encode channel. Set "jpeg", "h264high", "h264baseline",“mpeg4”or "off". The change of the first encode channel is availed by the API, encode(1).status=save.Example When Changing Compression Format from H.264 to JPEG,it is necessary that rate control setting is specified to “afs” or “vfs”./api/param?encode(1).type=jpeg&encode(1).cbr_mode=afs/api/param?encode(1).status=saveExample When Changing Compression Format from JPEG to H.264,it is necessary that rate control setting is specified to “cbr” or “vbr”./api/param?encode(1).type=h264high&encode(1).cbr_mode=cbr/api/param?encode(1).status=saveCaution: In case of multiple resolution, 3 channels are available at the maximum. In case of multipleencoding, 2 channels are available at the maximum, i.e. 3rd channel is not available.Allowed users admin, operatorGetting Resolution (Frame Size)Format /api/param?encode(number).framesizeExample of response encode(1).framesize=1920x1080&200 OK