Repository: blakeblackshear/frigate

Issue:
[Support]: Memory leak in AudioManager
### Describe the problem you are having

I'm experiencing a memory leak in Audio Manager when I have the new audio events enabled. From the best I can tell, the issue seems to be related to when a camera that has audio monitoring enabled, and something causes a disconnect from said camera, it leaks memory, even if it reconnects and continues to work.

My most severe memory leak was last night, when I applied a firmware update to my network switches, gateways, etc along with some cameras that I have, causing all of my cameras to go offline multiple times for short periods of time. Frigate eventually crashed, seemingly with nothing in the logs, but when it consumed all system memory in the frigate.audio_manager process.

Today I'm trying to configure another camera, and while the camera is misbehaving and disconnecting, AudioManager seems to be growing and growing in its memory consumption. Its currently consuming 38.8055GB of memory. CPU time from audio_manager also seems to stay around 110% once the leak starts happening, which is way higher then normal.

I have not seen any memory leak without an associated camera network disconnect, and from my testing, it does not appear to be associated with any particular camera model (although the camera must have audio enabled obviously).

AudioDetector
P-ID | CPU % | Avg CPU % | Memory %
1580 | 108.0% | 109% | 36.1%


### Version

0.13.0-0FD1EAF

### Frigate config file

```yaml
ui:
  use_experimental: true

database:
  path: /db/frigate.db

birdseye:
  enabled: true
  restream: true
  mode: objects
  width: 1920
  height: 1200

mqtt:
  host: 10.10.22.11
  user: frigate
  password: frigatePASS1

detectors:
  coral1:
    type: edgetpu
    device: pci:0
  coral2:
    type: edgetpu
    device: pci:1


record:
  enabled: true
  retain:
    days: 14
    mode: motion
  events:
    retain:
      default: 45
      mode: active_objects

objects:
  track:
  - person
  - bicycle
  - car
  - cat
  - dog
  filters:
    person:
      # Optional: minimum width*height of the bounding box for the detected object (default: 0)
      #min_area: 500
      # Optional: maximum width*height of the bounding box for the detected object (default: 24000000)
      #max_area: 100000
      # Optional: minimum width/height of the bounding box for the detected object (default: 0)
      #min_ratio: 0.5
      # Optional: maximum width/height of the bounding box for the detected object (default: 24000000)
      #max_ratio: 2.0
      # Optional: minimum score for the object to initiate tracking (default: shown below)
      #min_score: 0.60
      # Optional: minimum decimal percentage for tracked object's computed score to be considered a true positive (default: shown below)
      threshold: 0.75

audio:
  enabled: true
  listen:
  - bark
  - scream
  - speech
  - yell
  - goat
  - chicken
  - skidding
  - tire_squeal
  - emergency_vehicle
  - smoke_detector
  - gunshot
  - glass
  - crack
  - shatter
  - smash
  - breaking

snapshots:
  enabled: true
  clean_copy: true
  timestamp: false
  bounding_box: true
  crop: true
  retain:
    default: 180

go2rtc:
  streams:
 [removed]

  webrtc:
    candidates:
    - 10.10.22.11:8555
    - stun:8555

cameras:
  warehouse_exterior_doorbell:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/warehouse_exterior_doorbell
        roles:
        - record
        - detect
        - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h264
    detect:
      width: 2560
      height: 1920
    motion:
      mask:
      - 0,0,2560,0,2560,986,2045,956,2034,1016,2406,1054,2332,1121,371,1118,357,910,0,846

  warehouse_exterior_nw:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/warehouse_exterior_nw
        roles:
        - record
        #- path: rtsp://127.0.0.1:8554/warehouse_exterior_nw_sub
        #  roles:
        - detect
      hwaccel_args: preset-nvidia-h264
    audio:
      enabled: false
    detect:
      width: 1920
      height: 1080

    motion:
      mask:
      - 684,132,1110,125,1114,68,686,75
  warehouse_exterior_sw:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/warehouse_exterior_sw
        roles:
        - record
      - path: rtsp://127.0.0.1:8554/warehouse_exterior_sw_sub
        roles:
        - detect
      hwaccel_args: preset-nvidia-h264
    audio:
      enabled: false
    detect:
      width: 1920
      height: 1080

    motion:
      mask:
      - 731,75,734,137,1078,132,1086,80
  warehouse_exterior_se:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/warehouse_exterior_se
        roles:
        - record
      - path: rtsp://127.0.0.1:8554/warehouse_exterior_se_sub
        roles:
        - detect
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h264
    audio:
      enabled: false
    detect:
      width: 480
      height: 360
    motion:
      mask:
      - 480,0,480,55,109,50,0,80,0,0
#    detect:
#      width: 2592
#      height: 1944

  warehouse_exterior_front:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/warehouse_exterior_front_sub
        roles:
        - record
        #- path: rtsp://127.0.0.1:8554/warehouse_exterior_front_sub
        #  roles:
        - detect
        - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h264
    detect:
      width: 1536
      height: 576
    #birdseye:
    #  enabled: False
    #detect:
    #  width: 4608
    #  height: 1728

    motion:
      mask:
      - 635,0,0,0,0,292,356,141,617,114
  warehouse_workbench:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/warehouse_workbench
        roles:
        - record
      - path: rtsp://127.0.0.1:8554/warehouse_workbench_sub
        roles:
        - detect
        - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h264
    #detect:
    #  width: 2560
    #  height: 1920
    detect:
      width: 640
      height: 480
    motion:
      mask:
      - 220,480,100,480,98,459,217,453

  warehouse_interior_front:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/warehouse_interior_front
        roles:
        - record
      - path: rtsp://127.0.0.1:8554/warehouse_interior_front_sub
        roles:
        - detect
        - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h264
    #detect:
    #  width: 2560
    #  height: 1920
    detect:
      width: 640
      height: 480
    motion:
      mask:
      - 376,0,397,31,205,27,205,0

  warehouse_interior_office:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/warehouse_interior_office
        roles:
        - record
      - path: rtsp://127.0.0.1:8554/warehouse_interior_office_sub
        roles:
        - detect
        - audio
#          input_args: -ss 00:01
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h264
    detect:
      width: 704
      height: 480
    motion:
      mask:
      - 682,21,683,52,418,47,405,22
#    detect:
#      width: 3840
#      height: 2160

  warehouse_interior_overview:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/warehouse_interior_overview
        roles:
        - record
#        - path: rtsp://127.0.0.1:8554/warehouse_interior_overview_sub
#          roles:
#            - detect
      hwaccel_args: preset-nvidia-h264
    audio:
      enabled: false
    detect:
      width: 1920
      height: 1080
#    detect:
#      width: 704
#      height: 480


  gp_clubhouse_gym_1:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/gp_clubhouse_gym_1
        roles:
        - record
#        - path: rtsp://127.0.0.1:8554/gp_clubhouse_gym_1_sub
#          roles:
        - detect
      hwaccel_args: preset-nvidia-h265
    detect:
      width: 2592
      height: 1944
#    detect:
#      width: 480
#      height: 360
    audio:
      enabled: false
    motion:
      mask:
      - 2592,173,2592,0,0,0,0,337
    objects:
      filters:
        bicycle:
          mask:
          - 1635,80,1886,1019,408,1059,350,177
        motorcycle:
          mask:
          - 1635,80,1886,1019,408,1059,350,177

  gp_clubhouse_gym_2:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/gp_clubhouse_gym_2
        roles:
        - record
#        - path: rtsp://127.0.0.1:8554/gp_clubhouse_gym_2_sub
#          roles:
        - detect
      hwaccel_args: preset-nvidia-h265
#    detect:
#      width: 480
#      height: 360
    detect:
      width: 2592
      height: 1944
    audio:
      enabled: false
    motion:
      mask:
      - 2592,0,0,0,0,385
    objects:
      filters:
        bicycle:
          mask:
          - 2391,1369,1261,677,1331,135,2542,274
        motorcycle:
          mask:
          - 2391,1369,1261,677,1331,135,2542,274

  gp_clubhouse_front_door:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/gp_clubhouse_front_door
        roles:
        - record
      - path: rtsp://127.0.0.1:8554/gp_clubhouse_front_door_sub
        roles:
        - detect
      hwaccel_args: preset-nvidia-h264
    detect:
      width: 480
      height: 360
#    detect:
#      width: 2592
#      height: 1944
    audio:
      enabled: false
    motion:
      mask:
      - 0,0,0,34,265,30,287,0

  gp_clubhouse_back_door:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/gp_clubhouse_back_door
        roles:
        - record
      - path: rtsp://127.0.0.1:8554/gp_clubhouse_back_door_sub
        roles:
        - detect
      hwaccel_args: preset-nvidia-h264
    detect:
      width: 480
      height: 360
    audio:
      enabled: false
    motion:
      mask:
      - 480,0,480,45,0,56,0,0
#    detect:
#      width: 2592
#      height: 1944

  gp_clubhouse_banquet:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/gp_clubhouse_banquet
        roles:
        - record
      - path: rtsp://127.0.0.1:8554/gp_clubhouse_banquet_sub
        roles:
        - detect
      hwaccel_args: preset-nvidia-h264
    detect:
      width: 480
      height: 360
    audio:
      enabled: false
    motion:
      mask:
      - 0,0,0,31,277,31,373,0
#    detect:
#      width: 2592
#      height: 1944
  gp_clubhouse_pool_porch:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/gp_clubhouse_pool_porch
        roles:
        - record
#        - path: rtsp://127.0.0.1:8554/gp_clubhouse_pool_porch_sub
#          roles:
        - detect
      hwaccel_args: preset-nvidia-h264
    zones:
      gp_clubhouse_pool_deck:
        coordinates: 1920,0,1920,1080,0,1080,0,0
    detect:
      width: 1920
      height: 1080
    audio:
      enabled: false
    motion:
      mask:
      - 1000,130,674,122,678,76,993,67
#    detect:
#      width: 704
#      height: 480

  gp_clubhouse_pool:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/gp_clubhouse_pool
        roles:
        - record
      - path: rtsp://127.0.0.1:8554/gp_clubhouse_pool_sub
        roles:
        - detect
        - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h265
    detect:
      width: 1920
      height: 536

    motion:
      mask:
      - 1920,0,875,0,1037,24,1856,240,1920,202
      - 0,536,551,536,965,80,731,56,0,402
    zones:
      gp_clubhouse_pool_deck:
        coordinates: 636,536,1920,536,1920,317,1607,146,989,27
  gp_clubhouse_firepit:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/gp_clubhouse_firepit
        roles:
        - record
#        - path: rtsp://127.0.0.1:8554/gp_clubhouse_firepit_sub
#          roles:
        - detect
        - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h265
    motion:
      mask:
      - 2211,0,0,0,0,495,1795,224,1795,67,2202,62
      - 2061,1203,1952,361,1771,361,1702,1182
    objects:
      filters:
        person:
          mask:
          - 2114,1213,1610,1210,1612,366,2080,361
    zones:
      gp_clubhouse_pool_deck:
        coordinates: 3840,2160,3657,599,1531,331,0,725,0,2160
    detect:
      width: 3840
      height: 2160

  gp_clubhouse_parking:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/gp_clubhouse_parking
        roles:
        - record
      - path: rtsp://admin:campass123@10.10.23.30:554/Streaming/channels/102
        #- path: rtsp://127.0.0.1:8554/gp_clubhouse_parking_sub
        roles:
        - detect
        - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h265
    detect:
      width: 1920
      height: 536
    motion:
      mask:
      - 1341,81,915,23,899,0,1920,0,1920,233
  gp636_doorbell:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/gp636_doorbell
        roles:
        - record
        - detect
        - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h264
    detect:
      width: 1920
      height: 1080
    motion:
      mask:
      - 0,0,1920,0,1920,60,928,361,926,599,0,499

  gp525_doorbell:
    ffmpeg:
      inputs:
        #- path: rtsp://admin:000000Sk@10.10.30.30:554/cam/realmonitor?channel=1&subtype=0
      - path: rtsp://127.0.0.1:8554/gp525_doorbell
        roles:
        - record
        - detect
        - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h264
    detect:
      width: 2560
      height: 1920
    motion:
      mask:
      - 1641,0,827,995,333,1019,173,861,0,904,0,0


  gp_entrance_75:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/gp_entrance_75
        roles:
        - record
        - detect
        - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h265
    detect:
      width: 1920
      height: 1080
#    record:
#      retain:
#        days: 5
#        mode: all
#      events:
#        retain:
#          default: 45

    motion:
      mask:
      - 1489,1059,1873,1059,1880,1008,1493,1000
  gp_entrance_archer:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/gp_entrance_archer
        roles:
        - record
        - detect
        - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h265
    detect:
      width: 1920
      height: 1080
    record:
      retain:
        days: 5
        mode: all
      events:
        retain:
          default: 45

    motion:
      mask:
      - 0,0,0,196,1311,185,1783,0
  gp_bldg_08_front:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/gp_bldg_08_front
        roles:
        - record
      - path: rtsp://127.0.0.1:8554/gp_bldg_08_front_sub
        roles:
        - detect
        - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h265
    detect:
      width: 1920
      height: 536
#      width: 5120
#      height: 1440
#    zones:
#      gp_bldg_alert:
#        coordinates: 0,961,0,1440,5120,1440,5120,1030,4090,139,1293,0

    motion:
      mask:
      - 0,208,288,101,635,77,679,0,0,0
  gp_bldg_08_rear:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/gp_bldg_08_rear
        roles:
        - record
      - path: rtsp://127.0.0.1:8554/gp_bldg_08_rear_sub
        roles:
        - detect
        - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h265
    detect:
      width: 1920
      height: 536
#      width: 5120
#      height: 1440
#    zones:
#      gp_bldg_alert:
#        coordinates: 5120,1440,0,1440,0,767,1113,393,2685,308,4223,514,5120,976

    motion:
      mask:
      - 363,91,662,43,1076,35,1351,65,1920,276,1920,0,0,0,0,226
  gp_bldg_03_side:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/gp_bldg_03_side
        roles:
        - record
      - path: rtsp://127.0.0.1:8554/gp_bldg_03_side_sub
        roles:
        - detect
        - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h265
    detect:
      width: 1920
      height: 536
    motion:
      mask:
      - 764,93,1255,111,1920,260,1920,0,0,0,0,175
#      width: 5120
#      height: 1440
    zones:
      gp_bldg_alert:
        coordinates: 0,536,0,306,240,239,1189,370,1352,536

  gp611_rear:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/gp611_rear
        roles:
        - record
      - path: rtsp://127.0.0.1:8554/gp611_rear_sub
        roles:
        - detect
        - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h264
    detect:
      width: 1536
      height: 576
    #birdseye:
    #  enabled: False
    #detect:
    #  width: 4608
    #  height: 1728
```


