blakeblackshear / frigate

NVR with realtime local object detection for IP cameras
https://frigate.video
MIT License
16.24k stars 1.53k forks source link

[PTZ]: TRACKING don't follow the detected subject #8033

Closed CurseStaff closed 8 months ago

CurseStaff commented 9 months ago

Describe the problem you are having

the cameras are able to identify the person who is in the tracking area but does not follow them

here is a photo of my zone configuration image

https://github.com/blakeblackshear/frigate/assets/11999989/dd25f9ee-6081-4664-b8ca-b52eb569428f

(the test was carried out on 4 different Ptz implementations and the result is constantly the same, however we see a speed of detection on the first movement which is very rapid!)

Version

dev-9a4f970 + fix #8031

Frigate config file

logger:
  default: info
  logs:
    zeep: info
    frigate.ptz.autotrack: debug
    frigate.ptz.onvif: info

(same onvif for all cam (exempt ip / pasword))
onvif:
      # Required: host of the camera being connected to.
      host: 192.168.100.141
      # Optional: ONVIF port for device (default: shown below).
      port: 80
      # Optional: username for login.
      # NOTE: Some devices require admin to access ONVIF.
      user: admin
      # Optional: password for login.
      password: <pass>
      # Optional: PTZ camera object autotracking. Keeps a moving object in
      # the center of the frame by automatically moving the PTZ camera.
      autotracking:
        # Optional: enable/disable object autotracking. (default: shown below)
        enabled: True
        # Optional: calibrate the camera on startup (default: shown below)
        # A calibration will move the PTZ in increments and measure the time it takes to move.
        # The results are used to help estimate the position of tracked objects after a camera move.
        # Frigate will update your config file automatically after a calibration with
        # a "movement_weights" entry for the camera. You should then set calibrate_on_startup to False.
        calibrate_on_startup: False
        # Optional: the mode to use for zooming in/out on objects during autotracking. (default: shown below)
        # Available options are: disabled, absolute, and relative
        #   disabled - don't zoom in/out on autotracked objects, use pan/tilt only
        #   absolute - use absolute zooming (supported by most PTZ capable cameras)
        #   relative - use relative zooming (not supported on all PTZs, but makes concurrent pan/tilt/zoom movements)
        zooming: absolute
        # Optional: A value to change the behavior of zooming on autotracked objects. (default: shown below)
        # A lower value will keep more of the scene in view around a tracked object.
        # A higher value will zoom in more on a tracked object, but Frigate may lose tracking more quickly.
        # The value should be between 0.1 and 0.75
        zoom_factor: 0.2
        # Optional: list of objects to track from labelmap.txt (default: shown below)
        track:
          - person
          - dog
          - cat
          - bike
          - car
          - truck
        # Required: Begin automatically tracking an object when it enters any of the listed zones.
        required_zones:
          - zone_0
        # Required: Name of ONVIF preset in camera's firmware to return to when tracking is over. (default: shown below)
        return_preset: home
        # Optional: Seconds to delay before returning to preset. (default: shown below)
        timeout: 10

Relevant log output

[2023-10-02 19:30:14] frigate.app                    INFO    : Starting Frigate (0.13.0-9a4f970)
frigate  | 2023-10-02 19:30:14.874365474  [2023-10-02 19:30:14] peewee_migrate.logs            INFO    : Starting migrations
frigate  | 2023-10-02 19:30:14.900597484  [2023-10-02 19:30:14] peewee_migrate.logs            INFO    : There is nothing to migrate
frigate  | 2023-10-02 19:30:16.003167526  [2023-10-02 19:30:16] frigate.app                    INFO    : Recording process started: 583
frigate  | 2023-10-02 19:30:16.005054186  [2023-10-02 19:30:16] frigate.app                    INFO    : go2rtc process pid: 89
frigate  | 2023-10-02 19:30:16.025437940  [2023-10-02 19:30:16] detector.coral                 INFO    : Starting detection process: 592
frigate  | 2023-10-02 19:30:16.027035533  [2023-10-02 19:30:16] frigate.app                    INFO    : Output process started: 594
frigate  | 2023-10-02 19:30:16.027146345  [2023-10-02 19:30:16] frigate.ptz.autotrack          DEBUG   : Autotracker init for cam: maison_tgbt
frigate  | 2023-10-02 19:30:16.029851296  [2023-10-02 19:30:16] frigate.comms.dispatcher       INFO    : Turning off snapshots for terrasse
frigate  | 2023-10-02 19:30:16.035315123  [2023-10-02 19:30:16] frigate.comms.dispatcher       INFO    : Turning off snapshots for maison_tgbt
frigate  | 2023-10-02 19:30:16.884957979  [2023-10-02 19:30:16] frigate.ptz.autotrack          DEBUG   : Autotracker init for cam: test
frigate  | 2023-10-02 19:30:17.404596756  [2023-10-02 19:30:17] frigate.ptz.autotrack          DEBUG   : Autotracker init for cam: terrasse
frigate  | 2023-10-02 19:30:18.149455961  [2023-10-02 19:30:18] frigate.ptz.autotrack          DEBUG   : Autotracker init for cam: garrage_porte
frigate  | 2023-10-02 19:30:18.679909117  [2023-10-02 19:30:16] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as usb
frigate  | 2023-10-02 19:30:18.683505956  [2023-10-02 19:30:18] frigate.detectors.plugins.edgetpu_tfl INFO    : TPU found
frigate  | 2023-10-02 19:30:19.096148973  [2023-10-02 19:30:19] frigate.ptz.autotrack          DEBUG   : Autotracker init for cam: portail_interieur
frigate  | 2023-10-02 19:30:20.210648135  [2023-10-02 19:30:20] frigate.app                    INFO    : Camera processor started for maison_tgbt: 635
frigate  | 2023-10-02 19:30:20.216441199  [2023-10-02 19:30:20] frigate.app                    INFO    : Camera processor started for piscine_videsanitaire: 636
frigate  | 2023-10-02 19:30:20.219565524  [2023-10-02 19:30:20] frigate.ptz.autotrack          DEBUG   : Motion estimator init for cam: maison_tgbt
frigate  | 2023-10-02 19:30:20.221264165  [2023-10-02 19:30:20] frigate.app                    INFO    : Camera processor started for test: 638
frigate  | 2023-10-02 19:30:20.228904812  [2023-10-02 19:30:20] frigate.ptz.autotrack          DEBUG   : Motion estimator init for cam: test
frigate  | 2023-10-02 19:30:20.230402378  [2023-10-02 19:30:20] frigate.app                    INFO    : Camera processor started for terrasse: 640
frigate  | 2023-10-02 19:30:20.230487756  [2023-10-02 19:30:20] frigate.app                    INFO    : Camera processor started for garrage_porte: 642
frigate  | 2023-10-02 19:30:20.233644549  [2023-10-02 19:30:20] frigate.ptz.autotrack          DEBUG   : Motion estimator init for cam: terrasse
frigate  | 2023-10-02 19:30:20.235549894  [2023-10-02 19:30:20] frigate.app                    INFO    : Camera processor started for garrage_maison: 644
frigate  | 2023-10-02 19:30:20.238297874  [2023-10-02 19:30:20] frigate.ptz.autotrack          DEBUG   : Motion estimator init for cam: garrage_porte
frigate  | 2023-10-02 19:30:20.240541644  [2023-10-02 19:30:20] frigate.app                    INFO    : Camera processor started for jardin_avant: 646
frigate  | 2023-10-02 19:30:20.245278174  [2023-10-02 19:30:20] frigate.app                    INFO    : Camera processor started for portail_interieur: 648
frigate  | 2023-10-02 19:30:20.250192849  [2023-10-02 19:30:20] frigate.app                    INFO    : Camera processor started for portail_exterieur: 650
frigate  | 2023-10-02 19:30:20.253052540  [2023-10-02 19:30:20] frigate.ptz.autotrack          DEBUG   : Motion estimator init for cam: portail_interieur
frigate  | 2023-10-02 19:30:20.255455911  [2023-10-02 19:30:20] frigate.app                    INFO    : Camera processor started for interphone: 652
frigate  | 2023-10-02 19:30:20.260193220  [2023-10-02 19:30:20] frigate.app                    INFO    : Capture process started for maison_tgbt: 654
frigate  | 2023-10-02 19:30:20.265147406  [2023-10-02 19:30:20] frigate.app                    INFO    : Capture process started for piscine_videsanitaire: 658
frigate  | 2023-10-02 19:30:20.270160560  [2023-10-02 19:30:20] frigate.app                    INFO    : Capture process started for test: 662
frigate  | 2023-10-02 19:30:20.275125222  [2023-10-02 19:30:20] frigate.app                    INFO    : Capture process started for terrasse: 667
frigate  | 2023-10-02 19:30:20.281090127  [2023-10-02 19:30:20] frigate.app                    INFO    : Capture process started for garrage_porte: 672
frigate  | 2023-10-02 19:30:20.286770195  [2023-10-02 19:30:20] frigate.app                    INFO    : Capture process started for garrage_maison: 677
frigate  | 2023-10-02 19:30:20.292644452  [2023-10-02 19:30:20] frigate.app                    INFO    : Capture process started for jardin_avant: 682
frigate  | 2023-10-02 19:30:20.298424948  [2023-10-02 19:30:20] frigate.app                    INFO    : Capture process started for portail_interieur: 687
frigate  | 2023-10-02 19:30:20.304195196  [2023-10-02 19:30:20] frigate.app                    INFO    : Capture process started for portail_exterieur: 692
frigate  | 2023-10-02 19:30:20.310146216  [2023-10-02 19:30:20] frigate.app                    INFO    : Capture process started for interphone: 697
frigate  | 2023-10-02 19:30:21.190439316  [2023-10-02 19:30:21] frigate.ptz.autotrack          DEBUG   : Motion estimator reset - homography
frigate  | 2023-10-02 19:30:21.203128230  [2023-10-02 19:30:21] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:30:21.220638010  [2023-10-02 19:30:21] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:30:21.233670805  [2023-10-02 19:30:21] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:30:21.374747980  [2023-10-02 19:30:21] frigate.ptz.autotrack          DEBUG   : Motion estimator reset - homography
frigate  | 2023-10-02 19:30:21.382484886  [2023-10-02 19:30:21] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:30:21.392728161  [2023-10-02 19:30:21] frigate.ptz.autotrack          DEBUG   : Motion estimator reset - homography
frigate  | 2023-10-02 19:30:21.406911983  [2023-10-02 19:30:21] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:30:21.575818348  [2023-10-02 19:30:21] frigate.ptz.autotrack          DEBUG   : Motion estimator reset - homography
frigate  | 2023-10-02 19:30:21.964916754  [2023-10-02 19:30:21] frigate.ptz.autotrack          DEBUG   : Motion estimator reset - homography
frigate  | 2023-10-02 19:30:22.422035041  [2023-10-02 19:30:22] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:30:22.483790092  [2023-10-02 19:30:22] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:30:22.500045133  [2023-10-02 19:30:22] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:30:22.515583790  [2023-10-02 19:30:22] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:30:22.532681609  [2023-10-02 19:30:22] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:30:23.550646161  [2023-10-02 19:30:23] frigate.ptz.autotrack          DEBUG   : Running cgate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:30:52.607637786  [2023-10-02 19:30:52] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:30:52.622880480  [2023-10-02 19:30:52] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:30:53.304176828  192.168.100.3 - - [02/Oct/2023:19:30:53 +0200] "GET /api/config HTTP/1.1" 200 44708 "http://192.168.100.240:5000/events" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36" "-"
frigate  | 2023-10-02 19:30:53.304598523  192.168.100.3 - - [02/Oct/2023:19:30:53 +0200] "GET /api/events?cameras=all&labels=all&zones=all&sub_labels=all&time_range=00:00,24:00&timezone=Europe%2FParis&favorites=0&include_thumbnails=0&limit=25 HTTP/1.1" 200 13000 "http://192.168.100.240:5000/events" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36" "-"
frigate  | 2023-10-02 19:30:53.305595783  192.168.100.3 - - [02/Oct/2023:19:30:53 +0200] "GET /api/labels HTTP/1.1" 200 29 "http://192.168.100.240:5000/events" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36" "-"
frigate  | 2023-10-02 19:30:53.335224155  192.168.100.3 - - [02/Oct/2023:19:30:53 +0200] "GET //api/events/1696267826.331969-bjahe6/thumbnail.jpg HTTP/1.1" 200 6328 "http://192.168.100.240:5000/events" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36" "-"
frigate  | 2023-10-02 19:30:53.367816127  192.168.100.3 - - [02/Oct/2023:19:30:53 +0200] "GET /api/sub_labels?split_joined=1 HTTP/1.1" 200 3 "http://192.168.100.240:5000/events" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36" "-"
frigate  | 2023-10-02 19:30:53.639752257  [2023-10-02 19:30:53] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:30:53.662836291  [2023-10-02 19:30:53] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:30:53.674987182  [2023-10-02 19:30:53] frigate.ptz.autotrack          DEBUG   : Running ca2 19:31:33] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:31:33.403756111  [2023-10-02 19:31:33] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:31:33.509418021  [2023-10-02 19:31:33] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:31:33.530380040  [2023-10-02 19:31:33] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:31:34.164604929  172.22.0.1 - - [02/Oct/2023:19:31:34 +0200] "GET /api/version HTTP/1.1" 200 14 "-" "axios/0.27.2" "-"
frigate  | 2023-10-02 19:31:34.658915737  [2023-10-02 19:31:34] frigate.ptz.autotrack          DEBUG   : Running camera maintenance

 <hundred of same log>

