set-video-output-format 接口
新增于:V1.4
设置视频输出的色彩空间和量化范围。
通过 get-info 可以获取到录制相关参数的取值范围:
"video-format": {
    "output-color-fmt": [],       // 色彩空间取值范围
    "quant-range": [],           // 量化范围取值范围
    "sat-range": [],             // 饱和范围取值范围
  }
请求方式
GET http://ip/usapi?method=set-video-output-format&is-color-fmt=0&color-fmt=1&is-quant-range=0&quant-range=1&is-sat-range=0&sat-range=1
| 参数 | 说明 | 
|---|---|
| method | 方法名称:set-video-output-format | 
| is-color-fmt | 是否自定义设置色彩空间,默认值:0 | 
| color-fmt | 设置色彩空间, 默认值: 3 | 
| is-quant-range | 是否自定义设置量化范围,默认值:0 | 
| quant-range | 设置量化范围, 默认值: 2 | 
| is-sat-range | 是否自定义设置饱和范围,默认值:0 | 
| sat-range | 设置饱和范围, 默认值: 2 | 
返回数据
{
  "result": 0
}
| 属性 | 说明 | 
|---|---|
| result | 返回状态,0:操作成功,返回其它值请参考 API 状态码 |