修改Readme文件
This commit is contained in:
parent
0cc31ca9b9
commit
f8e0c04353
@ -366,7 +366,7 @@ GraphMgr 负责:
|
||||
},
|
||||
"outputs": [
|
||||
{ "proto": "rtsp", "port": 8554, "path": "/live/cam1" },
|
||||
{ "proto": "hls", "port": 8080, "path": "/hls/cam1", "segment_sec": 2 }
|
||||
{ "proto": "hls", "path": "/data/hls/cam1/index.m3u8", "segment_sec": 2 }
|
||||
]
|
||||
}
|
||||
],
|
||||
@ -500,6 +500,9 @@ GraphMgr 负责:
|
||||
| `alarm` | 报警规则 + 多种报警动作 | `rules`, `actions`(见下文详细说明) | CPU |
|
||||
| `storage` | 持续录像(MP4/TS 切片) | `mode`, `segment_sec`, `path` | MPP VENC + IO |
|
||||
| `publish` | 编码并推流(RTSP/HLS) | `codec`, `bitrate`, `outputs` | MPP VENC + 网络 |
|
||||
| `zlm_http` | 内嵌 HTTP 文件服务(为 HLS 提供访问) | `root`, `prefix`, `port`, `ssl` | ZLMediaKit(mk_api) |
|
||||
|
||||
> 说明:当前实现中 `publish` 的 `proto:"hls"` 为**落盘生成 m3u8/ts 文件**,`path` 应指向 `index.m3u8` 文件路径;若需要通过网络播放,建议新增 `zlm_http` 节点启动内嵌 HTTP,并将 `root` 指向 HLS 父目录(如 `/data/hls`)。
|
||||
|
||||
**osd 参数说明:**
|
||||
- `labels`: 自定义类别标签数组,如 `["cat", "dog", "bird"]`,为空则使用 COCO 默认标签
|
||||
|
||||
Loading…
Reference in New Issue
Block a user