### Relevant log output

```shell
NA
```


### FFprobe output from your camera

```shell
NA
```


### Frigate stats

```json
{"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"},"17":{"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 go2rtc","cpu":"0.0","cpu_average":"0","mem":"0.0"},"25":{"cmdline":"s6-supervise go2rtc-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"26":{"cmdline":"s6-supervise frigate","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 s6rc-fdholder","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 nginx","cpu":"0.0","cpu_average":"0","mem":"0.0"},"31":{"cmdline":"s6-supervise nginx-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"32":{"cmdline":"s6-supervise frigate-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"40":{"cmdline":"/package/admin/s6-2.11.3.0/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"},"80":{"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/frigate","cpu":"0.0","cpu_average":"0","mem":"0.0"},"82":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/go2rtc","cpu":"0.0","cpu_average":"0","mem":"0.0"},"89":{"cmdline":"/usr/local/go2rtc/bin/go2rtc -config=/dev/shm/go2rtc.yaml","cpu":"93.3","cpu_average":"84","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":"124.5","cpu_average":"154","mem":"5.6"},"119":{"cmdline":"nginx: master process nginx","cpu":"0.0","cpu_average":"0","mem":"0.0"},"145":{"cmdline":"nginx: worker process","cpu":"0.2","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"},"149":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"152":{"cmdline":"nginx: worker process","cpu":"17.9","cpu_average":"1","mem":"0.0"},"159":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"170":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"181":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"193":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"203":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"217":{"cmdline":"nginx: worker process","cpu":"0.2","cpu_average":"0","mem":"0.0"},"234":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"257":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"2","mem":"0.0"},"291":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"339":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"398":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"459":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"513":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"560":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"589":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"616":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"641":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"687":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"741":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"793":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"821":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"854":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"896":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"931":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"973":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"8","mem":"0.0"},"1021":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1301":{"cmdline":"frigate.logger       ","cpu":"0.2","cpu_average":"0","mem":"0.1"},"1303":{"cmdline":"frigate.recording_manager","cpu":"31.4","cpu_average":"19","mem":"0.7"},"1312":{"cmdline":"/usr/bin/python3 -c from multiprocessing.resource_tracker import main;main(91)","cpu":"2.3","cpu_average":"2","mem":"0.0"},"1313":{"cmdline":"frigate.detector.coral1","cpu":"9.1","cpu_average":"10","mem":"0.2"},"1314":{"cmdline":"frigate.detector.coral2","cpu":"9.3","cpu_average":"10","mem":"0.2"},"1318":{"cmdline":"frigate.output       ","cpu":"136.9","cpu_average":"127","mem":"0.2"},"1340":{"cmdline":"frigate.process:warehouse_exterior_doorbell","cpu":"31.2","cpu_average":"7","mem":"0.2"},"1342":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 2560x1920 -i pipe: -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1353":{"cmdline":"frigate.process:warehouse_exterior_nw","cpu":"2.3","cpu_average":"11","mem":"0.2"},"1355":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1356":{"cmdline":"frigate.process:warehouse_exterior_sw","cpu":"1.9","cpu_average":"13","mem":"0.2"},"1358":{"cmdline":"frigate.process:warehouse_exterior_se","cpu":"1.7","cpu_average":"15","mem":"0.2"},"1360":{"cmdline":"frigate.process:warehouse_exterior_front","cpu":"4.1","cpu_average":"14","mem":"0.2"},"1362":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1363":{"cmdline":"frigate.process:warehouse_workbench","cpu":"8.7","cpu_average":"5","mem":"0.2"},"1366":{"cmdline":"frigate.process:warehouse_interior_front","cpu":"16.3","cpu_average":"6","mem":"0.2"},"1367":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 480x360 -i pipe: -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1368":{"cmdline":"frigate.process:warehouse_interior_office","cpu":"2.9","cpu_average":"5","mem":"0.2"},"1371":{"cmdline":"frigate.process:warehouse_interior_overview","cpu":"6.0","cpu_average":"15","mem":"0.2"},"1372":{"cmdline":"frigate.process:gp_clubhouse_gym_1","cpu":"2.3","cpu_average":"9","mem":"0.2"},"1373":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1536x576 -i pipe: -f mpegts -s 1920x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1375":{"cmdline":"frigate.process:gp_clubhouse_gym_2","cpu":"2.3","cpu_average":"10","mem":"0.2"},"1376":{"cmdline":"frigate.process:gp_clubhouse_front_door","cpu":"1.7","cpu_average":"4","mem":"0.2"},"1379":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1380":{"cmdline":"frigate.process:gp_clubhouse_back_door","cpu":"2.1","cpu_average":"4","mem":"0.2"},"1382":{"cmdline":"frigate.process:gp_clubhouse_banquet","cpu":"1.9","cpu_average":"5","mem":"0.2"},"1384":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1385":{"cmdline":"frigate.process:gp_clubhouse_pool_porch","cpu":"8.3","cpu_average":"8","mem":"0.2"},"1387":{"cmdline":"frigate.process:gp_clubhouse_pool","cpu":"5.2","cpu_average":"7","mem":"0.2"},"1389":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 704x480 -i pipe: -f mpegts -s 1056x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1390":{"cmdline":"frigate.process:gp_clubhouse_firepit","cpu":"2.5","cpu_average":"12","mem":"0.3"},"1392":{"cmdline":"frigate.process:gp_clubhouse_parking","cpu":"2.5","cpu_average":"7","mem":"0.2"},"1393":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1394":{"cmdline":"frigate.process:gp636_doorbell","cpu":"3.3","cpu_average":"5","mem":"0.2"},"1398":{"cmdline":"frigate.process:gp525_doorbell","cpu":"3.9","cpu_average":"11","mem":"0.2"},"1399":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 2592x1944 -i pipe: -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1400":{"cmdline":"frigate.process:gp_entrance_75","cpu":"2.3","cpu_average":"9","mem":"0.2"},"1402":{"cmdline":"frigate.process:gp_entrance_archer","cpu":"25.8","cpu_average":"31","mem":"0.2"},"1404":{"cmdline":"frigate.process:gp_bldg_08_front","cpu":"3.1","cpu_average":"9","mem":"0.2"},"1406":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 2592x1944 -i pipe: -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1407":{"cmdline":"frigate.process:gp_bldg_08_rear","cpu":"3.1","cpu_average":"4","mem":"0.2"},"1409":{"cmdline":"frigate.process:gp_bldg_03_side","cpu":"35.1","cpu_average":"14","mem":"0.2"},"1411":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 480x360 -i pipe: -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1412":{"cmdline":"frigate.process:gp611_rear","cpu":"0.0","cpu_average":"0","mem":"0.2"},"1414":{"cmdline":"frigate.capture:warehouse_exterior_doorbell","cpu":"15.3","cpu_average":"12","mem":"0.2"},"1417":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 480x360 -i pipe: -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1420":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 480x360 -i pipe: -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1422":{"cmdline":"frigate.capture:warehouse_exterior_nw","cpu":"7.5","cpu_average":"5","mem":"0.2"},"1425":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1426":{"cmdline":"frigate.capture:warehouse_exterior_sw","cpu":"6.4","cpu_average":"5","mem":"0.2"},"1427":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_exterior_nw -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/warehouse_exterior_nw-%Y%m%d%H%M%S.mp4 -r 5 -vf fps=5,scale_cuda=w=1920:h=1080:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"10.8","cpu_average":"9","mem":"0.2"},"1428":{"cmdline":"frigate.capture:warehouse_exterior_se","cpu":"0.6","cpu_average":"0","mem":"0.2"},"1431":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_exterior_sw_sub -r 5 -vf fps=5,scale_cuda=w=1920:h=1080:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"10.6","cpu_average":"9","mem":"0.2"},"1434":{"cmdline":"frigate.capture:warehouse_exterior_front","cpu":"4.2","cpu_average":"2","mem":"0.2"},"1436":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x536 -i pipe: -f mpegts -s 2579x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1437":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_exterior_se_sub -r 5 -vf fps=5,scale_cuda=w=480:h=360:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"3.7","cpu_average":"3","mem":"0.1"},"1439":{"cmdline":"frigate.capture:warehouse_workbench","cpu":"1.0","cpu_average":"1","mem":"0.2"},"1445":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_exterior_sw -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/warehouse_exterior_sw-%Y%m%d%H%M%S.mp4","cpu":"0.8","cpu_average":"0","mem":"0.0"},"1446":{"cmdline":"frigate.capture:warehouse_interior_front","cpu":"1.5","cpu_average":"1","mem":"0.2"},"1450":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 3840x2160 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1451":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_workbench_sub -r 5 -vf fps=5,scale_cuda=w=640:h=480:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"3.9","cpu_average":"3","mem":"0.2"},"1452":{"cmdline":"frigate.capture:warehouse_interior_office","cpu":"1.2","cpu_average":"1","mem":"0.2"},"1453":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_exterior_se -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/warehouse_exterior_se-%Y%m%d%H%M%S.mp4","cpu":"1.2","cpu_average":"1","mem":"0.0"},"1461":{"cmdline":"frigate.capture:warehouse_interior_overview","cpu":"6.2","cpu_average":"5","mem":"0.2"},"1462":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_interior_front_sub -r 5 -vf fps=5,scale_cuda=w=640:h=480:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"4.6","cpu_average":"3","mem":"0.2"},"1465":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x536 -i pipe: -f mpegts -s 2579x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1466":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_workbench -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/warehouse_workbench-%Y%m%d%H%M%S.mp4","cpu":"7.3","cpu_average":"7","mem":"0.0"},"1467":{"cmdline":"frigate.capture:gp_clubhouse_gym_1","cpu":"15.2","cpu_average":"12","mem":"0.2"},"1468":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_interior_office_sub -r 5 -vf fps=5,scale_cuda=w=704:h=480:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"4.0","cpu_average":"3","mem":"0.2"},"1469":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_interior_overview -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/warehouse_interior_overview-%Y%m%d%H%M%S.mp4 -r 5 -vf fps=5,scale_cuda=w=1920:h=1080:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"10.1","cpu_average":"10","mem":"0.2"},"1473":{"cmdline":"frigate.capture:gp_clubhouse_gym_2","cpu":"14.7","cpu_average":"12","mem":"0.2"},"1476":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_gym_1 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/gp_clubhouse_gym_1-%Y%m%d%H%M%S.mp4 -r 5 -vf fps=5,scale_cuda=w=2592:h=1944:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"21.2","cpu_average":"18","mem":"0.3"},"1479":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_interior_front -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/warehouse_interior_front-%Y%m%d%H%M%S.mp4","cpu":"7.2","cpu_average":"7","mem":"0.0"},"1480":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1483":{"cmdline":"frigate.capture:gp_clubhouse_front_door","cpu":"0.8","cpu_average":"0","mem":"0.2"},"1484":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_interior_office -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/warehouse_interior_office-%Y%m%d%H%M%S.mp4","cpu":"0.6","cpu_average":"0","mem":"0.0"},"1488":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_gym_2 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/gp_clubhouse_gym_2-%Y%m%d%H%M%S.mp4 -r 5 -vf fps=5,scale_cuda=w=2592:h=1944:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"17.5","cpu_average":"18","mem":"0.3"},"1489":{"cmdline":"frigate.capture:gp_clubhouse_back_door","cpu":"1.1","cpu_average":"0","mem":"0.2"},"1490":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_front_door_sub -r 5 -vf fps=5,scale_cuda=w=480:h=360:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"3.4","cpu_average":"3","mem":"0.2"},"1493":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 2560x1920 -i pipe: -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1494":{"cmdline":"frigate.capture:gp_clubhouse_banquet","cpu":"0.8","cpu_average":"0","mem":"0.2"},"1498":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_back_door_sub -r 5 -vf fps=5,scale_cuda=w=480:h=360:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"4.2","cpu_average":"3","mem":"0.1"},"1501":{"cmdline":"frigate.capture:gp_clubhouse_pool_porch","cpu":"7.2","cpu_average":"5","mem":"0.2"},"1504":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_banquet_sub -r 5 -vf fps=5,scale_cuda=w=480:h=360:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"4.0","cpu_average":"3","mem":"0.2"},"1505":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1506":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_front_door -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/gp_clubhouse_front_door-%Y%m%d%H%M%S.mp4","cpu":"1.3","cpu_average":"1","mem":"0.0"},"1507":{"cmdline":"frigate.capture:gp_clubhouse_pool","cpu":"3.8","cpu_average":"3","mem":"0.2"},"1512":{"cmdline":"frigate.capture:gp_clubhouse_firepit","cpu":"18.1","cpu_average":"19","mem":"0.2"},"1513":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_pool_porch -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/gp_clubhouse_pool_porch-%Y%m%d%H%M%S.mp4 -r 5 -vf fps=5,scale_cuda=w=1920:h=1080:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"10.7","cpu_average":"9","mem":"0.2"},"1516":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_back_door -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/gp_clubhouse_back_door-%Y%m%d%H%M%S.mp4","cpu":"1.3","cpu_average":"1","mem":"0.0"},"1517":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_pool_sub -r 5 -vf fps=5,scale_cuda=w=1920:h=536:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"7.4","cpu_average":"6","mem":"0.2"},"1520":{"cmdline":"frigate.capture:gp_clubhouse_parking","cpu":"2.9","cpu_average":"3","mem":"0.2"},"1521":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_banquet -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/gp_clubhouse_banquet-%Y%m%d%H%M%S.mp4","cpu":"1.0","cpu_average":"1","mem":"0.0"},"1522":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_firepit -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/gp_clubhouse_firepit-%Y%m%d%H%M%S.mp4 -r 5 -vf fps=5,scale_cuda=w=3840:h=2160:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"36.3","cpu_average":"36","mem":"0.4"},"1523":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1526":{"cmdline":"frigate.capture:gp636_doorbell","cpu":"7.3","cpu_average":"5","mem":"0.2"},"1537":{"cmdline":"frigate.capture:gp525_doorbell","cpu":"12.2","cpu_average":"10","mem":"0.2"},"1538":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://admin:campass123@10.10.23.30:554/Streaming/channels/102 -r 5 -vf fps=5,scale_cuda=w=1920:h=536:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"6.5","cpu_average":"7","mem":"0.2"},"1539":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_pool -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/gp_clubhouse_pool-%Y%m%d%H%M%S.mp4","cpu":"3.8","cpu_average":"4","mem":"0.0"},"1540":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x536 -i pipe: -f mpegts -s 2579x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1541":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp636_doorbell -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/gp636_doorbell-%Y%m%d%H%M%S.mp4 -r 5 -vf fps=5,scale_cuda=w=1920:h=1080:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"16.7","cpu_average":"16","mem":"0.2"},"1544":{"cmdline":"frigate.capture:gp_entrance_75","cpu":"7.2","cpu_average":"5","mem":"0.2"},"1548":{"cmdline":"frigate.capture:gp_entrance_archer","cpu":"8.0","cpu_average":"5","mem":"0.2"},"1552":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_entrance_75 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/gp_entrance_75-%Y%m%d%H%M%S.mp4 -r 5 -vf fps=5,scale_cuda=w=1920:h=1080:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"19.7","cpu_average":"18","mem":"0.2"},"1553":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x536 -i pipe: -f mpegts -s 2579x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1554":{"cmdline":"frigate.capture:gp_bldg_08_front","cpu":"3.8","cpu_average":"3","mem":"0.2"},"1556":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_parking -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/gp_clubhouse_parking-%Y%m%d%H%M%S.mp4","cpu":"3.6","cpu_average":"5","mem":"0.0"},"1562":{"cmdline":"frigate.capture:gp_bldg_08_rear","cpu":"4.0","cpu_average":"3","mem":"0.2"},"1563":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_entrance_archer -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/gp_entrance_archer-%Y%m%d%H%M%S.mp4 -r 5 -vf fps=5,scale_cuda=w=1920:h=1080:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"20.4","cpu_average":"18","mem":"0.2"},"1566":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_bldg_08_front_sub -r 5 -vf fps=5,scale_cuda=w=1920:h=536:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"7.6","cpu_average":"6","mem":"0.2"},"1567":{"cmdline":"frigate.capture:gp_bldg_03_side","cpu":"4.0","cpu_average":"3","mem":"0.2"},"1571":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_bldg_08_rear_sub -r 5 -vf fps=5,scale_cuda=w=1920:h=536:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"6.6","cpu_average":"6","mem":"0.2"},"1573":{"cmdline":"frigate.capture:gp611_rear","cpu":"0.0","cpu_average":"0","mem":"0.2"},"1579":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_bldg_08_front -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/gp_bldg_08_front-%Y%m%d%H%M%S.mp4","cpu":"4.5","cpu_average":"4","mem":"0.0"},"1580":{"cmdline":"frigate.audio_manager","cpu":"109.6","cpu_average":"109","mem":"37.1"},"1581":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_bldg_03_side_sub -r 5 -vf fps=5,scale_cuda=w=1920:h=536:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"7.2","cpu_average":"6","mem":"0.2"},"1584":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_bldg_08_rear -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/gp_bldg_08_rear-%Y%m%d%H%M%S.mp4","cpu":"4.5","cpu_average":"4","mem":"0.0"},"1587":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x536 -i pipe: -f mpegts -s 2579x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1588":{"cmdline":"","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1594":{"cmdline":"","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1595":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_bldg_03_side -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/gp_bldg_03_side-%Y%m%d%H%M%S.mp4","cpu":"2.3","cpu_average":"2","mem":"0.0"},"1598":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1536x576 -i pipe: -f mpegts -s 1920x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1599":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -rtsp_transport tcp -timeout 5000000 -vn -i rtsp://127.0.0.1:8554/warehouse_workbench_sub -f s16le -ar 16000 -ac 1 -y /tmp/cache/warehouse_workbench-audio","cpu":"0.4","cpu_average":"0","mem":"0.0"},"1607":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -rtsp_transport tcp -timeout 5000000 -vn -i rtsp://127.0.0.1:8554/warehouse_interior_front_sub -f s16le -ar 16000 -ac 1 -y /tmp/cache/warehouse_interior_front-audio","cpu":"0.9","cpu_average":"0","mem":"0.0"},"1610":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1200 -i pipe: -f mpegts -s 1920x1200 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"24.7","cpu_average":"25","mem":"0.1"},"1611":{"cmdline":"","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1649":{"cmdline":"","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1651":{"cmdline":"","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1654":{"cmdline":"","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1657":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -rtsp_transport tcp -timeout 5000000 -vn -i rtsp://127.0.0.1:8554/gp636_doorbell -f s16le -ar 16000 -ac 1 -y /tmp/cache/gp636_doorbell-audio","cpu":"0.6","cpu_average":"0","mem":"0.0"},"1660":{"cmdline":"","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1670":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -rtsp_transport tcp -timeout 5000000 -vn -i rtsp://127.0.0.1:8554/gp_entrance_75 -f s16le -ar 16000 -ac 1 -y /tmp/cache/gp_entrance_75-audio","cpu":"2.1","cpu_average":"2","mem":"0.0"},"1675":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -rtsp_transport tcp -timeout 5000000 -vn -i rtsp://127.0.0.1:8554/gp_entrance_archer -f s16le -ar 16000 -ac 1 -y /tmp/cache/gp_entrance_archer-audio","cpu":"2.1","cpu_average":"2","mem":"0.0"},"1677":{"cmdline":"","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1680":{"cmdline":"","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1684":{"cmdline":"","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1687":{"cmdline":"","cpu":"0.0","cpu_average":"0","mem":"0.0"},"3614":{"cmdline":"ffmpeg -hide_banner -f rawvideo -pix_fmt yuv420p -video_size 1920x1200 -r 10 -i /tmp/cache/birdseye -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/d5842d2f48319551b595c330d8368a5c","cpu":"52.4","cpu_average":"54","mem":"0.2"},"156476":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_exterior_doorbell -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/warehouse_exterior_doorbell-%Y%m%d%H%M%S.mp4 -r 5 -vf fps=5,scale_cuda=w=2560:h=1920:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"23.1","cpu_average":"22","mem":"0.4"},"235210":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_exterior_front_sub -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/warehouse_exterior_front-%Y%m%d%H%M%S.mp4 -r 5 -vf fps=5,scale_cuda=w=1536:h=576:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"10.4","cpu_average":"9","mem":"0.2"},"293276":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-0fd1eaf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp525_doorbell -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/gp525_doorbell-%Y%m%d%H%M%S.mp4 -r 5 -vf fps=5,scale_cuda=w=2560:h=1920:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"15.9","cpu_average":"18","mem":"0.4"},"297234":{"cmdline":"sleep 30s","cpu":"0.0","cpu_average":"0","mem":"0.0"}},"detection_fps":48.3,"detectors":{"coral1":{"detection_start":0.0,"inference_speed":8.18,"pid":1313},"coral2":{"detection_start":0.0,"inference_speed":8.04,"pid":1314}},"gp525_doorbell":{"camera_fps":5.3,"capture_pid":1537,"detection_enabled":1,"detection_fps":0.3,"ffmpeg_pid":293276,"pid":1398,"process_fps":5.3,"skipped_fps":0.0},"gp611_rear":{"camera_fps":0.0,"capture_pid":1573,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":297236,"pid":1412,"process_fps":0.0,"skipped_fps":0.0},"gp636_doorbell":{"camera_fps":5.1,"capture_pid":1526,"detection_enabled":1,"detection_fps":0.1,"ffmpeg_pid":1541,"pid":1394,"process_fps":5.1,"skipped_fps":0.0},"gp_bldg_03_side":{"camera_fps":5.0,"capture_pid":1567,"detection_enabled":1,"detection_fps":15.4,"ffmpeg_pid":1581,"pid":1409,"process_fps":4.9,"skipped_fps":0.1},"gp_bldg_08_front":{"camera_fps":5.1,"capture_pid":1554,"detection_enabled":1,"detection_fps":1.4,"ffmpeg_pid":1566,"pid":1404,"process_fps":5.1,"skipped_fps":0.0},"gp_bldg_08_rear":{"camera_fps":5.0,"capture_pid":1562,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":1571,"pid":1407,"process_fps":5.0,"skipped_fps":0.0},"gp_clubhouse_back_door":{"camera_fps":5.1,"capture_pid":1489,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":1498,"pid":1380,"process_fps":5.1,"skipped_fps":0.0},"gp_clubhouse_banquet":{"camera_fps":5.0,"capture_pid":1494,"detection_enabled":1,"detection_fps":0.5,"ffmpeg_pid":1504,"pid":1382,"process_fps":5.0,"skipped_fps":0.0},"gp_clubhouse_firepit":{"camera_fps":5.1,"capture_pid":1512,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":1522,"pid":1390,"process_fps":5.1,"skipped_fps":0.0},"gp_clubhouse_front_door":{"camera_fps":5.0,"capture_pid":1483,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":1490,"pid":1376,"process_fps":5.0,"skipped_fps":0.0},"gp_clubhouse_gym_1":{"camera_fps":5.0,"capture_pid":1467,"detection_enabled":1,"detection_fps":0.5,"ffmpeg_pid":1476,"pid":1372,"process_fps":5.0,"skipped_fps":0.0},"gp_clubhouse_gym_2":{"camera_fps":5.0,"capture_pid":1473,"detection_enabled":1,"detection_fps":2.5,"ffmpeg_pid":1488,"pid":1375,"process_fps":5.0,"skipped_fps":0.0},"gp_clubhouse_parking":{"camera_fps":5.1,"capture_pid":1520,"detection_enabled":1,"detection_fps":0.3,"ffmpeg_pid":1538,"pid":1392,"process_fps":5.1,"skipped_fps":0.0},"gp_clubhouse_pool":{"camera_fps":5.0,"capture_pid":1507,"detection_enabled":1,"detection_fps":0.6,"ffmpeg_pid":1517,"pid":1387,"process_fps":5.0,"skipped_fps":0.0},"gp_clubhouse_pool_porch":{"camera_fps":5.0,"capture_pid":1501,"detection_enabled":1,"detection_fps":0.8,"ffmpeg_pid":1513,"pid":1385,"process_fps":5.0,"skipped_fps":0.0},"gp_entrance_75":{"camera_fps":5.0,"capture_pid":1544,"detection_enabled":1,"detection_fps":0.1,"ffmpeg_pid":1552,"pid":1400,"process_fps":5.0,"skipped_fps":0.0},"gp_entrance_archer":{"camera_fps":5.1,"capture_pid":1548,"detection_enabled":1,"detection_fps":8.5,"ffmpeg_pid":1563,"pid":1402,"process_fps":5.1,"skipped_fps":0.0},"gpu_usages":{"NVIDIA T1000 8GB":{"gpu":"14.0%","mem":"48.66%"}},"processes":{"audioDetector":{"pid":1580},"go2rtc":{"pid":89},"logger":{"pid":1301},"recording":{"pid":1303}},"service":{"last_updated":1690208276,"latest_version":"0.12.1","storage":{"/dev/shm":{"free":1430.7,"mount_type":"tmpfs","total":1521.0,"used":90.3},"/media/frigate/clips":{"free":140111.8,"mount_type":"zfs","total":3683179.2,"used":3543067.5},"/media/frigate/recordings":{"free":140111.8,"mount_type":"zfs","total":3683179.2,"used":3543067.5},"/tmp/cache":{"free":936.1,"mount_type":"tmpfs","total":1024.0,"used":87.9}},"temperatures":{"apex_0":49.05,"apex_1":50.55},"uptime":7310,"version":"0.13.0-0fd1eaf"},"warehouse_exterior_doorbell":{"camera_fps":5.1,"capture_pid":1414,"detection_enabled":1,"detection_fps":9.0,"ffmpeg_pid":156476,"pid":1340,"process_fps":5.1,"skipped_fps":0.0},"warehouse_exterior_front":{"camera_fps":5.1,"capture_pid":1434,"detection_enabled":1,"detection_fps":0.2,"ffmpeg_pid":235210,"pid":1360,"process_fps":5.1,"skipped_fps":0.0},"warehouse_exterior_nw":{"camera_fps":5.1,"capture_pid":1422,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":1427,"pid":1353,"process_fps":5.1,"skipped_fps":0.0},"warehouse_exterior_se":{"camera_fps":5.0,"capture_pid":1428,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":1437,"pid":1358,"process_fps":5.0,"skipped_fps":0.0},"warehouse_exterior_sw":{"camera_fps":5.0,"capture_pid":1426,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":1431,"pid":1356,"process_fps":5.0,"skipped_fps":0.0},"warehouse_interior_front":{"camera_fps":5.0,"capture_pid":1446,"detection_enabled":1,"detection_fps":5.0,"ffmpeg_pid":1462,"pid":1366,"process_fps":5.0,"skipped_fps":0.0},"warehouse_interior_office":{"camera_fps":5.0,"capture_pid":1452,"detection_enabled":1,"detection_fps":0.1,"ffmpeg_pid":1468,"pid":1368,"process_fps":5.0,"skipped_fps":0.0},"warehouse_interior_overview":{"camera_fps":5.1,"capture_pid":1461,"detection_enabled":1,"detection_fps":0.7,"ffmpeg_pid":1469,"pid":1371,"process_fps":5.1,"skipped_fps":0.0},"warehouse_workbench":{"camera_fps":5.1,"capture_pid":1439,"detection_enabled":1,"detection_fps":2.3,"ffmpeg_pid":1451,"pid":1363,"process_fps":5.0,"skipped_fps":0.0}}
```


