set-video-output-format

Use this interface to set color space and quantization for output video.

Obtain range of video format parameters by calling get-info.

"video-format": {
    "output-color-fmt": [],       // range of color space 
    "quant-range": [],           // range of quantization range 
    "sat-range": [],             // range of saturation range 
  }

HTTP Request

GET http://ip/usapi?method=set-video-output-format&is-color-fmt=0&color-fmt=1&is-quant-range=0&quant-range=1&is-sat-range=0&sat-range=1
Parameter Description
method set-video-output-format
input-device Input sources.
1: SDI in
2: HDMI in
is-color-fmt The default value is 0, which indicates to auto-set color space, while 1 indicates a custom setting.
color-fmt The color format parameter value. The default value is 3.
is-quant-range The default value is 0, which indicates to auto-set quantization, while 1 indicates a custom setting.
quant-range The quantization parameter value. The default value is 2.
is-sat-range The default value is 0, which indicates to auto-set saturation, while 1 indicates a custom setting.
sat-range The saturation range. The default value is 2.

Response Body

{
  "result": 0
}
Item Description
result 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values.

results matching ""

    No results matching ""

    results matching ""

      No results matching ""