get-video-config 接口
获取视频设置信息。
请求方式
GET http://ip/mwapi?method=get-video-config
| 参数 | 
说明 | 
| method | 
方法名称:get-video-config | 
返回数据
{
  "status": 0,
  "show-adv-ui": false,
  "in-auto-aspect": true,
  "in-aspect-x": 16,
  "in-aspect-y": 9,
  "in-auto-color-fmt": true,
  "in-color-fmt": "rgb",
  "in-auto-quant-range": true,
  "in-quant-range": "full",
  "brightness": 0,
  "contrast": 100,
  "hue": 0,
  "saturation": 100,
  "in-crop-enabled": false,
  "in-crop-left-percent": 0.00,
  "in-crop-top-percent": 0.00,
  "in-crop-right-percent": 0.00,
  "in-crop-bottom-percent": 0.00,
  "deinterlace": "none",
  "ar-convertion": "ignore",
  "out-flip": false,
  "out-mirror": false,
  "out-cx": 1920,
  "out-cy": 1080,
  "out-raw-resolution": true,
  "out-aspect-x": 16,
  "out-aspect-y": 9,
  "out-auto-aspect": true,
  "out-fr-convertion": "raw",
  "out-auto-color-fmt": true,
  "out-color-fmt": "bt.709",
  "out-auto-sat-range": true,
  "out-sat-range": "limited",
  "out-auto-quant-range": true,
  "out-quant-range": "limited",
  "bit-rate-ratio": 100,
  "low-res-full-fr": false
}
| 属性 | 
说明 | 
| status | 
返回状态。0:数据获取成功,返回其它值请参考 API 状态码。 | 
| show-adv-ui | 
高级设置项显示状态,有效值:true/false。 | 
| in-auto-aspect | 
输入宽高比是否自动获取,有效值:true/false。 | 
| in-aspect-x | 
输入宽高比,宽度值。 | 
| in-aspect-y | 
输入宽高比,高度值。 | 
| in-auto-color-fmt | 
输入色彩空间是否自动获取,有效值:true/false。 | 
| in-color-fmt | 
输入色彩空间值,有效值:rgb、bt.601、bt.709、bt.2020。 | 
| in-auto-quant-range | 
输入量化范围是否自动获取,有效值:true/false。 | 
| in-quant-range | 
输入量化范围值,有效值:full、limited。 | 
| brightness | 
亮度,有效值:-100 ~ +100。 | 
| contrast | 
对比度,有效值:50 ~ 200。 | 
| hue | 
色调,有效值:-90 ~ 90。 | 
| saturation | 
饱和度,有效值:0 ~ 200。 | 
| in-crop-enabled | 
预留。 | 
| in-crop-left-percent | 
预留。 | 
| in-crop-top-percent | 
预留。 | 
| in-crop-top-percent | 
预留。 | 
| in-crop-bottom-percent | 
预留。 | 
| deinterlace | 
去隔行,有效值:none、top-field、bottom-field。 | 
| ar-convertion | 
宽高比转换,有效值:ignore、cropping、padding,show-adv-ui 为 true 时才显示。 | 
| out-flip | 
是否反转,有效值:true/false。 | 
| out-mirror | 
是否镜像,有效值:true/false。 | 
| out-cx | 
输出分辨率宽度像素值。 | 
| out-cy | 
输出分辨率高度像素值。 | 
| out-raw-resolution | 
输出分辨率是否与输入一直,有效值:true/false。 | 
| out-auto-aspect | 
输出宽高比是否自动获取,有效值:true/false。 | 
| out-aspect-x | 
输出宽高比,宽度值。 | 
| out-aspect-y | 
输出宽高比,高度值。 | 
| out-fr-convertion | 
输出帧率,有效值:raw,half、one-third、quarter。 | 
| out-auto-color-fmt | 
输出色彩空间是否自动获取,有效值:true/false。 | 
| out-color-fmt | 
输出色彩空间值,有效值:bt.601、bt.709、bt.2020。 | 
| out-auto-sat-range | 
输出饱和度是否自动获取,有效值:true/false。 | 
| out-sat-range | 
输出饱和度值,有效值:full、limited、extended。 | 
| out-auto-quant-range | 
输出量化范围是否自动获取,有效值:true/false。 | 
| out-quant-range | 
输出量化范围值,有效值:full、limited。 | 
| bit-rate-ratio | 
位率控制,有效值:50 ~ 200。 | 
| low-res-full-fr | 
是否启用低带宽全帧率模式,有效值:true/false。 |