|
- {
- "FFmpegRtspServer": {
- "UseHistoryVideo": false,
- "ARRtspPort": 8554,
- "DrawBufferCount-comment": "等待绘制帧的缓存帧数",
- "DrawBufferCount": 25,
- "EncodeBufferCount-comment": "等待编码的缓存帧数",
- "EncodeBufferCount": 25,
- "SendBufferCount-comment": "等待发送的缓存帧数",
- "SendBufferCount": 25,
- "EncoderH264CRF-comment": "设置编码h264时的crf参数,值越大,码率越小,合适值为18~28,有效值为0~51",
- "EncoderH264CRF": "28"
- },
- "all_ar-comment": "为所有相机加上 AR",
- "all_ar": false,
- "all_hls-comment": "为所有相机加上 AR",
- "all_hls": false,
- "ItemList-comment": "为个别相机做属性定制",
- "ItemList": [
- {
- "describe": "eg.",
- "enable": true,
- "need_change_camera-comment": "是否需要切换相机, 允许切换相机,则 session 可为空, 必须写上 output_path 值",
- "need_change_camera": false,
- "session": "391",
- "cam_id-comment": "为空时,使用 session",
- "cam_id": "391",
- "virtual_camera": false,
- "stay_play": true,
-
- "checkpoint_id-comment": "初始化卡口id, 针对航标巡逻添加,不大于0,则会根据cam_id获取对应的卡口id",
- "checkpoint_id": -1,
- "enable_no_frame-comment": "在没有视频帧输入时,是否出流",
- "enable_no_frame": true,
- "input_path-comment": "输入路径, 为空使用 session 实时流",
- "input_path": "",
- "output_type-comment": "输出类型 rtspserver, rtmppushstream",
- "output_type": "rtspserver",
- "output_path-comment": "输出地址, 为空时使用 ${session} 为输出地址, 不允许 session 与 output_path 同时为空",
- "output_path-comment1": "rtmp://localhost:1935/hls/track1",
- "output_path-comment2": "输出 rtsp 类型只需要写子路径, eg: track1",
- "output_path": "391",
- "enable_filter": true,
- "filter_name": "",
- "ffmpeg": {
- "encoder_thread_count": 0,
- "encoder_framerate": 0,
- "enable_gpu": true
- },
- "analyzer": {
- "target_score-comment": "小于此值的目标才显示",
- "target_score": 0.0,
- "track_count_min-comment": "小于此值的目标不显示",
- "track_count_min": 5,
- "track_interval-comment": "跟踪间隔在于此值,则不绘制此目标,视发送的图片检测间隔调整,单位毫秒",
- "track_interval": 1500,
- "shiplabel_checkscore-comment": "船牌检测分数",
- "shiplabel_checkscore": 0.6,
- "shiplabel_score-comment": "船牌识别分数",
- "shiplabel_score": 0.0,
- "shiplabel_charcount-comment": "船牌字符个数",
- "shiplabel_charcount": 2
- }
- }
- ]
- }
|