frigate: [Camera Support 0.13]: "No frames have been received, check error logs"; no errors in log

Describe the problem you are having

A large chunk of my cameras are showing “No frames have been received, check error logs” both on the home page with all the cameras, or if I go to the debug view or a camera and/or the mask/zone editor. I can definitely still livestream these cameras via WebRTC or MSE. If I use JSMPEG, it takes a very long time to start streaming, and then it only gets a new frame every 4-7 seconds. The cameras will show up in birdseye, and are recording events, but I’m concerned it’s only looking for events as often as the JSMPEG stream is updating. I’ve only noticed this in the past week or so, after updating to recent 0.13 dev branches. There are zero errors in my log (currently just filled with debug messages about how long it took recordings to be copied).

Version

0.13.0-7C1568

Frigate config file

detectors:
  coral-usb:
    type: edgetpu
    device: usb
#  coral-m.2-1:
#    type: edgetpu
#    device: pci:0
#  coral-m.2-2:
#    type: edgetpu
#    device: pci:2

ffmpeg:
  hwaccel_args: preset-vaapi
  input_args: preset-rtsp-restream-low-latency
  output_args:
    record: preset-record-generic-audio-aac

ui:
  live_mode: webrtc
  use_experimental: false

logger:
  logs:
    frigate.record: debug
    # peewee: debug

birdseye:
  mode: objects
  width: 1920
  height: 1080
  restream: true

detect:
  width: 1280
  height: 720
  fps: 6
  max_disappeared: 18
  stationary:
    interval: 12

objects:
  track:
    - person
    - dog
    - cat

record:
  enabled: true
  retain:
    days: 90
    mode: motion
  events:
    pre_capture: 2
    post_capture: 2

snapshots:
  enabled: true
  retain:
    default: 90

go2rtc:
  streams:
    ...

