get-signal-info
Use this interface to obtain information of video and audio input signal.
HTTP Request
GET http://ip/usapi?method=get-signal-info&input-device
Parameter | Description |
---|---|
method | get-signal-info |
input-device | Input source. 1: SDI 2: HDMI |
Response Body
{
"result": 0
"signal-info-types": [
"video-info",
"audio-info",
"hdmi-info"
],
"hdmi-info": {
"mode": "hdmi",
"vic": 0,
"hdcp": false,
"it-content": false,
"3d-format": false,
"timing-h-total": 1650,
"timing-h-active": 1280,
"timing-h-frontporch": 110,
"timing-h-syncwidth": 40,
"timing-h-backporch": 220,
"timing-f0v-syncwidth": 5,
"timing-f0v-frontporch": 5,
"timing-f0v-backproch": 20,
"timing-f0v-active": 720,
"timing-f0v-totalheight": 750
},
"audio-info": {
"codec": "lpcm",
"num-channels": 2,
"sample-rate": 48000,
"bit-count": 16
},
"video-info": {
"codec": "uncompressed",
"width": 1280,
"height": 720,
"scan": "progressive",
"field-rate": 60.00,
"color-depth": 8,
"color-format": "bt.709",
"aspect-ratio": "16:9",
"sampling": "4:4:4",
"quant-range": "limited",
"sat-range": "limited",
"frame-struct": "2d"
}
}
Item | Description |
---|---|
result | Returned status. 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |