get-signal-info 接口

获取视频和音频输入信号信息。

请求方式

GET http://ip/usapi?method=get-signal-info&input-device
参数 说明
method 方法名称:get-signal-info
input-device 输入信号源
1: SDI 输入
2: HDMI 输入

返回数据

{
  "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"
  }
}
属性 说明
result 返回状态。
0:操作成功, 返回其它值请参考 API 状态码

与“”相关结果约

    找不到与“”相关的结果

    与“”相关结果约

      找不到与“”相关的结果