cameras:
  back_yard_south:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/back_yard_south
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/back_yard_south_third
          roles:
            - detect
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
        - 1080,149,682,61,408,48,144,60,0,110,0,0,1280,0,1280,226,1104,130,959,72,898,62 # background
    zones:
      back_yard_zone:
        coordinates: 868,720,848,546,807,541,693,531,663,500,587,250,602,239,598,203,678,194,683,173,634,159,606,166,561,165,574,147,376,156,359,175,183,192,0,338,0,211,41,179,145,139,293,121,339,94,391,90,625,90,723,99,935,233,1280,466,1102,720
      hillside_drive_zone:
        coordinates: 928,61,1280,209,1280,242,926,75
      garden_zone:
        coordinates: 301,114,376,66,244,66,99,150
      mcewans_zone:
        coordinates: 1011,232,1280,425,1280,247,1089,146,719,78
      orchard_zone:
        coordinates: 697,95,663,71,381,65,343,90
      pool_zone:
        coordinates: 434,200,355,429,54,438,242,220
      pool_deck_zone:
        coordinates: 578,239,679,539,857,564,864,628,725,661,504,686,224,678,0,638,0,355,149,197,395,171,400,140,541,135,555,172,593,166,690,178,661,221
      solar_panels_zone:
        coordinates: 0,148,175,76,258,67,0,209
    objects:
      track:
        - person
        - cat
        - dog
        - horse
      filters:
        cat:
          max_area: 8000
        dog:
          max_area: 12000
        person:
          max_area: 26000
          mask:
            - 124,300,182,297,192,273,125,276 # base of slide

  basketball:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/basketball
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/basketball_third
          roles:
            - detect
      output_args:
        record: preset-record-generic
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
        - 1280,0,1280,195,890,0 # backyard      
    zones:
      basketball_zone:
        coordinates: 0,720,1140,720,1280,509,1280,356,1215,246,871,77,809,76,681,86,329,166,0,285
      crumps_zone:
        coordinates: 0,105,144,0,889,0,882,72,525,110,219,201,0,295
      street_zone:
        coordinates: 0,69,118,0,171,0,89,45,0,111
    objects:
      track:
        - car
        - person
        - cat
        - dog
        - horse
        - bicycle
        - motorcycle
      filters:
        car:
          min_area: 2800
        cat:
          max_area: 20000
        dog:
          max_area: 30000
        person:
          min_area: 2800

  bunk:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/bunk
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/bunk_third
          roles:
            - detect
    motion:
      mask:
        - 360,44,421,44,421,65,360,65 # timestamp
        - 706,0,614,34,536,52,448,30,398,0 # fan
    zones:
      bunk_zone:
        coordinates: 1280,720,1280,0,708,0,446,148,434,506,313,513,322,152,0,152,0,720
      gaming_zone:
        coordinates: 448,161,434,506,313,513,322,152

  deck:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/deck
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/deck_third
          roles:
            - detect
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
        - 537,0,313,275,119,590,0,505,0,0 # background
    zones:
      deck_zone:
        coordinates: 995,720,1024,513,1033,289,1014,54,537,76,170,679,243,720
    objects:
      filters:
        cat:
          max_area: 15000
        dog:
          max_area: 25000
        person:
          min_area: 4000
          max_area: 100000
          max_ratio: 1.0

  dining:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/dining
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/dining_third
          roles:
            - detect
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
    zones:
      deck_zone:
        coordinates: 103,455,363,298,316,0,0,144,0,236
      dining_zone:
        coordinates: 201,720,928,720,1017,530,427,273,67,504
      entry_zone:
        coordinates: 724,0,597,0,597,36,723,67
      great_zone:
        coordinates: 380,0,452,0,803,82,423,270
      kitchen_zone:
        coordinates: 1026,573,1132,339,1182,150,913,60,900,98,799,71,417,282
      table_zone:
        coordinates: 543,699,724,528,395,335,233,436
        objects:
          - cat
          - dog
      counter_zone:
        coordinates: 899,307,1028,135,909,102,690,233
        objects:
          - cat
          - dog

  doorbell:
    ffmpeg:
      inputs:
        - path: rtsps://192.168.85.1:7441/wY5YwYc90WtqQ05w
          roles:
            - record
        - path: rtsps://192.168.85.1:7441/wG2VUfvIe6cgIFRk
          roles:
            - detect
      output_args:
        record: preset-record-ubiquiti
    detect:
      width: 960
      height: 720
    motion:
      mask:
        - 126,3,155,3,155,16,126,16 # timestamp
    zones:
      kopinskys_zone:
        coordinates: 430,360,588,356,653,371,516,373,385,382
      mcewans_zone:
        coordinates: 112,403,233,408,65,440,0,441,0,418
      porch_zone:
        coordinates: 0,720,0,468,191,490,341,457,505,439,642,432,694,418,723,400,775,399,764,427,870,453,960,450,960,520,780,492,707,481,960,613,960,720
        objects:
          - person
          - cat
          - dog
          - horse
      street_zone:
        coordinates: 475,378,755,368,752,387,645,390,404,400,0,412,0,396
        objects:
          - car
          - horse
          - person
      front_yard_zone:
        coordinates: 652,387,648,442,451,448,298,466,289,401
        filters:
          car:
            min_area: 500
          person:
            max_area: 6000
    objects:
      track:
        - car
        - person
        - cat
        - dog
        - horse
      filters:
        car:
          min_ratio: 1.5
          min_area: 250
          max_area: 7500
          mask:
            - 0,720,960,720,960,274,768,402,264,413,0,446 # cars can't be on the porch or front yard
        cat:
          min_ratio: 1.1
        dog:
          min_ratio: 1.1
        person:
          min_area: 4000
          mask:
            - 741,551,814,567,799,267,768,259

  driveway:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/driveway
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/driveway_third
          roles:
            - detect
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
    zones:
      crumps_zone:
        coordinates: 982,140,1280,405,1280,217,1136,172
      driveway_zone:
        coordinates: 67,720,1280,720,1280,426,943,140,762,110,394,96,313,164,183,205,0,248,0,551
        filters:
          person:
            min_area: 1500
      front_yard_zone:
        coordinates: 0,241,108,224,225,192,307,152,345,110,253,122,192,139,100,159,0,192
        track:
          - person
          - cat
          - dog
          - horse
      hatches_zone:
        coordinates: 1133,0,1130,49,1280,111,1280,138,1047,78,917,56,821,41,756,0
      kopinskys_zone:
        coordinates: 797,37,427,42,245,64,42,122,212,34,278,20,287,0,715,0
      mailbox_zone:
        coordinates: 759,66,869,76,857,100,750,93
        filters:
          person:
            max_area: 50000
      street_zone:
        coordinates: 173,135,416,99,618,96,892,122,1108,159,1280,210,1280,156,1011,76,799,42,511,40,344,57,171,92,0,148,0,182
        filters:
          person:
            max_area: 50000
    objects:
      track:
        - car
        - person
        - cat
        - dog
        - horse
        - bicycle
        - motorcycle
      filters:
        car:
          min_area: 600
        motorcycle:
          max_area: 150000
        person:
          min_area: 600
          max_ratio: 1.0
          mask:
            - 795,84,812,84,818,70,795,70 # mailbox
            - 860,90,860,100,848,100,848,90 # fire hydrant

  entry:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/entry
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/entry_third
          roles:
            - detect
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
    zones:
      entry_zone:
        coordinates: 846,720,1147,416,937,218,722,62,246,295,452,720
      great_zone:
        coordinates: 134,68,457,720,150,720
      porch_zone:
        coordinates: 754,0,1148,0,1258,70,1105,339,941,201,740,66
    objects:
      filters:
        cat:
          max_area: 15000
        dog:
          max_area: 20000
        person:
          min_area: 2500
          max_area: 80000
          mask:
            - 287,354,234,398,221,348
            - 1280,247,1280,720,880,720 # rug wall (catches false positives with bench)

  family:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/family
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/family_third
          roles:
            - detect
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
    zones:
      family_zone:
        coordinates: 162,720,1047,720,1236,220,1081,151,1057,271,906,220,913,116,600,57,446,77,445,146,0,339,0,444
      gaming_zone:
        coordinates: 200,96,488,173,43,370,0,266,0,172
      patio_zone:
        coordinates: 1041,0,1094,21,1064,224,920,181,937,0
      sewing_zone:
        coordinates: 1280,720,1057,720,1280,246
    objects:
      filters:
        cat:
          max_area: 30000
        dog:
          max_area: 40000
        person:
          min_area: 4000

  fire_pit:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/fire_pit
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/fire_pit_third
          roles:
            - detect
      output_args:
        record: preset-record-generic
    motion:
      mask:
        # - 360,52,421,52,421,72,360,72 # timestamp (completely covered by next mask)
        - 281,144,649,72,918,101,915,0,0,0,0,262 # background
    zones:
      back_yard_zone:
        coordinates: 0,542,110,452,212,384,323,328,397,276,502,233,656,211,863,236,928,156,669,107,252,239,0,361
      deck_zone:
        coordinates: 1258,96,1252,164,1070,104,1078,44
      fire_pit_zone:
        coordinates: 341,566,500,670,685,658,826,608,935,526,952,453,946,385,845,330,865,229,746,208,633,206,503,215,385,255,322,299,278,371,321,447
      pool_zone:
        coordinates: 1280,300,1159,252,1280,598
      pool_deck_zone:
        coordinates: 910,165,843,222,679,200,532,214,334,266,204,365,82,455,0,547,0,720,1280,720,1280,480,1183,254,1280,293,1280,236,1015,151,955,167
    objects:
      track:
        - person
        - cat
        - dog
        - horse
      filters:
        cat:
          max_area: 30000
        dog:
          max_area: 40000
        person:
          max_ratio: 1.0
          min_area: 1000
          max_area: 160000
          mask:
            - 461,210,500,206,503,188,458,187 # temporary false positie for tree down below

  gaming:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/gaming
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/gaming_third
          roles:
            - detect
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
    zones:
      family_zone:
        coordinates: 1013,333,1049,0,531,0,537,195
      gaming_zone:
        coordinates: 0,720,911,720,1066,420,1063,309,547,177,252,358,187,316,60,411,0,568
      suzie_zone:
        coordinates: 141,355,75,90,0,127,0,222,65,401
    objects:
      filters:
        person:
          max_area: 200000

  garage:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/garage
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/garage_third
          roles:
            - detect
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
        - 567,220,909,207,921,0,547,0 # two car garage door
        - 426,217,406,0,263,0,303,227 # single car garage door
    zones:
      driveway_zone:
        coordinates: 564,66,428,59,274,72,303,234,443,218,427,72,559,78,569,212,901,207,911,68
      garage_zone:
        coordinates: 523,720,295,461,284,210,561,176,569,226,905,202,911,109,1076,108,1171,385,1115,720
    objects:
      filters:
        person:
          mask:
            - 498,390,660,393,651,347,503,343 # temporary false positive in DI pile

  great:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/great
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/great_third
          roles:
            - detect
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
        - 886,21,879,94,759,71,758,0 # TV
    zones:
      deck_zone:
        coordinates: 328,278,606,188,603,72,311,123
      dining_zone:
        coordinates: 0,464,0,294,130,233,233,349
      great_zone:
        coordinates: 639,136,1020,245,1055,240,1138,259,1129,490,1022,720,684,720,224,346
      kitchen_zone:
        coordinates: 768,720,0,720,0,452,208,321
    objects:
      filters:
        person:
          mask:
            - 886,21,878,115,753,91,756,0 # TV

  hot_tub:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/hot_tub
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/hot_tub_third
          roles:
            - detect
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
        - 1280,233,840,0,1280,0 # background
    zones:
      back_yard_zone:
        coordinates: 0,522,235,229,247,177,190,151,186,122,285,56,374,24,532,0,869,23,1256,224,1217,337,1042,204,970,153,1001,130,1021,121,977,95,875,82,833,55,690,49,706,78,495,82,476,343,239,362,99,720,0,720
      patio_zone:
        coordinates: 1280,577,1184,682,1108,612,1125,489,1280,455
      playset_zone:
        coordinates: 237,181,158,120,0,118,0,523
      pool_deck_zone:
        coordinates: 1280,720,1280,579,1179,667,1002,435,1280,378,843,52,669,47,701,78,460,84,477,328,270,342,157,720
      pool_zone:
        coordinates: 1036,277,804,93,627,95,755,278
      hot_tub_zone:
        coordinates: 253,513,520,502,517,335,296,355
    objects:
      track:
        - person
        - cat
        - dog
        - horse
      filters:
        cat:
          max_area: 6000
          mask:
            - 611,70,646,105,646,136,591,134,574,98,575,25,614,33 # slide
        dog:
          max_area: 10000
          mask:
            - 611,70,646,105,646,136,591,134,574,98,575,25,614,33 # slide
        horse:
          max_area: 40000
          min_ratio: 1.1
        person:
          min_area: 900
          max_area: 24000
          mask:
            - 453,52,452,22,441,43 # tree by trampoline steps
            - 640,182,640,0,441,0 # background

  john_deere:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/john_deere
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/john_deere_third
          roles:
            - detect
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
    zones:
      john_deere_zone:
        coordinates: 908,76,1188,267,812,720,399,720,215,452
    objects:
      track:
        - person
        - cat
        - dog

  laundry:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/laundry
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/laundry_third
          roles:
            - detect
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
    zones:
      laundry_zone:
        coordinates: 559,45,1152,200,1190,720,0,720,0,382
    objects:
      filters:
        person:
          max_ratio: 1.0
          min_area: 10000

  loft:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/loft
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/loft_third
          roles:
            - detect
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
    zones:
      loft_zone:
        coordinates: 0,0,1280,0,1280,720,0,720

  loft_door:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/loft_door
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/loft_door_third
          roles:
            - detect
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
    zones:
      loft_stairwell_zone:
        coordinates: 1061,0,1280,0,1280,238,1188,572,1002,552
      loft_zone:
        coordinates: 0,0,0,720,1213,720,1204,577,939,552,993,229,988,0

  man_door:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/man_door
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/man_door_third
          roles:
            - detect
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
        - 387,0,324,151,199,118,173,0 # porch left
    zones:
      front_yard_zone:
        coordinates: 351,172,508,267,701,447,876,555,1169,604,1280,467,1280,261,924,63,715,13,500,35,405,52
      kopinskys_zone:
        coordinates: 1004,32,1225,59,1280,84,1280,160,1172,98
      porch_zone:
        coordinates: 443,720,1173,720,1230,613,1059,604,804,531,702,457,499,264,408,214,175,197,113,193,87,69,0,245,0,523,246,438,376,460,442,531
      street_zone:
        coordinates: 1062,52,1280,175,1280,250,1160,178,875,34,851,0,896,0
    objects:
      track:
        - person
        - cat
        - dog
        - horse
      filters:
        cat:
          max_area: 30000
        dog:
          max_area: 40000
        person:
          max_area: 60000
          max_ratio: 1.0
          mask:
            - 201,177,308,200,295,249,194,226 # coach light can look like a person on the other side of the steps
            - 1047,31,1034,48,1012,45,1012,28 # horse is often mistaken for a person

  mud:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/mud
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/mud_third
          roles:
            - detect
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
    zones:
      great_zone:
        coordinates: 1205,254,1248,135,1071,32,1026,157
      kitchen_zone:
        coordinates: 1213,250,1031,152,932,404,1085,511
      mud_zone:
        coordinates: 151,720,1153,720,1199,571,933,391,630,653,570,634,191,233,0,329
        filters:
          person:
            min_area: 15000
      pantry_zone:
        coordinates: 733,574,822,272,951,204,883,433
    objects:
      filters:
        cat:
          max_area: 15000
        dog:
          max_area: 25000
        person:
          max_area: 120000
          mask:
            - 527,402,521,720,351,720,167,445,200,85

  pantry:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/pantry
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/pantry_third
          roles:
            - detect
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
    zones:
      mud_zone:
        coordinates: 1280,0,688,0,625,260,798,427
      pantry_zone:
        coordinates: 921,486,682,720,332,720,166,394,581,189
    objects:
      filters:
        cat:
          max_area: 15000
          mask:
            - 0,0,0,313,754,0 # false positives by far wall
        dog:
          max_area: 25000
          mask:
            - 0,0,0,313,754,0 # false positives by far wall
        person:
          min_area: 13400
          mask:
            - 847,720,621,720,994,369,1093,433 # false positives by near wall
            - 0,720,352,720,0,47 # false positives by mirror

  patio:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/patio
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/patio_third
          roles:
            - detect
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
    zones:
      back_yard_zone:
        coordinates: 311,0,0,110,0,173,141,93,467,34,759,21,777,47,1007,116,1026,0
      patio_zone:
        coordinates: 962,720,1146,330,961,242,991,100,797,26,205,219,79,336,252,720
    objects:
      track:
        - person
        - cat
        - dog
        - horse
      filters:
        person:
          min_area: 500

  playset:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/playset
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/playset_third
          roles:
            - detect
      output_args:
        record: preset-record-generic
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
    zones:
      back_yard_zone:
        coordinates: 578,560,1003,275,1140,344,1222,181,1243,192,1251,147,1082,73,1003,79,948,76,859,47,776,25,663,15,570,26,380,57,205,98,208,122,405,80,567,49,675,37,759,39,832,53,916,86,989,126,1023,162,986,193,903,224,597,256,506,267,265,256,211,167,109,244,148,443,300,383,439,578
      garden_zone:
        coordinates: 1249,146,1258,93,1166,43,1105,76
      playset_zone:
        coordinates: 485,263,738,245,868,207,986,172,1016,140,901,77,880,0,746,0,730,49,653,33,549,29,524,0,414,0,415,77,331,88,201,121,236,221,331,283
      pool_deck_zone:
        coordinates: 134,438,239,720,690,720,956,489,1103,589,1280,209,1210,175,1138,349,1011,290,586,563,429,568,301,376
      pool_equipment_zone:
        coordinates: 705,668,511,720,1060,720,1052,636,937,593,879,623,838,603
      solar_panels_zone:
        coordinates: 1069,0,1165,53,1107,73,1078,62,1023,51,963,53,869,27,865,0
    objects:
      track:
        - person
        - cat
        - dog
        - horse
      filters:
        cat:
          max_area: 15000
        dog:
          max_area: 20000
        person:
          max_area: 60000

  porch:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/porch
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/porch_third
          roles:
            - detect
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
    zones:
      driveway_zone:
        coordinates: 961,24,1035,44,1028,75,795,19
      front_yard_zone:
        coordinates: 328,720,562,720,961,413,767,315,772,244,955,161,910,103,933,63,709,17,533,39,377,84,149,171,201,398
      porch_zone:
        coordinates: 1087,720,1280,317,1089,224,1083,188,1033,158,969,71,932,75,923,105,943,143,941,171,829,218,798,291,970,389,523,720
      street_zone:
        coordinates: 139,103,354,32,532,0,825,0,549,41,361,86,155,170
    objects:
      track:
        - car
        - person
        - cat
        - dog
        - horse
        - bicycle
        - motorcycle
      filters:
        car:
          min_area: 1500
          max_area: 30000
        cat:
          max_area: 35000
          min_ratio: 1.1
        dog:
          max_area: 45000
        person:
          min_area: 1000
          max_area: 140000
          mask:
            - 519,720,946,414,892,379,680,517,636,510,599,528,577,570,410,686,414,720 # temporary false positive in the bushes

  sewing:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/sewing
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/sewing_third
          roles:
            - detect
    motion:
      mask:
        - 360,44,421,44,421,65,360,65 # timestamp
        - 735,48,809,86,788,164,698,172,610,164,526,131,522,71,591,48 # fan
    zones:
      family_zone:
        coordinates: 670,267,666,412,599,432,598,269
      sewing_zone:
        coordinates: 170,720,1280,720,1280,572,1139,552,1148,533,688,407,594,422,588,259,214,241

  solar_panels:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/solar_panels
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/solar_panels_third
          roles:
            - detect
      output_args:
        record: preset-record-generic
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
    zones:
      back_yard_zone:
        coordinates: 162,720,1280,720,1280,379,1133,290,921,256,614,221,264,234,221,233,266,183,0,222,0,257,153,246,129,280,0,342,0,400,350,390
      crumps_zones:
        coordinates: 939,109,940,69,881,0,657,0,619,21,619,77
      garden_zone:
        coordinates: 1280,327,1280,237,1152,229,878,218,1070,261
      playset_zone:
        coordinates: 0,319,56,315,114,285,138,266,136,244,98,246,0,261
      pool_deck_zone:
        coordinates: 0,720,192,720,361,389,0,398
      solar_panels_zone:
        coordinates: 734,201,1280,237,1176,198,847,148,305,164,307,209
    objects:
      track:
        - person
        - cat
        - dog
        - horse

  south_side:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/south_side
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/south_side_sub
          roles:
            - detect
    detect:
      width: 360
      height: 640
    motion:
      mask:
        - 175,41,210,41,210,52,175,52 # timestamp
    zones:
      sideyard_zone:
        coordinates: 360,401,360,342,329,338,329,94,328,68,273,59,0,280,0,595,81,640,306,640
        objects:
          - person
          - cat
          - dog
          - horse
      street_zone:
        coordinates: 25,70,185,39,329,46,325,62,170,66,22,84
      mcewans_zone:
        coordinates: 0,103,87,94,147,64,278,54,0,283
    objects:
      track:
        - car
        - person
        - cat
        - dog
        - horse
        - bicycle
        - motorcycle
      filters:
        car:
          min_area: 250
        person:
          max_area: 15000
          min_area: 150

  street:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/street
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/street_third
          roles:
            - detect
    detect:
      fps: 12
    motion:
      mask:
        # - 360,52,421,52,421,72,360,72 # timestamp (completely covered by the next mask)
        - 282,207,279,271,0,334,0,0,1280,0,1280,165,1074,189,448,158 # background
    zones:
      front_yard_zone:
        coordinates: 1280,720,1280,494,1022,589,792,720
      hatches_zone:
        coordinates: 863,235,846,194,1280,171,1280,245,1148,227
      kopinskys_zone:
        coordinates: 0,332,417,255,548,182,819,186,825,226,1252,245,780,308,0,435
      street_zone:
        coordinates: 0,720,786,720,1041,569,1280,503,1280,243,0,449
    objects:
      track:
        - car
        - person
        - cat
        - dog
        - horse
        - bicycle
        - motorcycle
      filters:
        car:
          min_area: 4000
        person:
          min_area: 1200

  theater_back:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/theater_back
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/theater_back_third
          roles:
            - detect
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
        - 1220,0,1164,274,696,79,699,0 # screen
    zones:
      theater_zone:
        coordinates: 159,474,302,720,976,720,1162,335,697,132,0,0
    objects:
      filters:
        cat:
          max_area: 40000
          mask:
            - 1220,0,1164,274,696,79,699,0 # screen
        dog:
          max_area: 60000
          mask:
            - 1220,0,1164,274,696,79,699,0 # screen
        person:
          max_area: 150000
          mask:
            - 1220,0,1164,274,696,79,699,0 # screen
            - 867,609,974,679,1118,679,1120,625,901,549 # false positives in pile of blankets

  theater_front:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/theater_front
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/theater_front_third
          roles:
            - detect
      output_args:
        record: preset-record-generic
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
        - 0,720,167,720,0,361 # screen
    zones:
      family_zone:
        coordinates: 1181,0,1156,192,993,150,1014,0
      theater_zone:
        coordinates: 547,0,1040,0,1021,161,1161,196,1001,720,184,720,24,403
    objects:
      filters:
        person:
          max_area: 48000
          mask:
            - 940,623,940,640,1040,640,1040,623 # false positive in blanket basket

  toy:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/toy
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/toy_third
          roles:
            - detect
    motion:
      mask:
        - 360,44,421,44,421,65,360,65 # timestamp
        - 156,84,260,130,374,126,556,96,648,0,122,0 # fan
    zones:
      family_zone:
        coordinates: 390,236,313,249,360,563,443,581
      toy_zone:
        coordinates: 79,666,341,545,437,578,614,403,813,418,1280,720,0,720,0,414
        filters:
          person:
            min_area: 10000

  trampoline:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/trampoline
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/trampoline_third
          roles:
            - detect
      output_args:
        record: preset-record-generic
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
        - 0,0,1280,0,1280,114,984,46,683,20,340,51,0,150 # background
    zones:
      back_yard_zone:
        coordinates: 72,553,104,720,477,720,873,720,643,455,776,394,1280,216,1280,154,799,96,543,94,100,153,79,202
      pool_deck_zone:
        coordinates: 1280,720,1280,303,1009,322,687,451,887,720
      trampoline_zone:
        coordinates: 296,171,252,207,231,249,257,275,375,263,470,232,524,207,544,164,495,138,418,139,351,150
    objects:
      track:
        - person
        - cat
        - dog
        - horse
      filters:
        cat:
          max_area: 30000
        dog:
          max_area: 50000
        person:
          max_ratio: 1.0
          max_area: 200000
          min_area: 14000
          mask:
            - 901,720,875,623,837,523,638,570,476,682,476,720

  # two_car_garage:
  #   ffmpeg:
  #     inputs:
  #       - path: rtsp://127.0.0.1:8554/two_car_garage
  #         roles:
  #           - record
  #       - path: rtsp://127.0.0.1:8554/two_car_garage_third
  #         roles:
  #           - detect
  #   motion:
  #     mask:
  #       - 360,52,421,52,421,72,360,72 # timestamp
  #       - 640,0,640,223,360,0 # two car garage door
  #   zones:
  #     garage_zone:
  #       coordinates: 209,0,386,0,586,183,460,360,88,360,0,207,0,0,124,0,131,81,156,74,149,0

  volleyball:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/volleyball
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/volleyball_third
          roles:
            - detect
      output_args:
        record: preset-record-generic
    motion:
      mask:
        - 360,52,421,52,421,72,360,72 # timestamp
        - 933,58,1280,208,1280,0,0,0,0,187,347,44,668,29 # background
    zones:
      back_yard_zone:
        coordinates: 1280,720,1280,250,1191,185,1064,132,768,110,553,112,359,126,279,154,142,234,0,277,0,720
      garden_zone:
        coordinates: 196,80,0,205,0,242,44,231,106,226,169,186,289,130,357,88,455,50
      orchard_zone:
        coordinates: 247,154,397,116,625,105,1023,117,912,71,659,53,437,58,336,96
    objects:
      track:
        - person
        - cat
        - dog
        - horse
      filters:
        cat:
          max_area: 25000
        dog:
          max_area: 35000
        person:
          max_ratio: 1.0
          max_area: 140000