frigate  | 2023-10-02 19:32:31.073923614  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:32:31.085579516  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:32:31.099004320  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Distance: 457.5248627123995, threshold: 263.7, iou: 0.9796905709822104
frigate  | 2023-10-02 19:32:31.099428059  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (need to move ptz): 1696267826.331969-bjahe6 (424, 433, 586, 552) 1696267950.759437
frigate  | 2023-10-02 19:32:31.103377384  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:32:31.135769750  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Autotrack: New object: 1696267948.439039-0ir6lj (591, 435, 699, 793) 1696267950.556934
frigate  | 2023-10-02 19:32:31.137143533  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Enqueue movement for frame time: 1696267950.556934 pan: -0.328125, enqueue tilt: -0.13703703703703707, enqueue zoom: 0
frigate  | 2023-10-02 19:32:31.137804236  [2023-10-02 19:32:31] frigate.ptz.onvif              WARNING : garrage_porte is already performing an action, not moving...
frigate  | 2023-10-02 19:32:31.204598490  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Distance: 457.5248627123995, threshold: 263.7, iou: 1.0
frigate  | 2023-10-02 19:32:31.204660896  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (need to move ptz): 1696267826.331969-bjahe6 (424, 433, 586, 552) 1696267950.910471
frigate  | 2023-10-02 19:32:31.260623364  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Distance: 457.5248627123995, threshold: 263.7, iou: 1.0
frigate  | 2023-10-02 19:32:31.260691399  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (need to move ptz): 1696267826.331969-bjahe6 (424, 433, 586, 552) 1696267950.971612
frigate  | 2023-10-02 19:32:31.314149784  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Distance: 278.5677655436824, threshold: 236.39999999999998, iou: 0.5229744388507218
frigate  | 2023-10-02 19:32:31.314210149  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (need to move ptz): 1696267948.439039-0ir6lj (591, 444, 794, 788) 1696267950.65949
frigate  | 2023-10-02 19:32:31.381743140  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Distance: 457.5248627123995, threshold: 263.25, iou: 0.9578122645773693
frigate  | 2023-10-02 19:32:31.381836552  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (need to move ptz): 1696267826.331969-bjahe6 (423, 434, 588, 550) 1696267951.059794
frigate  | 2023-10-02 19:32:31.535679487  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Distance: 225.5681715136247, threshold: 237.6, iou: 0.5020525397720567
frigate  | 2023-10-02 19:32:31.535696689  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (do NOT move ptz): 1696267948.439039-0ir6lj (679, 437, 809, 773) 1696267950.946261
frigate  | 2023-10-02 19:32:31.585535783  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Distance: 457.5248627123995, threshold: 263.25, iou: 1.0
frigate  | 2023-10-02 19:32:31.585543367  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (need to move ptz): 1696267826.331969-bjahe6 (423, 434, 588, 550) 1696267951.168811
frigate  | 2023-10-02 19:32:31.604149496  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Distance: 457.5248627123995, threshold: 263.25, iou: 1.0
frigate  | 2023-10-02 19:32:31.604157701  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (need to move ptz): 1696267826.331969-bjahe6 (423, 434, 588, 550) 1696267951.225962
frigate  | 2023-10-02 19:32:31.681744190  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Distance: 457.5248627123995, threshold: 263.7, iou: 0.9819277108433735
frigate  | 2023-10-02 19:32:31.681813647  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (need to move ptz): 1696267826.331969-bjahe6 (424, 434, 586, 550) 1696267951.380827
frigate  | 2023-10-02 19:32:31.717618401  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Distance: 167.37084572887835, threshold: 246.15, iou: 0.16981132075471697
frigate  | 2023-10-02 19:32:31.717687367  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (need to move ptz): 1696267948.439039-0ir6lj (741, 439, 854, 718) 1696267951.097561
frigate  | 2023-10-02 19:32:31.807410138  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Distance: 141.36477637657833, threshold: 236.85, iou: 0.5026428642664805
frigate  | 2023-10-02 19:32:31.807475872  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (do NOT move ptz): 1696267948.439039-0ir6lj (747, 430, 917, 771) 1696267951.278992
frigate  | 2023-10-02 19:32:31.824212358  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Distance: 457.5248627123995, threshold: 263.7, iou: 1.0
frigate  | 2023-10-02 19:32:31.824300008  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (need to move ptz): 1696267826.331969-bjahe6 (424, 434, 586, 550) 1696267951.555004
frigate  | 2023-10-02 19:32:31.918608734  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Distance: 457.5248627123995, threshold: 263.7, iou: 1.0
frigate  | 2023-10-02 19:32:31.918687928  [2023-10-02 19:32:31] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (need to move ptz): 1696267826.331969-bjahe6 (424, 434, 586, 550) 1696267951.580241
frigate  | 2023-10-02 19:32:32.099677761  [2023-10-02 19:32:32] frigate.ptz.autotrack          DEBUG   : Distance: 124.32618388738553, threshold: 244.79999999999998, iou: 0.23934367754592473
frigate  | 2023-10-02 19:32:32.099748766  [2023-10-02 19:32:32] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (do NOT move ptz): 1696267948.439039-0ir6lj (800, 475, 929, 763) 1696267951.460106
frigate  | 2023-10-02 19:32:32.108779987  [2023-10-02 19:32:32] frigate.ptz.autotrack          DEBUG   : Distance: 456.6366170162003, threshold: 263.25, iou: 0.96542472410651
frigate  | 2023-10-02 19:32:32.108838196  [2023-10-02 19:32:32] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (need to move ptz): 1696267826.331969-bjahe6 (424, 432, 589, 550) 1696267951.666271
frigate  | 2023-10-02 19:32:32.123640730  [2023-10-02 19:32:32] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:32:32.141511894  [2023-10-02 19:32:32] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:32:32.155661114  [2023-10-02 19:32:32] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:32:32.264446590  [2023-10-02 19:32:32] frigate.ptz.autotrack          DEBUG   : Distance: 456.6366170162003, threshold: 263.25, iou: 1.0
frigate  | 2023-10-02 19:32:32.264560164  [2023-10-02 19:32:32] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (need to move ptz): 1696267826.331969-bjahe6 (424, 432, 589, 550) 1696267951.733452
frigate  | 2023-10-02 19:32:32.348946174  [2023-10-02 19:32:32] frigate.ptz.autotrack          DEBUG   : Distance: 97.6165969494942, threshold: 250.04999999999998, iou: 0.0
frigate  | 2023-10-02 19:32:32.349550760  [2023-10-02 19:32:32] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (need to move ptz): 1696267948.439039-0ir6lj (861, 499, 963, 752) 1696267951.61454
frigate  | 2023-10-02 19:32:32.476573295  [2023-10-02 19:32:32] frigate.ptz.autotrack          DEBUG   : Distance: 456.6366170162003, threshold: 263.25, iou: 1.0
frigate  | 2023-10-02 19:32:32.476614102  [2023-10-02 19:32:32] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (need to move ptz): 1696267826.331969-bjahe6 (424, 432, 589, 550) 1696267951.8969
frigate  | 2023-10-02 19:32:32.579896183  [2023-10-02 19:32:32] frigate.ptz.autotrack          DEBUG   : Distance: 55.226805085936306, threshold: 239.1, iou: 0.54133644781847
frigate  | 2023-10-02 19:32:32.579985291  [2023-10-02 19:32:32] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (do NOT move ptz): 1696267948.439039-0ir6lj (859, 424, 1004, 750) 1696267951.729413
frigate  | 2023-10-02 19:32:32.658319406  [2023-10-02 19:32:32] frigate.ptz.autotrack          DEBUG   : Distance: 457.6308556030723, threshold: 263.25, iou: 0.979839313338989
frigate  | 2023-10-02 19:32:32.659245099  [2023-10-02 19:32:32] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (need to move ptz): 1696267826.331969-bjahe6 (423, 432, 588, 551) 1696267952.077997
frigate  | 2023-10-02 19:32:32.889442504  [2023-10-02 19:32:32] frigate.ptz.autotrack          DEBUG   : Distance: 46.32493928760188, threshold: 242.1, iou: 0.29568959533560074
frigate  | 2023-10-02 19:32:32.889501528  [2023-10-02 19:32:32] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (do NOT move ptz): 1696267948.439039-0ir6lj (893, 432, 1050, 738) 1696267951.937631
frigate  | 2023-10-02 19:32:32.906316803  [2023-10-02 19:32:32] frigate.ptz.autotrack          DEBUG   : Distance: 457.6308556030723, threshold: 263.25, iou: 1.0
frigate  | 2023-10-02 19:32:32.906480666  [2023-10-02 19:32:32] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (need to move ptz): 1696267826.331969-bjahe6 (423, 432, 588, 551) 1696267952.257161
frigate  | 2023-10-02 19:32:33.022856368  [2023-10-02 19:32:33] frigate.ptz.autotrack          DEBUG   : Distance: 457.6308556030723, threshold: 263.25, iou: 1.0
frigate  | 2023-10-02 19:32:33.022937885  [2023-10-02 19:32:33] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (need to move ptz): 1696267826.331969-bjahe6 (423, 432, 588, 551) 1696267952.340273
frigate  | 2023-10-02 19:32:33.119773053  [2023-10-02 19:32:33] frigate.ptz.autotrack          DEBUG   : Distance: 88.63972021616495, threshold: 239.55, iou: 0.0
frigate  | 2023-10-02 19:32:33.120386495  [2023-10-02 19:32:33] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (need to move ptz): 1696267948.439039-0ir6lj (990, 415, 1093, 738) 1696267952.279584
frigate  | 2023-10-02 19:32:33.182742279  [2023-10-02 19:32:33] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:32:33.216768566  [2023-10-02 19:32:33] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 19:32:33.231149287  [2023-10-02 19:32:33] frigate.ptz.autotrack          DEBUG   : Distance: 457.6308556030723, threshold: 263.7, iou: 0.9819277108433735
frigate  | 2023-10-02 19:32:33.231279294  [2023-10-02 19:32:33] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (need to move ptz): 1696267826.331969-bjahe6 (424, 432, 586, 551) 1696267952.598553
frigate  | 2023-10-02 19:32:33.332220276  [2023-10-02 19:32:33] frigate.ptz.autotrack          DEBUG   : Distance: 148.67750334196495, threshold: 242.1, iou: 0.3145330669535372
frigate  | 2023-10-02 19:32:33.332301338  [2023-10-02 19:32:33] frigate.ptz.autotrack          DEBUG   : Autotrack: Existing object (do NOT move ptz): 1696267948.439039-0ir6lj (1034, 424, 1174, 730) 1696267952.537783
frigate  | 2023-10-02 19:32:33.336501581  [2023-10-02 19:32:33] frigate.ptz.autotrack          DEBUG   : Running camera maintenance

