Refine video source resolution fields
This commit is contained in:
parent
f41a924a2d
commit
a5205ac359
@ -75,14 +75,15 @@
|
||||
### 2. 输入参数
|
||||
|
||||
- `url`:输入地址
|
||||
- `resolution`:分辨率,例如 `1920x1080`
|
||||
- `resolution`:标准分辨率等级,例如 `720p`、`1080p`、`1440p`、`4k`
|
||||
- `frame_size`:像素尺寸,例如 `1280x720`、`1920x1080`
|
||||
- `fps`:帧率
|
||||
- `video_format`:视频格式,例如 `h264`、`h265`、`mjpeg`
|
||||
|
||||
说明:
|
||||
|
||||
- `url` 必填
|
||||
- `resolution`、`fps`、`video_format` 可选
|
||||
- `resolution`、`frame_size`、`fps`、`video_format` 可选
|
||||
|
||||
### 3. 安装信息
|
||||
|
||||
@ -127,7 +128,8 @@
|
||||
"description": "东门主入口摄像头",
|
||||
"config": {
|
||||
"url": "rtsp://10.0.0.1/live",
|
||||
"resolution": "1920x1080",
|
||||
"resolution": "1080p",
|
||||
"frame_size": "1920x1080",
|
||||
"fps": 25,
|
||||
"video_format": "h264",
|
||||
"focal_length": "4mm",
|
||||
@ -224,7 +226,8 @@
|
||||
|
||||
说明:
|
||||
|
||||
- 列表优先展示能帮助快速识别和定位的视频信息
|
||||
- 列表中的“分辨率”优先显示 `resolution` 这类标准等级
|
||||
- `frame_size` 作为详情中的技术补充字段,不默认放在列表里
|
||||
- 焦距、安装高度、安装角度不放在列表里
|
||||
|
||||
## 详情页字段分组
|
||||
@ -240,6 +243,7 @@
|
||||
|
||||
- URL
|
||||
- 分辨率
|
||||
- 像素尺寸
|
||||
- 帧率
|
||||
- 视频格式
|
||||
|
||||
@ -262,6 +266,7 @@
|
||||
- `area`
|
||||
- `description`
|
||||
- `config.resolution`
|
||||
- `config.frame_size`
|
||||
- `config.fps`
|
||||
- `config.video_format`
|
||||
- `config.focal_length`
|
||||
@ -272,7 +277,8 @@
|
||||
|
||||
- `name` 必须唯一
|
||||
- `fps` 如填写,应可解析为数值
|
||||
- `resolution` 第一版可先作为字符串保存,不强制拆成宽高
|
||||
- `resolution` 使用标准分辨率等级表达,例如 `720p`、`1080p`
|
||||
- `frame_size` 第一版可先作为字符串保存,不强制拆成宽高整数
|
||||
|
||||
## 删除约束
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user