API URL
/api/codec/capture/GetInfo.json
Request
Method:GET/POSTParameters: NONE
Response
Example:
{
"result": "ok",
"data": [
{
"rotate": 0,
"videoSource": "hdmi",
"sourceSize": "1280×720",
"sourceFrameRate": 60,
"bMirror": true,
"bFlip": false,
"contrast": 128,
"saturation": 128,
"brightness": 128
}
]
}
Data字段说明:
Field | Value | 说明 |
---|---|---|
rotate | [Integer] | 0/90/180/270 表示旋转角度 |
videoSource | [String] | hdmi/sdi表示视频源接口类型 |
sourceSize | [String] | 1920×1080表示视频源分辨率 |
rotate | [Integer] | 60表示视频源帧率 |
bMirror | [Boolean] | true/false表示是否开启水平翻转(镜像) |
bFlip | [Boolean] | true/false表示是否开启垂直翻转(镜像) |
contrast | [Integer] | 表示对比度,取值范围:[0,255] |
saturation | [Integer] | 表示饱和度,取值范围:[0,255] |
brightness | [Integer] | 表示亮度,取值范围:[0,255] |