56 lines
1.5 KiB
YAML
56 lines
1.5 KiB
YAML
source-list:
|
|
- main: rtsp://admin:cda1b2c3@192.168.1.6:554/Streaming/Channels/101 # 正1
|
|
side: rtsp://admin:cda1b2c3@192.168.1.4:554/Streaming/Channels/101 # 辅2
|
|
- main: rtsp://admin:cda1b2c3@192.168.1.7:554/Streaming/Channels/101 # 正2
|
|
side: rtsp://admin:cda1b2c3@192.168.1.8:554/Streaming/Channels/101 # 辅1
|
|
|
|
# 测试环境
|
|
# - main: file:///opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/sentinel/dist/source/traffic_test.mp4
|
|
# side: rtsp://admin:cda1b2c3@10.0.4.41:554/Streaming/Channels/101
|
|
|
|
vehicle_type:
|
|
# 0:不限制 1:轿跑车 2:大型车辆 3:轿车 4:SUV 5:卡车 6:面包车/厢型车
|
|
# 7:大型车辆 + 卡车(生产)
|
|
type: 0
|
|
|
|
output:
|
|
## 1:file ouput 2:fake output 3:eglsink output 4:rtsp output
|
|
type: 4
|
|
## 0: H264 encoder 1:H265 encoder
|
|
enc: 0
|
|
## encoder type 0=Hardware 1=Software
|
|
enc-type: 0
|
|
bitrate: 4000000
|
|
##The file name without suffix
|
|
filename: test
|
|
|
|
primary-gie:
|
|
#0:nvinfer, 1:nvinfeserver
|
|
plugin-type: 0
|
|
##For car detection
|
|
config-file-path: pgie_0_traffic_cam_net.yml
|
|
unique-id: 1
|
|
|
|
#If there is ROI
|
|
analytics:
|
|
enable: 1
|
|
config-file: config_nvdsanalytics.txt
|
|
|
|
secondary-gie1:
|
|
unique-id: 2
|
|
#0:nvinfer, 1:nvinfeserver
|
|
plugin-type: 0
|
|
config-file-path: sgie_1_vehicle_type.yml
|
|
process-mode: 2
|
|
|
|
tracker:
|
|
enable: 1
|
|
tracker-width: 640
|
|
tracker-height: 384
|
|
gpu-id: 0
|
|
ll-lib-file: /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so
|
|
ll-config-file: config_tracker.yml
|
|
enable-batch-process: 1
|
|
|
|
|