set-video-mode

Use the interface to set the video resolution to playback. The value must be listed in the result of get-supported-video-modes.

HTTP Request

GET http://ip/mwapi?method=set-video-mode&param1=value1&param2=value2...

Response Body

{
  "status": 0,
    "width": 720,
    "height": 576,
    "interlaced": false,
    "field-rate": 5000,
    "aspect-ratio": 1.25000000
}
Name Description
status 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values.
width Shows the width of video in pixels.
height Shows the height of video in pixels.
interlaced True indicates that convert the video into an interlaced signal, otherwise it is false.
field-rate Shows the field rate of the decoded NDI video.
aspect-ratio Shows the aspect ratio of the decoded NDI stream.

Example

http://ip/mwapi?method=set-video-mode&width=720&height=576&aspect-ratio=1.25&field-rate=5000&interlaced=false
Parameter Description
method set-video-mode
width Specifies the width of video in pixels.
height Specifies the height of video in pixels.
interlaced True indicates that convert the video into an interlaced form, otherwise it is false.
field-rate Specifies the field rate.
aspect-ratio Specifies the aspect ratio.

results matching ""

    No results matching ""