### Operating system

Debian

### Install method

Docker Compose

### Coral version

PCIe

### Network connection

Wired

### Camera make and model

NA

### Any other information that may be helpful

_No response_


Discussion:

Resolving patch:
diff --git a/frigate/events/audio.py b/frigate/events/audio.py
--- a/frigate/events/audio.py
+++ b/frigate/events/audio.py
@@ -3,9 +3,9 @@
 import datetime
 import logging
 import multiprocessing as mp
-import os
 import signal
 import threading
+import time
 from types import FrameType
 from typing import Optional, Tuple
 
@@ -21,7 +21,6 @@
     AUDIO_MAX_BIT_RANGE,
     AUDIO_MIN_CONFIDENCE,
     AUDIO_SAMPLE_RATE,
-    CACHE_DIR,
     FRIGATE_LOCALHOST,
 )
 from frigate.ffmpeg_presets import parse_preset_input
@@ -40,12 +39,12 @@
 logger = logging.getLogger(__name__)
 
 
-def get_ffmpeg_command(input_args: list[str], input_path: str, pipe: str) -> list[str]:
+def get_ffmpeg_command(input_args: list[str], input_path: str) -> list[str]:
     return get_ffmpeg_arg_list(
         f"ffmpeg {{}} -i {{}} -f {AUDIO_FORMAT} -ar {AUDIO_SAMPLE_RATE} -ac 1 -y {{}}".format(
             " ".join(input_args),
             input_path,
-            pipe,
+            "pipe:",
         )
     )
 