Relevant log output

<none>

FFprobe output from your camera

[{"return_code":0,"stderr":"","stdout":{"programs":[],"streams":[{"avg_frame_rate":"20/1","codec_long_name":"H.264/AVC/MPEG-4AVC/MPEG-4part10","display_aspect_ratio":"168:95","height":1520,"width":2688}]}},{"return_code":0,"stderr":"","stdout":{"programs":[],"streams":[{"avg_frame_rate":"6/1","codec_long_name":"H.264/AVC/MPEG-4AVC/MPEG-4part10","display_aspect_ratio":"168:95","height":720,"width":1280}]}}]

Frigate stats

https://gist.github.com/ccutrer/5bca98131549bd51ca753807c0d9f80e

Operating system

Other Linux

Install method

Docker Compose

Coral version

USB

Network connection

Wired

Camera make and model

DS-2CD21242FWD-IS

Any other information that may be helpful

This is happening across different models of the same brand, different video codecs, and different brands of cameras, so I don’t think it’s a particular camera issue. My CPU is busy, but not completely overloaded. I can’t say for sure (I have no prior monitoring), but it does seem that CPU usage has gone up a bit since 0.12/early 0.13. If this issue really is “you have too many cameras, your CPU is overloaded, it’s unable to keep up with detection”, that’s understandable, but it would be nice if somewhere a more clear warning/error was given.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 1
  • Comments: 26 (12 by maintainers)

Most upvoted comments

This is already known and covered under a separate issue. The first implementation of the improved motion detector was actually not sensitive enough and the current commit is too sensitive. It will be fixed but of course you can tune all of the motion parameters in the config anyway.