View difference between Paste ID: 4WPhquMK and mZWfNxdd
SHOW: | | - or go back to the newest paste.
1
mqtt:
2
  host: 192.168.1.6
3
  user: xxxxx
4
  password: xxxxxxxxxxx
5
6
ffmpeg:
7
  hwaccel_args: -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p
8
9
go2rtc:
10
  streams:
11-
    street_main: 
11+
    street: 
12
      - "ffmpeg:http://192.168.1.103/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=xxxxxxxxxxxx#video=copy#audio=copy#audio=opus"
13
    street_sub: 
14
      - "ffmpeg:http://192.168.1.103/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=xxxxxxxxxx"
15
16
cameras:
17
  street:
18
    ffmpeg:
19
      inputs:
20-
        - path: rtsp://192.168.1.13:8554/street_main?video=copy&audio=aac
20+
        - path: rtsp://localhost:8554/street?video=copy&audio=aac
21
          input_args: preset-rtsp-restream
22
          roles:
23
            - record
24-
        - path: rtsp://192.168.1.13:8554/street_sub?video=copy
24+
        - path: rtsp://localhost:8554/street_sub?video=copy
25
          input_args: preset-rtsp-restream
26
          roles:
27
            - detect
28
    detect:
29
      width: 1280
30
      height: 720
31
      fps: 5
32
    motion:
33
      mask: 139,171,159,175,155,240,336,226,358,207,390,202,389,177,647,224,651,185,1058,218,1013,245,1280,282,1280,0,0,0,0,52,0,108,0,169
34
35
36
     
37
    zones:
38
      for_car:
39
        coordinates: 1280,720,1280,289,1098,264,1011,251,1062,206,803,197,807,348,700,382,582,360,528,306,553,200,389,177,390,202,360,206,336,226,378,720 
40
        objects:
41
          - car
42
      for_person:
43
        coordinates: 159,175,155,240,336,226,360,206,390,202,389,177,650,218,656,188,1054,200,1015,245,1280,284,1280,720,0,720,0,492,0,342,0,169 
44
        objects:
45
          - person  
46
    record:
47
      enabled: True
48
      retain_days: 0
49
      events:
50
        pre_capture: 5
51
        post_capture: 5
52
        required_zones: []
53
        objects:
54
          - person
55
          - car
56
        retain:
57
          default: 30    
58
    objects:
59
      track:
60
        - person
61
        - car
62
      filters:
63
        car:
64
          mask:
65
            - 0,720,0,0,1280,0,1280,289,1098,264,1011,251,1062,206,803,197,807,348,700,382,582,360,528,306,553,200,389,177,390,202,358,207,378,720
66
          
67
 
68
        person:
69
          threshold: 0.7
70
          mask:
71
            - 139,171,159,175,155,240,336,226,358,207,390,202,389,177,647,224,651,185,1058,218,1013,245,1280,282,1280,0,0,0,0,52,0,108,0,169
72
      
73