@@ -168,14 +167,12 @@ def __init__(
         self.detector = AudioTfl(stop_event)
         self.shape = (int(round(AUDIO_DURATION * AUDIO_SAMPLE_RATE)),)
         self.chunk_size = int(round(AUDIO_DURATION * AUDIO_SAMPLE_RATE * 2))
-        self.pipe = f"{CACHE_DIR}/{self.config.name}-audio"
+        self.logger = logging.getLogger(f"audio.{self.config.name}")
         self.ffmpeg_cmd = get_ffmpeg_command(
             get_ffmpeg_arg_list(self.config.ffmpeg.global_args)
             + parse_preset_input("preset-rtsp-audio-only", 1),
             [i.path for i in self.config.ffmpeg.inputs if "audio" in i.roles][0],
-            self.pipe,
         )
-        self.pipe_file = None
         self.logpipe = LogPipe(f"ffmpeg.{self.config.name}.audio")
         self.audio_listener = None
 
@@ -274,37 +271,52 @@ def expire_detections(self) -> None:
                 if resp.status_code == 200:
                     self.detections[detection["label"]] = None
                 else:
-                    logger.warn(
+                    self.logger.warn(
                         f"Failed to end audio event {detection['id']} with status code {resp.status_code}"
                     )
 
-    def restart_audio_pipe(self) -> None:
-        try:
-            os.mkfifo(self.pipe)
-        except FileExistsError:
-            pass
-
+    def start_or_restart_ffmpeg(self) -> None:
         self.audio_listener = start_or_restart_ffmpeg(
-            self.ffmpeg_cmd, logger, self.logpipe, None, self.audio_listener
+            self.ffmpeg_cmd,
+            self.logger,
+            self.logpipe,
+            self.chunk_size,
+            self.audio_listener,
         )
 
     def read_audio(self) -> None:
-        if self.pipe_file is None:
-            self.pipe_file = open(self.pipe, "rb")
+        def log_and_restart() -> None:
+            if self.stop_event.is_set():
+                return
+
+            time.sleep(self.config.ffmpeg.retry_interval)
+            self.logpipe.dump()
+            self.start_or_restart_ffmpeg()
 
         try:
-            audio = np.frombuffer(self.pipe_file.read(self.chunk_size), dtype=np.int16)
+            chunk = self.audio_listener.stdout.read(self.chunk_size)
+
+            if not chunk:
+                if self.audio_listener.poll() is not None:
+                    self.logger.error("ffmpeg process is not running, restarting...")
+                    log_and_restart()
+                    return
+
+                return
+
+            audio = np.frombuffer(chunk, dtype=np.int16)
             self.detect_audio(audio)
-        except BrokenPipeError:
-            self.logpipe.dump()
-            self.restart_audio_pipe()
+        except Exception:
+            self.logger.error(
+                "Error reading audio data from ffmpeg process, restarting..."
+            )
+            log_and_restart()
 
     def run(self) -> None:
-        self.restart_audio_pipe()
+        self.start_or_restart_ffmpeg()
 
         while not self.stop_event.is_set():
             self.read_audio()
 
-        self.pipe_file.close()
-        stop_ffmpeg(self.audio_listener, logger)
+        stop_ffmpeg(self.audio_listener, self.logger)
         self.logpipe.close()


Test patch: