Set Video Output Mode

1. API Description

This API is used to set video output mode. The mode must be obtained from the Get Video Output Mode List API.

Request mode: POST [ip]/api/video/mode/set

Administrator Rights Login Authentication
No Yes

2. Input Parameters

Refer to Mode Structure, only the following fields are required:

Parameter Type Description
width Int Video width in pixels
height Int Video height in pixels
interlaced Boolean Whether it is interlaced scan
frame-rate Int Frame rate
aspect-x Int Width in aspect ratio
aspect-y Int Height in aspect ratio

3. Output Parameters

Parameter Name Type Description
status Int Status code

4. Example

Set HDMI output interface 1 to 1920x1080p60 output mode.

Input Example
{
    "aspect-ratio": 1.7777777777777777,
    "aspect-x": 16,
    "aspect-y": 9,
    "frame-rate": 6000,
    "height": 1080,
    "interlaced": false,
    "width": 1920
}
Output Example
{
    "status": 0
}

results matching ""

    No results matching ""

    results matching ""

      No results matching ""