FFprobe output from your camera

[{"return_code":0,"stderr":"","stdout":{"programs":[],"streams":[{"avg_frame_rate":"30/1","codec_long_name":"H.265/HEVC(HighEfficiencyVideoCoding)","display_aspect_ratio":"168:95","height":1520,"width":2688}]}}]

Frigate stats

// 20231002191706
// http://192.168.100.240:5000/api/stats

{
  "bandwidth_usages": {
    "89": {
      "bandwidth": 3264.3
    },
    "703": {
      "bandwidth": 151.8
    }
  },
  "cpu_usages": {
    "1": {
      "cmdline": "/package/admin/s6/command/s6-svscan -d4 -- /run/service",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "15": {
      "cmdline": "s6-supervise s6-linux-init-shutdownd",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "16": {
      "cmdline": "/package/admin/s6-linux-init/command/s6-linux-init-shutdownd -c /run/s6/basedir -g 3000 -C -B",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "24": {
      "cmdline": "s6-supervise s6rc-fdholder",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "25": {
      "cmdline": "s6-supervise nginx",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "26": {
      "cmdline": "s6-supervise nginx-log",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "27": {
      "cmdline": "s6-supervise s6rc-oneshot-runner",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "28": {
      "cmdline": "s6-supervise go2rtc-log",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "29": {
      "cmdline": "s6-supervise go2rtc-healthcheck",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "30": {
      "cmdline": "s6-supervise frigate",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "31": {
      "cmdline": "s6-supervise frigate-log",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "32": {
      "cmdline": "s6-supervise go2rtc",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "41": {
      "cmdline": "/package/admin/s6-2.11.3.2/command/s6-fdholderd -1 -i data/rules",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "42": {
      "cmdline": "/package/admin/s6/command/s6-ipcserverd -1 -- /package/admin/s6/command/s6-ipcserver-access -v0 -E -l0 -i data/rules -- /package/admin/s6/command/s6-sudod -t 30000 -- /package/admin/s6-rc/command/s6-rc-oneshot-run -l ../.. --",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "79": {
      "cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/nginx",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "81": {
      "cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/go2rtc",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "82": {
      "cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/frigate",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "89": {
      "cmdline": "/usr/local/go2rtc/bin/go2rtc -config=/dev/shm/go2rtc.yaml",
      "cpu": "5.4",
      "cpu_average": "6",
      "mem": "0.0"
    },
    "97": {
      "cmdline": "bash ./run.user go2rtc-healthcheck",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "98": {
      "cmdline": "python3 -u -m frigate",
      "cpu": "42.9",
      "cpu_average": "27",
      "mem": "0.8"
    },
    "112": {
      "cmdline": "nginx: master process nginx",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "145": {
      "cmdline": "nginx: worker process",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "146": {
      "cmdline": "nginx: worker process",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "147": {
      "cmdline": "nginx: worker process",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "148": {
      "cmdline": "nginx: worker process",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "150": {
      "cmdline": "nginx: worker process",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "164": {
      "cmdline": "nginx: worker process",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "188": {
      "cmdline": "nginx: worker process",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "220": {
      "cmdline": "nginx: worker process",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "258": {
      "cmdline": "nginx: worker process",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "288": {
      "cmdline": "nginx: worker process",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "310": {
      "cmdline": "nginx: worker process",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "342": {
      "cmdline": "nginx: worker process",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "581": {
      "cmdline": "frigate.logger       ",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.2"
    },
    "583": {
      "cmdline": "frigate.recording_manager",
      "cpu": "0.0",
      "cpu_average": "1",
      "mem": "0.3"
    },
    "591": {
      "cmdline": "/usr/bin/python3 -c from multiprocessing.resource_tracker import main;main(69)",
      "cpu": "1.5",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "592": {
      "cmdline": "frigate.detector.coral",
      "cpu": "34.0",
      "cpu_average": "42",
      "mem": "0.3"
    },
    "594": {
      "cmdline": "frigate.output       ",
      "cpu": "6.4",
      "cpu_average": "7",
      "mem": "0.3"
    },
    "598": {
      "cmdline": "ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1920x1080 -codec:v mpeg1video -q 3 -bf 0 pipe:",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "601": {
      "cmdline": "ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1920x1080 -codec:v mpeg1video -q 3 -bf 0 pipe:",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "602": {
      "cmdline": "ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1920x1080 -codec:v mpeg1video -q 3 -bf 0 pipe:",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "603": {
      "cmdline": "ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1920x1080 -codec:v mpeg1video -q 3 -bf 0 pipe:",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.1"
    },
    "604": {
      "cmdline": "ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1920x1080 -codec:v mpeg1video -q 3 -bf 0 pipe:",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "605": {
      "cmdline": "ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1920x1080 -codec:v mpeg1video -q 3 -bf 0 pipe:",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "606": {
      "cmdline": "ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1920x1080 -codec:v mpeg1video -q 3 -bf 0 pipe:",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "607": {
      "cmdline": "ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1920x1080 -codec:v mpeg1video -q 3 -bf 0 pipe:",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.1"
    },
    "608": {
      "cmdline": "ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1920x1080 -codec:v mpeg1video -q 3 -bf 0 pipe:",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "609": {
      "cmdline": "ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1920x1080 -codec:v mpeg1video -q 3 -bf 0 pipe:",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "610": {
      "cmdline": "ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 3840x2160 -i pipe: -f mpegts -s 3840x2160 -codec:v mpeg1video -q 1 -bf 0 pipe:",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "635": {
      "cmdline": "frigate.process:maison_tgbt",
      "cpu": "249.9",
      "cpu_average": "94",
      "mem": "0.4"
    },
    "636": {
      "cmdline": "frigate.process:piscine_videsanitaire",
      "cpu": "2.5",
      "cpu_average": "5",
      "mem": "0.4"
    },
    "638": {
      "cmdline": "frigate.process:test ",
      "cpu": "36.5",
      "cpu_average": "17",
      "mem": "0.4"
    },
    "640": {
      "cmdline": "frigate.process:terrasse",
      "cpu": "30.6",
      "cpu_average": "28",
      "mem": "0.4"
    },
    "642": {
      "cmdline": "frigate.process:garrage_porte",
      "cpu": "217.8",
      "cpu_average": "113",
      "mem": "0.4"
    },
    "644": {
      "cmdline": "frigate.process:garrage_maison",
      "cpu": "2.5",
      "cpu_average": "4",
      "mem": "0.4"
    },
    "646": {
      "cmdline": "frigate.process:jardin_avant",
      "cpu": "37.9",
      "cpu_average": "51",
      "mem": "0.4"
    },
    "648": {
      "cmdline": "frigate.process:portail_interieur",
      "cpu": "34.5",
      "cpu_average": "44",
      "mem": "0.4"
    },
    "650": {
      "cmdline": "frigate.process:portail_exterieur",
      "cpu": "3.4",
      "cpu_average": "18",
      "mem": "0.3"
    },
    "652": {
      "cmdline": "frigate.process:interphone",
      "cpu": "11.8",
      "cpu_average": "15",
      "mem": "0.3"
    },
    "654": {
      "cmdline": "frigate.capture:maison_tgbt",
      "cpu": "4.9",
      "cpu_average": "6",
      "mem": "0.3"
    },
    "658": {
      "cmdline": "frigate.capture:piscine_videsanitaire",
      "cpu": "4.4",
      "cpu_average": "5",
      "mem": "0.3"
    },
    "659": {
      "cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-9a4f970 -rtsp_transport tcp -timeout 5000000 -fflags nobuffer -flags low_delay -i rtsp://127.0.0.1:8554/cam_1 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/maison_tgbt-%Y%m%d%H%M%S.mp4 -r 12 -vf fps=12,scale_cuda=w=1920:h=1080:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
      "cpu": "5.9",
      "cpu_average": "6",
      "mem": "0.3"
    },
    "662": {
      "cmdline": "frigate.capture:test ",
      "cpu": "4.9",
      "cpu_average": "6",
      "mem": "0.3"
    },
    "663": {
      "cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-9a4f970 -rtsp_transport tcp -timeout 5000000 -fflags nobuffer -flags low_delay -i rtsp://127.0.0.1:8554/cam_2 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/piscine_videsanitaire-%Y%m%d%H%M%S.mp4 -r 12 -vf fps=12,scale_cuda=w=1920:h=1080:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
      "cpu": "13.8",
      "cpu_average": "16",
      "mem": "0.4"
    },
    "667": {
      "cmdline": "frigate.capture:terrasse",
      "cpu": "4.9",
      "cpu_average": "6",
      "mem": "0.3"
    },
    "668": {
      "cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-9a4f970 -rtsp_transport tcp -timeout 5000000 -fflags nobuffer -flags low_delay -i rtsp://127.0.0.1:8554/cam_3 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/test-%Y%m%d%H%M%S.mp4 -r 12 -vf fps=12,scale_cuda=w=1920:h=1080:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
      "cpu": "5.4",
      "cpu_average": "6",
      "mem": "0.3"
    },
    "672": {
      "cmdline": "frigate.capture:garrage_porte",
      "cpu": "4.4",
      "cpu_average": "6",
      "mem": "0.3"
    },
    "673": {
      "cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-9a4f970 -rtsp_transport tcp -timeout 5000000 -fflags nobuffer -flags low_delay -i rtsp://127.0.0.1:8554/cam_4 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/terrasse-%Y%m%d%H%M%S.mp4 -r 12 -vf fps=12,scale_cuda=w=1920:h=1080:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
      "cpu": "5.9",
      "cpu_average": "6",
      "mem": "0.3"
    },
    "677": {
      "cmdline": "frigate.capture:garrage_maison",
      "cpu": "4.9",
      "cpu_average": "5",
      "mem": "0.3"
    },
    "678": {
      "cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-9a4f970 -rtsp_transport tcp -timeout 5000000 -fflags nobuffer -flags low_delay -i rtsp://127.0.0.1:8554/cam_5 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/garrage_porte-%Y%m%d%H%M%S.mp4 -r 12 -vf fps=12,scale_cuda=w=1920:h=1080:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
      "cpu": "5.4",
      "cpu_average": "6",
      "mem": "0.3"
    },
    "682": {
      "cmdline": "frigate.capture:jardin_avant",
      "cpu": "5.4",
      "cpu_average": "6",
      "mem": "0.3"
    },
    "683": {
      "cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-9a4f970 -rtsp_transport tcp -timeout 5000000 -fflags nobuffer -flags low_delay -i rtsp://127.0.0.1:8554/cam_6 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/garrage_maison-%Y%m%d%H%M%S.mp4 -r 12 -vf fps=12,scale_cuda=w=1920:h=1080:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
      "cpu": "13.8",
      "cpu_average": "17",
      "mem": "0.3"
    },
    "687": {
      "cmdline": "frigate.capture:portail_interieur",
      "cpu": "4.9",
      "cpu_average": "6",
      "mem": "0.3"
    },
    "688": {
      "cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-9a4f970 -rtsp_transport tcp -timeout 5000000 -fflags nobuffer -flags low_delay -i rtsp://127.0.0.1:8554/cam_7 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/jardin_avant-%Y%m%d%H%M%S.mp4 -r 12 -vf fps=12,scale_cuda=w=1920:h=1080:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
      "cpu": "4.4",
      "cpu_average": "6",
      "mem": "0.3"
    },
    "692": {
      "cmdline": "frigate.capture:portail_exterieur",
      "cpu": "5.9",
      "cpu_average": "5",
      "mem": "0.3"
    },
    "693": {
      "cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-9a4f970 -rtsp_transport tcp -timeout 5000000 -fflags nobuffer -flags low_delay -i rtsp://127.0.0.1:8554/cam_8 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/portail_interieur-%Y%m%d%H%M%S.mp4 -r 12 -vf fps=12,scale_cuda=w=1920:h=1080:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
      "cpu": "4.9",
      "cpu_average": "6",
      "mem": "0.3"
    },
    "697": {
      "cmdline": "frigate.capture:interphone",
      "cpu": "5.4",
      "cpu_average": "6",
      "mem": "0.3"
    },
    "699": {
      "cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-9a4f970 -rtsp_transport tcp -timeout 5000000 -fflags nobuffer -flags low_delay -i rtsp://127.0.0.1:8554/cam_17 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/portail_exterieur-%Y%m%d%H%M%S.mp4 -r 12 -vf fps=12,scale_cuda=w=1920:h=1080:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
      "cpu": "12.8",
      "cpu_average": "16",
      "mem": "0.3"
    },
    "703": {
      "cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-9a4f970 -rtsp_transport tcp -timeout 5000000 -fflags nobuffer -flags low_delay -i rtsp://192.168.100.240:8554/interphone -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/interphone-%Y%m%d%H%M%S.mp4 -r 12 -vf fps=12,scale_cuda=w=1920:h=1080:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
      "cpu": "5.4",
      "cpu_average": "6",
      "mem": "0.3"
    },
    "14755": {
      "cmdline": "sleep 30s",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    },
    "15062": {
      "cmdline": "nethogs -t -v0 -c5 -d1",
      "cpu": "0.0",
      "cpu_average": "0",
      "mem": "0.0"
    }
  },
  "detection_fps": 95.1,
  "detectors": {
    "coral": {
      "detection_start": 1696267022.158409,
      "inference_speed": 9.27,
      "pid": 592
    }
  },
  "garrage_maison": {
    "camera_fps": 12.0,
    "capture_pid": 677,
    "detection_enabled": 1,
    "detection_fps": 0.0,
    "ffmpeg_pid": 683,
    "pid": 644,
    "process_fps": 12.0,
    "skipped_fps": 0.0
  },
  "garrage_porte": {
    "camera_fps": 12.1,
    "capture_pid": 672,
    "detection_enabled": 1,
    "detection_fps": 0.0,
    "ffmpeg_pid": 678,
    "pid": 642,
    "process_fps": 12.1,
    "skipped_fps": 0.0
  },
  "gpu_usages": {
    "NVIDIA GeForce GTX 1080": {
      "gpu": "9.0%",
      "mem": "26.52%"
    }
  },
  "interphone": {
    "camera_fps": 12.0,
    "capture_pid": 697,
    "detection_enabled": 1,
    "detection_fps": 6.0,
    "ffmpeg_pid": 703,
    "pid": 652,
    "process_fps": 12.0,
    "skipped_fps": 0.0
  },
  "jardin_avant": {
    "camera_fps": 12.1,
    "capture_pid": 682,
    "detection_enabled": 1,
    "detection_fps": 24.0,
    "ffmpeg_pid": 688,
    "pid": 646,
    "process_fps": 2.2,
    "skipped_fps": 9.9
  },
  "maison_tgbt": {
    "camera_fps": 12.0,
    "capture_pid": 654,
    "detection_enabled": 1,
    "detection_fps": 0.0,
    "ffmpeg_pid": 659,
    "pid": 635,
    "process_fps": 12.1,
    "skipped_fps": 0.0
  },
  "piscine_videsanitaire": {
    "camera_fps": 12.1,
    "capture_pid": 658,
    "detection_enabled": 1,
    "detection_fps": 0.0,
    "ffmpeg_pid": 663,
    "pid": 636,
    "process_fps": 12.1,
    "skipped_fps": 0.0
  },
  "portail_exterieur": {
    "camera_fps": 12.1,
    "capture_pid": 692,
    "detection_enabled": 1,
    "detection_fps": 5.6,
    "ffmpeg_pid": 699,
    "pid": 650,
    "process_fps": 12.1,
    "skipped_fps": 0.1
  },
  "portail_interieur": {
    "camera_fps": 12.1,
    "capture_pid": 687,
    "detection_enabled": 1,
    "detection_fps": 23.3,
    "ffmpeg_pid": 693,
    "pid": 648,
    "process_fps": 6.7,
    "skipped_fps": 5.4
  },
  "processes": {
    "go2rtc": {
      "pid": 89
    },
    "logger": {
      "pid": 581
    },
    "recording": {
      "pid": 583
    }
  },
  "service": {
    "last_updated": 1696267026,
    "latest_version": "0.12.1",
    "storage": {
      "/dev/shm": {
        "free": 4923.1,
        "mount_type": "tmpfs",
        "total": 5000.0,
        "used": 76.9
      },
      "/media/frigate/clips": {
        "free": 351977.6,
        "mount_type": "ext4",
        "total": 465794.1,
        "used": 93803.9
      },
      "/media/frigate/recordings": {
        "free": 351977.6,
        "mount_type": "ext4",
        "total": 465794.1,
        "used": 93803.9
      },
      "/tmp/cache": {
        "free": 9505.2,
        "mount_type": "tmpfs",
        "total": 9536.7,
        "used": 31.6
      }
    },
    "temperatures": {

    },
    "uptime": 1114,
    "version": "0.13.0-9a4f970"
  },
  "terrasse": {
    "camera_fps": 12.1,
    "capture_pid": 667,
    "detection_enabled": 1,
    "detection_fps": 18.0,
    "ffmpeg_pid": 673,
    "pid": 640,
    "process_fps": 11.3,
    "skipped_fps": 0.7
  },
  "test": {
    "camera_fps": 12.0,
    "capture_pid": 662,
    "detection_enabled": 1,
    "detection_fps": 18.2,
    "ffmpeg_pid": 668,
    "pid": 638,
    "process_fps": 11.6,
    "skipped_fps": 0.6
  }
}

Operating system

HassOS

Install method

HassOS Addon

Coral version

USB

Network connection

Wired

Camera make and model

HIKVISION HWP-N4215IH-DE (8pc)

Any other information that may be helpful

it would certainly be interesting to improve the logs and specify the name of the camera concerned by it

let me know if you need more information

hawkeye217 commented 9 months ago

Your uploaded video does not seem to be visible - can you check that?

Also, can you enable autotracking on one camera, disable it on the rest, and try again? Your debug log is showing multiple objects/cameras and it's impossible to sort through.

hawkeye217 commented 9 months ago

Also, can you paste the first part of the logs (with debug enabled) at frigate start? It should print the ONVIF capabilities of your camera.

hawkeye217 commented 9 months ago

Since you have a Hikvision camera, you may want to read here and here.

CurseStaff commented 9 months ago

this is the video link: https://user-images.githubusercontent.com/11999989/272041245-dd25f9ee-6081-4664-b8ca-b52eb569428f.mp4

on first test frigate will stop for bad ONVIF capabilities, after a firmware update of all camera at the latest (2022 release) ONVIF seem ok

starting onvif log with only 1 tracking cam:

frigate  | s6-rc: info: service s6rc-fdholder: starting
frigate  | s6-rc: info: service s6rc-oneshot-runner: starting
frigate  | s6-rc: info: service s6rc-oneshot-runner successfully started
frigate  | s6-rc: info: service fix-attrs: starting
frigate  | s6-rc: info: service s6rc-fdholder successfully started
frigate  | s6-rc: info: service fix-attrs successfully started
frigate  | s6-rc: info: service legacy-cont-init: starting
frigate  | s6-rc: info: service legacy-cont-init successfully started
frigate  | s6-rc: info: service log-prepare: starting
frigate  | s6-rc: info: service log-prepare successfully started
frigate  | s6-rc: info: service nginx-log: starting
frigate  | s6-rc: info: service go2rtc-log: starting
frigate  | s6-rc: info: service frigate-log: starting
frigate  | s6-rc: info: service nginx-log successfully started
frigate  | s6-rc: info: service go2rtc-log successfully started
frigate  | s6-rc: info: service go2rtc: starting
frigate  | s6-rc: info: service frigate-log successfully started
frigate  | s6-rc: info: service go2rtc successfully started
frigate  | s6-rc: info: service go2rtc-healthcheck: starting
frigate  | s6-rc: info: service frigate: starting
frigate  | s6-rc: info: service go2rtc-healthcheck successfully started
frigate  | s6-rc: info: service frigate successfully started
frigate  | s6-rc: info: service nginx: starting
frigate  | s6-rc: info: service nginx successfully started
frigate  | s6-rc: info: service legacy-services: starting
frigate  | 2023-10-02 21:11:24.068158292  [INFO] Preparing Frigate...
frigate  | 2023-10-02 21:11:24.070079861  [INFO] Starting NGINX...
frigate  | 2023-10-02 21:11:24.073497166  [INFO] Preparing go2rtc config...
frigate  | s6-rc: info: service legacy-services successfully started
frigate  | 2023-10-02 21:11:24.084103424  [INFO] Starting Frigate...
frigate  | 2023-10-02 21:11:24.356551778  [INFO] Starting go2rtc...
frigate  | 2023-10-02 21:11:24.411184178  21:11:24.411 INF go2rtc version 1.7.1 linux/amd64
frigate  | 2023-10-02 21:11:24.411410095  21:11:24.411 INF [api] listen addr=0.0.0.0:1984
frigate  | 2023-10-02 21:11:24.411727579  21:11:24.411 INF [rtsp] listen addr=0.0.0.0:8554
frigate  | 2023-10-02 21:11:24.411908201  21:11:24.411 INF [webrtc] listen addr=0.0.0.0:8555/tcp
frigate  | 2023-10-02 21:11:25.083585008  [2023-10-02 21:11:25] frigate.app                    INFO    : Starting Frigate (0.13.0-9a4f970)
frigate  | 2023-10-02 21:11:25.168583648  [2023-10-02 21:11:25] peewee_migrate.logs            INFO    : Starting migrations
frigate  | 2023-10-02 21:11:25.182093111  [2023-10-02 21:11:25] peewee_migrate.logs            INFO    : There is nothing to migrate
frigate  | 2023-10-02 21:11:26.113818885  [2023-10-02 21:11:26] frigate.app                    INFO    : Recording process started: 583
frigate  | 2023-10-02 21:11:26.115714832  [2023-10-02 21:11:26] frigate.app                    INFO    : go2rtc process pid: 89
frigate  | 2023-10-02 21:11:26.134562742  [2023-10-02 21:11:26] detector.coral                 INFO    : Starting detection process: 592
frigate  | 2023-10-02 21:11:28.788411676  [2023-10-02 21:11:26] frigate.app                    INFO    : Output process started: 594
frigate  | 2023-10-02 21:11:28.788537440  [2023-10-02 21:11:26] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as usb
frigate  | 2023-10-02 21:11:28.788905909  [2023-10-02 21:11:26] frigate.ptz.autotrack          DEBUG   : Autotracker init for cam: maison_tgbt
frigate  | 2023-10-02 21:11:28.788954833  [2023-10-02 21:11:27] frigate.ptz.autotrack          DEBUG   : Motion estimator init for cam: garrage_porte
frigate  | 2023-10-02 21:11:28.789025864  [2023-10-02 21:11:27] frigate.ptz.autotrack          DEBUG   : Motion estimator init for cam: maison_tgbt
frigate  | 2023-10-02 21:11:28.789101542  [2023-10-02 21:11:26] frigate.comms.dispatcher       INFO    : Turning off snapshots for terrasse
frigate  | 2023-10-02 21:11:28.789169905  [2023-10-02 21:11:26] frigate.comms.dispatcher       INFO    : Turning off snapshots for maison_tgbt
frigate  | 2023-10-02 21:11:28.789250330  [2023-10-02 21:11:26] frigate.ptz.onvif              DEBUG   : Onvif config for maison_tgbt: {
frigate  | 2023-10-02 21:11:28.789252203      'Spaces': {
frigate  | 2023-10-02 21:11:28.789256321          'AbsolutePanTiltPositionSpace': [
frigate  | 2023-10-02 21:11:28.789258481              {
frigate  | 2023-10-02 21:11:28.789260899                  'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace',
frigate  | 2023-10-02 21:11:28.789262283                  'XRange': {
frigate  | 2023-10-02 21:11:28.789263555                      'Min': -1.0,
frigate  | 2023-10-02 21:11:28.789273358                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789274652                  },
frigate  | 2023-10-02 21:11:28.789276348                  'YRange': {
frigate  | 2023-10-02 21:11:28.789277717                      'Min': -1.0,
frigate  | 2023-10-02 21:11:28.789279022                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789280253                  }
frigate  | 2023-10-02 21:11:28.789281855              }
frigate  | 2023-10-02 21:11:28.789283031          ],
frigate  | 2023-10-02 21:11:28.789284372          'AbsoluteZoomPositionSpace': [
frigate  | 2023-10-02 21:11:28.789300453              {
frigate  | 2023-10-02 21:11:28.789302209                  'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace',
frigate  | 2023-10-02 21:11:28.789312933                  'XRange': {
frigate  | 2023-10-02 21:11:28.789314324                      'Min': 0.0,
frigate  | 2023-10-02 21:11:28.789315549                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789316788                  }
frigate  | 2023-10-02 21:11:28.789317954              }
frigate  | 2023-10-02 21:11:28.789319064          ],
frigate  | 2023-10-02 21:11:28.789320392          'RelativePanTiltTranslationSpace': [
frigate  | 2023-10-02 21:11:28.789321701              {
frigate  | 2023-10-02 21:11:28.789323272                  'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace',
frigate  | 2023-10-02 21:11:28.789324507                  'XRange': {
frigate  | 2023-10-02 21:11:28.789335201                      'Min': -1.0,
frigate  | 2023-10-02 21:11:28.789336850                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789338039                  },
frigate  | 2023-10-02 21:11:28.789339342                  'YRange': {
frigate  | 2023-10-02 21:11:28.789341041                      'Min': -1.0,
frigate  | 2023-10-02 21:11:28.789342425                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789343525                  }
frigate  | 2023-10-02 21:11:28.789344612              },
frigate  | 2023-10-02 21:11:28.789345752              {
frigate  | 2023-10-02 21:11:28.789347377                  'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationSpaceFov',
frigate  | 2023-10-02 21:11:28.789359552                  'XRange': {
frigate  | 2023-10-02 21:11:28.789360929                      'Min': -1.0,
frigate  | 2023-10-02 21:11:28.789362192                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789363343                  },
frigate  | 2023-10-02 21:11:28.789364500                  'YRange': {
frigate  | 2023-10-02 21:11:28.789365678                      'Min': -1.0,
frigate  | 2023-10-02 21:11:28.789367109                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789368272                  }
frigate  | 2023-10-02 21:11:28.789369423              }
frigate  | 2023-10-02 21:11:28.789370606          ],
frigate  | 2023-10-02 21:11:28.789372027          'RelativeZoomTranslationSpace': [
frigate  | 2023-10-02 21:11:28.789373355              {
frigate  | 2023-10-02 21:11:28.789375281                  'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/TranslationGenericSpace',
frigate  | 2023-10-02 21:11:28.789376641                  'XRange': {
frigate  | 2023-10-02 21:11:28.789378582                      'Min': -1.0,
frigate  | 2023-10-02 21:11:28.789380218                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789381399                  }
frigate  | 2023-10-02 21:11:28.789382549              }
frigate  | 2023-10-02 21:11:28.789383701          ],
frigate  | 2023-10-02 21:11:28.789384967          'ContinuousPanTiltVelocitySpace': [
frigate  | 2023-10-02 21:11:28.789386105              {
frigate  | 2023-10-02 21:11:28.789401246                  'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace',
frigate  | 2023-10-02 21:11:28.789402575                  'XRange': {
frigate  | 2023-10-02 21:11:28.789403903                      'Min': -1.0,
frigate  | 2023-10-02 21:11:28.789405641                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789406765                  },
frigate  | 2023-10-02 21:11:28.789407972                  'YRange': {
frigate  | 2023-10-02 21:11:28.789409402                      'Min': -1.0,
frigate  | 2023-10-02 21:11:28.789410893                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789411993                  }
frigate  | 2023-10-02 21:11:28.789413068              },
frigate  | 2023-10-02 21:11:28.789414304              {
frigate  | 2023-10-02 21:11:28.789415919                  'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocitySpaceFOV',
frigate  | 2023-10-02 21:11:28.789417219                  'XRange': {
frigate  | 2023-10-02 21:11:28.789418490                      'Min': -7.0,
frigate  | 2023-10-02 21:11:28.789419789                      'Max': 7.0
frigate  | 2023-10-02 21:11:28.789420893                  },
frigate  | 2023-10-02 21:11:28.789424819                  'YRange': {
frigate  | 2023-10-02 21:11:28.789426102                      'Min': -7.0,
frigate  | 2023-10-02 21:11:28.789427295                      'Max': 7.0
frigate  | 2023-10-02 21:11:28.789428428                  }
frigate  | 2023-10-02 21:11:28.789429527              }
frigate  | 2023-10-02 21:11:28.789430571          ],
frigate  | 2023-10-02 21:11:28.789431868          'ContinuousZoomVelocitySpace': [
frigate  | 2023-10-02 21:11:28.789432979              {
frigate  | 2023-10-02 21:11:28.789434480                  'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace',
frigate  | 2023-10-02 21:11:28.789435734                  'XRange': {
frigate  | 2023-10-02 21:11:28.789453425                      'Min': -1.0,
frigate  | 2023-10-02 21:11:28.789454736                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789455937                  }
frigate  | 2023-10-02 21:11:28.789457336              },
frigate  | 2023-10-02 21:11:28.789458483              {
frigate  | 2023-10-02 21:11:28.789460005                  'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocitySpaceMillimeter',
frigate  | 2023-10-02 21:11:28.789461232                  'XRange': {
frigate  | 2023-10-02 21:11:28.789462709                      'Min': -7.0,
frigate  | 2023-10-02 21:11:28.789463880                      'Max': 7.0
frigate  | 2023-10-02 21:11:28.789465336                  }
frigate  | 2023-10-02 21:11:28.789466487              }
frigate  | 2023-10-02 21:11:28.789467594          ],
frigate  | 2023-10-02 21:11:28.789468931          'PanTiltSpeedSpace': [
frigate  | 2023-10-02 21:11:28.789470033              {
frigate  | 2023-10-02 21:11:28.789471621                  'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/GenericSpeedSpace',
frigate  | 2023-10-02 21:11:28.789472918                  'XRange': {
frigate  | 2023-10-02 21:11:28.789474193                      'Min': 0.0,
frigate  | 2023-10-02 21:11:28.789475447                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789476657                  }
frigate  | 2023-10-02 21:11:28.789477858              }
frigate  | 2023-10-02 21:11:28.789479002          ],
frigate  | 2023-10-02 21:11:28.789480202          'ZoomSpeedSpace': [
frigate  | 2023-10-02 21:11:28.789481366              {
frigate  | 2023-10-02 21:11:28.789482928                  'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/ZoomGenericSpeedSpace',
frigate  | 2023-10-02 21:11:28.789484339                  'XRange': {
frigate  | 2023-10-02 21:11:28.789485495                      'Min': 0.0,
frigate  | 2023-10-02 21:11:28.789486653                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789487756                  }
frigate  | 2023-10-02 21:11:28.789488882              }
frigate  | 2023-10-02 21:11:28.789489979          ],
frigate  | 2023-10-02 21:11:28.789491224          'Extension': None,
frigate  | 2023-10-02 21:11:28.789492470          '_attr_1': None
frigate  | 2023-10-02 21:11:28.789493817      },
frigate  | 2023-10-02 21:11:28.789495059      'PTZTimeout': {
frigate  | 2023-10-02 21:11:28.789496385          'Min': datetime.timedelta(seconds=1),
frigate  | 2023-10-02 21:11:28.789497718          'Max': datetime.timedelta(seconds=600)
frigate  | 2023-10-02 21:11:28.789498899      },
frigate  | 2023-10-02 21:11:28.789500125      '_value_1': None,
frigate  | 2023-10-02 21:11:28.789501440      'PTControlDirection': None,
frigate  | 2023-10-02 21:11:28.789502691      'Extension': None,
frigate  | 2023-10-02 21:11:28.789523487      '_attr_1': None
frigate  | 2023-10-02 21:11:28.789524705  }
frigate  | 2023-10-02 21:11:28.789540413  [2023-10-02 21:11:26] frigate.ptz.onvif              DEBUG   : Onvif status config for maison_tgbt: {
frigate  | 2023-10-02 21:11:28.789541721      'Position': {
frigate  | 2023-10-02 21:11:28.789542854          'PanTilt': {
frigate  | 2023-10-02 21:11:28.789543996              'x': 0.940333,
frigate  | 2023-10-02 21:11:28.789545124              'y': 0.958,
frigate  | 2023-10-02 21:11:28.789546567              'space': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace'
frigate  | 2023-10-02 21:11:28.789547708          },
frigate  | 2023-10-02 21:11:28.789548842          'Zoom': {
frigate  | 2023-10-02 21:11:28.789550052              'x': 0.0,
frigate  | 2023-10-02 21:11:28.789551617              'space': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace'
frigate  | 2023-10-02 21:11:28.789552940          }
frigate  | 2023-10-02 21:11:28.789554091      },
frigate  | 2023-10-02 21:11:28.789555320      'MoveStatus': {
frigate  | 2023-10-02 21:11:28.789556500          'PanTilt': 'MOVING',
frigate  | 2023-10-02 21:11:28.789557673          'Zoom': 'IDLE'
frigate  | 2023-10-02 21:11:28.789558733      },
frigate  | 2023-10-02 21:11:28.789559963      'Error': 'NO error',
frigate  | 2023-10-02 21:11:28.789561715      'UtcTime': datetime.datetime(2023, 10, 2, 19, 11, 24, tzinfo=<isodate.tzinfo.Utc object at 0x7f8e32e8a1f0>),
frigate  | 2023-10-02 21:11:28.789562926      '_value_1': None,
frigate  | 2023-10-02 21:11:28.789564099      '_attr_1': None
frigate  | 2023-10-02 21:11:28.789565173  }
frigate  | 2023-10-02 21:11:28.789566911  [2023-10-02 21:11:26] frigate.ptz.onvif              DEBUG   : Onvif service capabilities for maison_tgbt: {
frigate  | 2023-10-02 21:11:28.789568369      '_value_1': None,
frigate  | 2023-10-02 21:11:28.789569549      'EFlip': False,
frigate  | 2023-10-02 21:11:28.789570717      'Reverse': False,
frigate  | 2023-10-02 21:11:28.789572023      'GetCompatibleConfigurations': True,
frigate  | 2023-10-02 21:11:28.789573194      '_attr_1': {
frigate  | 2023-10-02 21:11:28.789574606          'MoveStatus': 'true',
frigate  | 2023-10-02 21:11:28.789575858          'StatusPosition': 'true'
frigate  | 2023-10-02 21:11:28.789577077      }
frigate  | 2023-10-02 21:11:28.789578437  }
frigate  | 2023-10-02 21:11:28.789579875  [2023-10-02 21:11:26] frigate.ptz.onvif              DEBUG   : PTZ start time: 0.0
frigate  | 2023-10-02 21:11:28.789581366  [2023-10-02 21:11:26] frigate.ptz.onvif              DEBUG   : Camera zoom level: 0.0
frigate  | 2023-10-02 21:11:28.789590637  [2023-10-02 21:11:26] frigate.ptz.autotrack          DEBUG   : Autotracker init for cam: garrage_porte
frigate  | 2023-10-02 21:11:28.789658121  [2023-10-02 21:11:27] frigate.ptz.onvif              DEBUG   : Onvif config for garrage_porte: {
frigate  | 2023-10-02 21:11:28.789659800      'Spaces': {
frigate  | 2023-10-02 21:11:28.789661119          'AbsolutePanTiltPositionSpace': [
frigate  | 2023-10-02 21:11:28.789662274              {
frigate  | 2023-10-02 21:11:28.789663676                  'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace',
frigate  | 2023-10-02 21:11:28.789664860                  'XRange': {
frigate  | 2023-10-02 21:11:28.789666096                      'Min': -1.0,
frigate  | 2023-10-02 21:11:28.789667341                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789668534                  },
frigate  | 2023-10-02 21:11:28.789669732                  'YRange': {
frigate  | 2023-10-02 21:11:28.789670945                      'Min': -1.0,
frigate  | 2023-10-02 21:11:28.789672168                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789673288                  }
frigate  | 2023-10-02 21:11:28.789674428              }
frigate  | 2023-10-02 21:11:28.789675516          ],
frigate  | 2023-10-02 21:11:28.789676757          'AbsoluteZoomPositionSpace': [
frigate  | 2023-10-02 21:11:28.789677953              {
frigate  | 2023-10-02 21:11:28.789679741                  'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace',
frigate  | 2023-10-02 21:11:28.789680942                  'XRange': {
frigate  | 2023-10-02 21:11:28.789682168                      'Min': 0.0,
frigate  | 2023-10-02 21:11:28.789683377                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789684554                  }
frigate  | 2023-10-02 21:11:28.789685667              }
frigate  | 2023-10-02 21:11:28.789686808          ],
frigate  | 2023-10-02 21:11:28.789688098          'RelativePanTiltTranslationSpace': [
frigate  | 2023-10-02 21:11:28.789689261              {
frigate  | 2023-10-02 21:11:28.789690915                  'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace',
frigate  | 2023-10-02 21:11:28.789692171                  'XRange': {
frigate  | 2023-10-02 21:11:28.789693460                      'Min': -1.0,
frigate  | 2023-10-02 21:11:28.789694897                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789696074                  },
frigate  | 2023-10-02 21:11:28.789697312                  'YRange': {
frigate  | 2023-10-02 21:11:28.789698611                      'Min': -1.0,
frigate  | 2023-10-02 21:11:28.789700135                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789701293                  }
frigate  | 2023-10-02 21:11:28.789702769              },
frigate  | 2023-10-02 21:11:28.789703911              {
frigate  | 2023-10-02 21:11:28.789705332                  'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationSpaceFov',
frigate  | 2023-10-02 21:11:28.789706482                  'XRange': {
frigate  | 2023-10-02 21:11:28.789707722                      'Min': -1.0,
frigate  | 2023-10-02 21:11:28.789708979                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789710175                  },
frigate  | 2023-10-02 21:11:28.789711473                  'YRange': {
frigate  | 2023-10-02 21:11:28.789712739                      'Min': -1.0,
frigate  | 2023-10-02 21:11:28.789714079                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789715165                  }
frigate  | 2023-10-02 21:11:28.789716287              }
frigate  | 2023-10-02 21:11:28.789717386          ],
frigate  | 2023-10-02 21:11:28.789718753          'RelativeZoomTranslationSpace': [
frigate  | 2023-10-02 21:11:28.789719875              {
frigate  | 2023-10-02 21:11:28.789721545                  'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/TranslationGenericSpace',
frigate  | 2023-10-02 21:11:28.789722764                  'XRange': {
frigate  | 2023-10-02 21:11:28.789723953                      'Min': -1.0,
frigate  | 2023-10-02 21:11:28.789725347                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789726559                  }
frigate  | 2023-10-02 21:11:28.789727777              }
frigate  | 2023-10-02 21:11:28.789728850          ],
frigate  | 2023-10-02 21:11:28.789730370          'ContinuousPanTiltVelocitySpace': [
frigate  | 2023-10-02 21:11:28.789731610              {
frigate  | 2023-10-02 21:11:28.789733201                  'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace',
frigate  | 2023-10-02 21:11:28.789734456                  'XRange': {
frigate  | 2023-10-02 21:11:28.789735650                      'Min': -1.0,
frigate  | 2023-10-02 21:11:28.789736901                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789738062                  },
frigate  | 2023-10-02 21:11:28.789739312                  'YRange': {
frigate  | 2023-10-02 21:11:28.789740563                      'Min': -1.0,
frigate  | 2023-10-02 21:11:28.789741828                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789742961                  }
frigate  | 2023-10-02 21:11:28.789744443              },
frigate  | 2023-10-02 21:11:28.789745601              {
frigate  | 2023-10-02 21:11:28.789747260                  'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocitySpaceFOV',
frigate  | 2023-10-02 21:11:28.789748537                  'XRange': {
frigate  | 2023-10-02 21:11:28.789749813                      'Min': -7.0,
frigate  | 2023-10-02 21:11:28.789751252                      'Max': 7.0
frigate  | 2023-10-02 21:11:28.789752486                  },
frigate  | 2023-10-02 21:11:28.789753920                  'YRange': {
frigate  | 2023-10-02 21:11:28.789755137                      'Min': -7.0,
frigate  | 2023-10-02 21:11:28.789756337                      'Max': 7.0
frigate  | 2023-10-02 21:11:28.789757499                  }
frigate  | 2023-10-02 21:11:28.789758706              }
frigate  | 2023-10-02 21:11:28.789759876          ],
frigate  | 2023-10-02 21:11:28.789761234          'ContinuousZoomVelocitySpace': [
frigate  | 2023-10-02 21:11:28.789762414              {
frigate  | 2023-10-02 21:11:28.789764010                  'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace',
frigate  | 2023-10-02 21:11:28.789765225                  'XRange': {
frigate  | 2023-10-02 21:11:28.789766448                      'Min': -1.0,
frigate  | 2023-10-02 21:11:28.789767680                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789768856                  }
frigate  | 2023-10-02 21:11:28.789770040              },
frigate  | 2023-10-02 21:11:28.789771193              {
frigate  | 2023-10-02 21:11:28.789772712                  'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocitySpaceMillimeter',
frigate  | 2023-10-02 21:11:28.789773871                  'XRange': {
frigate  | 2023-10-02 21:11:28.789775116                      'Min': -7.0,
frigate  | 2023-10-02 21:11:28.789776387                      'Max': 7.0
frigate  | 2023-10-02 21:11:28.789777539                  }
frigate  | 2023-10-02 21:11:28.789778923              }
frigate  | 2023-10-02 21:11:28.789780064          ],
frigate  | 2023-10-02 21:11:28.789781280          'PanTiltSpeedSpace': [
frigate  | 2023-10-02 21:11:28.789782452              {
frigate  | 2023-10-02 21:11:28.789783986                  'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/GenericSpeedSpace',
frigate  | 2023-10-02 21:11:28.789785211                  'XRange': {
frigate  | 2023-10-02 21:11:28.789786438                      'Min': 0.0,
frigate  | 2023-10-02 21:11:28.789787665                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789788810                  }
frigate  | 2023-10-02 21:11:28.789789967              }
frigate  | 2023-10-02 21:11:28.789791090          ],
frigate  | 2023-10-02 21:11:28.789792648          'ZoomSpeedSpace': [
frigate  | 2023-10-02 21:11:28.789793810              {
frigate  | 2023-10-02 21:11:28.789795293                  'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/ZoomGenericSpeedSpace',
frigate  | 2023-10-02 21:11:28.789796572                  'XRange': {
frigate  | 2023-10-02 21:11:28.789798056                      'Min': 0.0,
frigate  | 2023-10-02 21:11:28.789799279                      'Max': 1.0
frigate  | 2023-10-02 21:11:28.789800739                  }
frigate  | 2023-10-02 21:11:28.789801895              }
frigate  | 2023-10-02 21:11:28.789802985          ],
frigate  | 2023-10-02 21:11:28.789804156          'Extension': None,
frigate  | 2023-10-02 21:11:28.789805297          '_attr_1': None
frigate  | 2023-10-02 21:11:28.789806469      },
frigate  | 2023-10-02 21:11:28.789807724      'PTZTimeout': {
frigate  | 2023-10-02 21:11:28.789809080          'Min': datetime.timedelta(seconds=1),
frigate  | 2023-10-02 21:11:28.789810498          'Max': datetime.timedelta(seconds=600)
frigate  | 2023-10-02 21:11:28.789811598      },
frigate  | 2023-10-02 21:11:28.789812771      '_value_1': None,
frigate  | 2023-10-02 21:11:28.789814011      'PTControlDirection': None,
frigate  | 2023-10-02 21:11:28.789815258      'Extension': None,
frigate  | 2023-10-02 21:11:28.789816455      '_attr_1': None
frigate  | 2023-10-02 21:11:28.789817515  }
frigate  | 2023-10-02 21:11:28.789832598  [2023-10-02 21:11:27] frigate.ptz.onvif              DEBUG   : Onvif status config for garrage_porte: {
frigate  | 2023-10-02 21:11:28.789833936      'Position': {
frigate  | 2023-10-02 21:11:28.789835104          'PanTilt': {
frigate  | 2023-10-02 21:11:28.789836323              'x': -0.978667,
frigate  | 2023-10-02 21:11:28.789837536              'y': 0.874444,
frigate  | 2023-10-02 21:11:28.789839202              'space': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace'
frigate  | 2023-10-02 21:11:28.789840290          },
frigate  | 2023-10-02 21:11:28.789841526          'Zoom': {
frigate  | 2023-10-02 21:11:28.789842752              'x': 0.0,
frigate  | 2023-10-02 21:11:28.789844550              'space': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace'
frigate  | 2023-10-02 21:11:28.789845659          }
frigate  | 2023-10-02 21:11:28.789846736      },
frigate  | 2023-10-02 21:11:28.789848004      'MoveStatus': {
frigate  | 2023-10-02 21:11:28.789849284          'PanTilt': 'MOVING',
frigate  | 2023-10-02 21:11:28.789850700          'Zoom': 'IDLE'
frigate  | 2023-10-02 21:11:28.789851759      },
frigate  | 2023-10-02 21:11:28.789853289      'Error': 'NO error',
frigate  | 2023-10-02 21:11:28.789854932      'UtcTime': datetime.datetime(2023, 10, 2, 19, 11, 25, tzinfo=<isodate.tzinfo.Utc object at 0x7f8e32e8a1f0>),
frigate  | 2023-10-02 21:11:28.789856111      '_value_1': None,
frigate  | 2023-10-02 21:11:28.789857322      '_attr_1': None
frigate  | 2023-10-02 21:11:28.789858438  }
frigate  | 2023-10-02 21:11:28.789860223  [2023-10-02 21:11:27] frigate.ptz.onvif              DEBUG   : Onvif service capabilities for garrage_porte: {
frigate  | 2023-10-02 21:11:28.789861388      '_value_1': None,
frigate  | 2023-10-02 21:11:28.789862610      'EFlip': False,
frigate  | 2023-10-02 21:11:28.789863809      'Reverse': False,
frigate  | 2023-10-02 21:11:28.789865084      'GetCompatibleConfigurations': True,
frigate  | 2023-10-02 21:11:28.789866216      '_attr_1': {
frigate  | 2023-10-02 21:11:28.789867412          'MoveStatus': 'true',
frigate  | 2023-10-02 21:11:28.789868570          'StatusPosition': 'true'
frigate  | 2023-10-02 21:11:28.789869756      }
frigate  | 2023-10-02 21:11:28.789870871  }
frigate  | 2023-10-02 21:11:28.789872318  [2023-10-02 21:11:27] frigate.ptz.onvif              DEBUG   : PTZ start time: 0.0
frigate  | 2023-10-02 21:11:28.789873775  [2023-10-02 21:11:27] frigate.ptz.onvif              DEBUG   : Camera zoom level: 0.0
frigate  | 2023-10-02 21:11:28.789930574  [2023-10-02 21:11:27] frigate.app                    INFO    : Camera processor started for maison_tgbt: 629
frigate  | 2023-10-02 21:11:28.791135646  [2023-10-02 21:11:27] frigate.app                    INFO    : Camera processor started for piscine_videsanitaire: 630
frigate  | 2023-10-02 21:11:28.791137796  [2023-10-02 21:11:27] frigate.app                    INFO    : Camera processor started for test: 631
frigate  | 2023-10-02 21:11:28.791139465  [2023-10-02 21:11:27] frigate.app                    INFO    : Camera processor started for terrasse: 634
frigate  | 2023-10-02 21:11:28.791141106  [2023-10-02 21:11:27] frigate.app                    INFO    : Camera processor started for garrage_porte: 636
frigate  | 2023-10-02 21:11:28.791142720  [2023-10-02 21:11:27] frigate.app                    INFO    : Camera processor started for garrage_maison: 638
frigate  | 2023-10-02 21:11:28.791144316  [2023-10-02 21:11:27] frigate.app                    INFO    : Camera processor started for jardin_avant: 640
frigate  | 2023-10-02 21:11:28.791145853  [2023-10-02 21:11:27] frigate.app                    INFO    : Camera processor started for portail_interieur: 642
frigate  | 2023-10-02 21:11:28.791147423  [2023-10-02 21:11:27] frigate.app                    INFO    : Camera processor started for portail_exterieur: 644
frigate  | 2023-10-02 21:11:28.791148976  [2023-10-02 21:11:27] frigate.app                    INFO    : Camera processor started for interphone: 646
frigate  | 2023-10-02 21:11:28.791150525  [2023-10-02 21:11:27] frigate.app                    INFO    : Capture process started for maison_tgbt: 648
frigate  | 2023-10-02 21:11:28.791152125  [2023-10-02 21:11:27] frigate.app                    INFO    : Capture process started for piscine_videsanitaire: 652
frigate  | 2023-10-02 21:11:28.791153612  [2023-10-02 21:11:27] frigate.app                    INFO    : Capture process started for test: 656
frigate  | 2023-10-02 21:11:28.791155122  [2023-10-02 21:11:27] frigate.app                    INFO    : Capture process started for terrasse: 658
frigate  | 2023-10-02 21:11:28.791156620  [2023-10-02 21:11:27] frigate.app                    INFO    : Capture process started for garrage_porte: 665
frigate  | 2023-10-02 21:11:28.791158127  [2023-10-02 21:11:27] frigate.app                    INFO    : Capture process started for garrage_maison: 670
frigate  | 2023-10-02 21:11:28.791159646  [2023-10-02 21:11:27] frigate.app                    INFO    : Capture process started for jardin_avant: 675
frigate  | 2023-10-02 21:11:28.791161193  [2023-10-02 21:11:27] frigate.app                    INFO    : Capture process started for portail_interieur: 680
frigate  | 2023-10-02 21:11:28.791162722  [2023-10-02 21:11:27] frigate.app                    INFO    : Capture process started for portail_exterieur: 685
frigate  | 2023-10-02 21:11:28.791164191  [2023-10-02 21:11:27] frigate.app                    INFO    : Capture process started for interphone: 690
frigate  | 2023-10-02 21:11:28.791165595  [2023-10-02 21:11:28] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 21:11:28.791166967  [2023-10-02 21:11:28] frigate.ptz.onvif              DEBUG   : Camera zoom level: 0.0
frigate  | 2023-10-02 21:11:28.791168370  [2023-10-02 21:11:28] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 21:11:28.791169757  [2023-10-02 21:11:28] frigate.ptz.onvif              DEBUG   : Camera zoom level: 0.0
frigate  | 2023-10-02 21:11:28.792438543  [2023-10-02 21:11:28] frigate.detectors.plugins.edgetpu_tfl INFO    : TPU found
frigate  | 2023-10-02 21:11:28.947687807  [2023-10-02 21:11:28] frigate.ptz.autotrack          DEBUG   : Motion estimator reset - homography
frigate  | 2023-10-02 21:11:29.093736812  [2023-10-02 21:11:29] frigate.ptz.autotrack          DEBUG   : Motion estimator reset - homography
frigate  | 2023-10-02 21:11:29.685890374  [2023-10-02 21:11:29] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 21:11:29.701337203  [2023-10-02 21:11:29] frigate.ptz.onvif              DEBUG   : Camera zoom level: 0.0
frigate  | 2023-10-02 21:11:29.701402545  [2023-10-02 21:11:29] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 21:11:29.721569793  [2023-10-02 21:11:29] frigate.ptz.onvif              DEBUG   : Camera zoom level: 0.0
frigate  | 2023-10-02 21:11:30.722572580  [2023-10-02 21:11:30] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 21:11:30.740970366  [2023-10-02 21:11:30] frigate.ptz.onvif              DEBUG   : Camera zoom level: 0.0
frigate  | 2023-10-02 21:11:30.741060568  [2023-10-02 21:11:30] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 21:11:30.758633538  [2023-10-02 21:11:30] frigate.ptz.onvif              DEBUG   : Camera zoom level: 0.0
frigate  | 2023-10-02 21:11:31.761547949  [2023-10-02 21:11:31] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 21:11:31.778065425  [2023-10-02 21:11:31] frigate.ptz.onvif              DEBUG   : Camera zoom level: 0.0
frigate  | 2023-10-02 21:11:31.778207440  [2023-10-02 21:11:31] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 21:11:31.802207135  [2023-10-02 21:11:31] frigate.ptz.onvif              DEBUG   : Camera zoom level: 0.0
frigate  | 2023-10-02 21:11:32.803107351  [2023-10-02 21:11:32] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 21:11:32.821627518  [2023-10-02 21:11:32] frigate.ptz.onvif              DEBUG   : Camera zoom level: 0.0
frigate  | 2023-10-02 21:11:32.821757525  [2023-10-02 21:11:32] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 21:11:32.839594766  [2023-10-02 21:11:32] frigate.ptz.onvif              DEBUG   : Camera zoom level: 0.0
frigate  | 2023-10-02 21:11:33.840867565  [2023-10-02 21:11:33] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 21:11:33.863314567  [2023-10-02 21:11:33] frigate.ptz.onvif              DEBUG   : Camera zoom level: 0.0
frigate  | 2023-10-02 21:11:33.863394793  [2023-10-02 21:11:33] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 21:11:33.906765982  [2023-10-02 21:11:33] frigate.ptz.onvif              DEBUG   : Camera zoom level: 0.0
frigate  | 2023-10-02 21:11:34.068170056  [INFO] Starting go2rtc healthcheck service...
frigate  | 2023-10-02 21:11:34.907178279  [2023-10-02 21:11:34] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 21:11:34.921306721  [2023-10-02 21:11:34] frigate.ptz.onvif              DEBUG   : Camera zoom level: 0.0
frigate  | 2023-10-02 21:11:34.921350609  [2023-10-02 21:11:34] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 21:11:34.934175634  [2023-10-02 21:11:34] frigate.ptz.onvif              DEBUG   : Camera zoom level: 0.0
frigate  | 2023-10-02 21:11:35.935372299  [2023-10-02 21:11:35] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 21:11:35.951552957  [2023-10-02 21:11:35] frigate.ptz.onvif              DEBUG   : Camera zoom level: 0.0
frigate  | 2023-10-02 21:11:35.951822638  [2023-10-02 21:11:35] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 21:11:35.968883875  [2023-10-02 21:11:35] frigate.ptz.onvif              DEBUG   : Camera zoom level: 0.0
frigate  | 2023-10-02 21:11:36.969663076  [2023-10-02 21:11:36] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 21:11:36.986801911  [2023-10-02 21:11:36] frigate.ptz.onvif              DEBUG   : Camera zoom level: 0.0
frigate  | 2023-10-02 21:11:36.986902419  [2023-10-02 21:11:36] frigate.ptz.autotrack          DEBUG   : Running camera maintenance
frigate  | 2023-10-02 21:11:37.001115485  [2023-10-02 21:11:37] frigate.ptz.onvif              DEBUG   : Camera zoom level: 0.0
hawkeye217 commented 9 months ago

Thanks!

You're running into the same issue as some other users with Hikvision PTZs.

Frigate is waiting for MoveStatus to switch back to IDLE after it makes the initial PTZ move so that it can continue autotracking the object. If your camera's firmware doesn't switch it back, then autotracking unfortunately won't work with your camera. Frigate can't do anything more if your camera's ONVIF features don't actually work as they should.

CurseStaff commented 9 months ago

@hawkeye217 All right,

thanks for your feedback

I took over the work that you and the team started to try to design compatible with configuration for cameras which would not support the relative (or which would have a messed up firmware (like hikvision) (if controlled with Absolut, the ONVIF data is correct)

I'm almost finished, but I can't find where the "blocking" line is located which awaits the return to IDLE?

I will share my work if it works correctly after several tests on a PR

hawkeye217 commented 9 months ago

I'm almost finished, but I can't find where the "blocking" line is located which awaits the return to IDLE?

You'll want to look at get_camera_status() in onvif.py.

CurseStaff commented 9 months ago

thank you, I will check that

CurseStaff commented 9 months ago

hi, @hawkeye217 I am facing this logic error:: (the crossed out text are custom dev logs)

-> DEBUG : Actual movement time: -1696362949.056707

(the custom dev logs dont edit the self.ptz_metrics value Do you have any idea what could cause it?

the camera moves on the lens for the first time, but no longer follows it.

second question, is the spam of ": Motion estimator transformation:" and "Motion estimator running for terrace" normal?

Shouldn't this push a new move request into the queue?)

frigate | 2023-10-03 21:55:49.668817997 [2023-10-03 21:55:49] frigate.ptz.autotrack DEBUG : Autotrack: New object: 1696362947.133419-wh8km1 (1258, 345, 1359, 779) 1696362948.703803 frigate | 2023-10-03 21:55:49.673128961 [2023-10-03 21:55:49] frigate.ptz.autotrack DEBUG : Original box: (1258, 345, 1359, 779) frigate | 2023-10-03 21:55:49.673440552 [2023-10-03 21:55:49] frigate.ptz.autotrack DEBUG : Predicted box: (1258, 345, 1359, 779) frigate | 2023-10-03 21:55:49.673444380 [2023-10-03 21:55:49] frigate.ptz.autotrack DEBUG : Velocity: (-70, 7, -85, -21) frigate | 2023-10-03 21:55:49.673451897 [2023-10-03 21:55:49] frigate.ptz.autotrack DEBUG : Enqueue movement for frame time: 1696362948.703803 pan: 0.36250000000000004, enqueue tilt: -0.040740740740740744, enqueue zoom: 0

frigate | 2023-10-03 21:55:49.679311112 [2023-10-03 21:55:49] frigate.ptz.autotrack DEBUG : Move camera to coord: 0.36250000000000004 : -0.040740740740740744 : 0 : 1

frigate | 2023-10-03 21:55:49.718573359 [2023-10-03 21:55:49] frigate.ptz.autotrack DEBUG : Wait calibration mode sleep for: 0.3673316568136215

frigate | 2023-10-03 21:55:50.066299722 [2023-10-03 21:55:50] frigate.ptz.autotrack DEBUG : Motion estimator running for terrasse - frame time: 1696362949.455855, 1696362949.056707, 0.0 frigate | 2023-10-03 21:55:50.086459370 [2023-10-03 21:55:50] frigate.ptz.autotrack DEBUG : Predicted movement time: 0.014439457650756719 frigate | 2023-10-03 21:55:50.086528393 [2023-10-03 21:55:50] frigate.ptz.autotrack DEBUG : Actual movement time: -1696362949.056707 frigate | 2023-10-03 21:55:50.086580520 [2023-10-03 21:55:50] frigate.ptz.autotrack DEBUG : Adding new values to move metrics frigate | 2023-10-03 21:55:50.127205430 [2023-10-03 21:55:50] frigate.ptz.autotrack DEBUG : Motion estimator transformation: [[1.27372880e-12 4.45021978e-13]] frigate | 2023-10-03 21:55:50.211249173 [2023-10-03 21:55:50] frigate.ptz.autotrack DEBUG : Motion estimator running for terrasse - frame time: 1696362949.618854, 1696362949.056707, 0.0 frigate | 2023-10-03 21:55:50.219234852 [2023-10-03 21:55:50] frigate.ptz.autotrack DEBUG : Motion estimator transformation: [[-0.01260796 -0.05390279]] frigate | 2023-10-03 21:55:50.286626080 [2023-10-03 21:55:50] frigate.ptz.autotrack DEBUG : Motion estimator running for terrasse - frame time: 1696362949.855245, 1696362949.056707, 0.0 frigate | 2023-10-03 21:55:50.298222833 [2023-10-03 21:55:50] frigate.ptz.autotrack DEBUG : Motion estimator transformation: [[-0.05323606 -0.06281046]] frigate | 2023-10-03 21:55:50.356767577 [2023-10-03 21:55:50] frigate.ptz.autotrack DEBUG : Motion estimator running for terrasse - frame time: 1696362950.152674, 1696362949.056707, 0.0

in ovif you make this assignment in the move function (_move_relative)

what is this for?

self.ptz_metrics[camera_name]["ptz_start_time"].value = self.ptz_metrics[
            camera_name
        ]["ptz_frame_time"].value

THANK YOU for your help, I know I'm asking several questions, but it's not easy to analyze such a complete program :)

github-actions[bot] commented 8 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.