Skip to main content

Scaler

A Node object whose type is SCALER. This object is only available on transmitter devices.

Configuration

ScalerNodeConfig
{
"width" : Integer,
"height" : Integer
}
Member nameTypeDescription
widthIntegerScaled video width, in pixels
heightIntegerScaled video height, in pixels

Status

ScalerNodeStatus
{
"video": VideoFormat
}
Member nameTypeDescription
videoVideoFormatOutput video format of the scaler

Inputs

Input nameConfigurableDescription
mainYesMain video input. An HDMI decoder node or, for devices that support it, a frame rate converter to select a different frame rate.

Example

As returned by get device:

{
"type" : "SCALER",
"index" : 0,
"configuration" : {
"width" : 0,
"height" : 0
},
"status" : {
"video" : {
"width" : 0,
"height" : 0,
"frames_per_second" : 60,
"color_space" : "RGB",
"bits_per_pixel" : 8,
"scan_mode" : "PROGRESSIVE"
}
},
"inputs" : [
{
"name" : "main",
"index" : 0,
"configuration" : {
"source" : {
"value" : 0,
"choices" : [
{
"value" : 0,
"description" : "HDMI video input",
"details" : {
"ref_class" : "NODE",
"ref_type" : "HDMI_DECODER",
"ref_index" : 0
}
},
{
"value" : 1,
"description" : "Frame rate converter",
"details" : {
"ref_class" : "NODE",
"ref_type" : "FRAME_RATE_CONVERTER",
"ref_index" : 0
}
}
]
}
},
"status" : {
"source" : {
"ref_class" : "NODE",
"ref_type" : "HDMI_DECODER",
"ref_index" : 0
}
}
}
]
}