blakeblackshear / frigate

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

[Camera Support]: Getting lots of errors in the log after some time #8867

Closed PatSloan closed 7 months ago

PatSloan commented 9 months ago

Describe the problem you are having

I have been using Frigate for a couple of weeks. I think I have my config all sorted out, but I am seeing errors pop up in the log. I am assuming it's network-related since anything I do in my frigate config does not seem to help. Just want to run it by you experts to see if I am doing anything wrong. I have 3 cameras total, all wifi. One is a Reolink doorbell and the other two are Tapo cameras.

Version

0.12.1-367d724

Frigate config file

mqtt:
  enabled: true
  host: 192.168.30.21
  user: mqtt_user
  topic_prefix: frigate
  client_id: frigate
  password: PW
  port: 1883
  stats_interval: 300 
go2rtc:
    streams:
      doorbell: 
        - "ffmpeg:http://192.168.30.40/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=PW#video=copy#audio=copy#audio=opus"
      doorbell_sub: 
        - "ffmpeg:http://192.168.30.40/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=PW"
      driveway: 
        - rtsp://camadmin:PW@192.168.30.41:554/stream1
        - "ffmpeg:driveway#audio=aac" 
      driveway_sub: 
        - rtsp://camadmin:PW@192.168.30.41:554/stream2
      porch: 
        - rtsp://camadmin:PW@192.168.30.42:554/stream1
        - "ffmpeg:porch#audio=aac" 
      porch_sub: 
        - rtsp://camadmin:PW@192.168.30.42:554/stream2
    webrtc:
      candidates:
        - 192.168.2.6:8555
        - stun:8555
rtmp:
  enabled: false
birdseye:
  # Optional: Enable birdseye view (default: shown below)
  enabled: true
  mode: continuous
  width: 1600
  height: 1080
  restream: true
  quality: 1
detect:
  enabled: True
  width: 640
  height: 480
  fps: 5
record:
  enabled: True
  retain:
    days: 30
    mode: all
  events:
    pre_capture: 5
    post_capture: 5
    retain:
      default: 30  
    required_zones:
      - driveway_zone
      - doorbell_zone
      - porch_zone
objects:
  track:
    - person
    - car
    - bear
    - horse
    - dog
    - motorcycle
    - bicycle
    - umbrella
    - cow
    - sheep
    - truck
    - animal
  filters:
    person:
      threshold: 0.74
    car:
      threshold: 0.72
ffmpeg:
  #hwaccel_args: preset-intel-qsv-h264
  hwaccel_args: preset-vaapi
  input_args: preset-rtsp-restream
  output_args:
    record: preset-record-generic-audio-aac    
cameras:
  doorbell:
    enabled: true
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/doorbell
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/doorbell_sub
          roles:
            - detect
    detect:
      enabled: True
      width: 896
      height: 672
      fps: 5
    zones:  
      doorbell_zone:
        coordinates: 502,455,831,590,783,672,264,672,212,477,288,464,287,413,359,406
      driveway_zone:
        coordinates: 623,384,839,403,852,307,896,298,896,415,833,581,501,445,496,413
    motion:
      mask:    
        - 896,0,896,275,845,279,836,390,603,378,427,394,350,393,289,394,207,388,209,191,256,0
    record:
      enabled: True
      retain:
       days: 30
       mode: all
    live:
      stream_name: doorbell
  driveway:
    enabled: true
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/driveway
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/driveway_sub
          roles:
            - detect
    detect:
      enabled: true
      width: 640
      height: 360
      fps: 5
    zones:  
      driveway_zone:
        coordinates: 640,165,640,360,154,360,0,360,0,265,144,159,283,96,391,109,513,118
      doorbell_zone:
        coordinates: 0,252,0,187,22,164,79,147,119,172
    motion:
      mask:
        - 640,0,640,130,296,97,219,94,153,97,34,109,0,143,0,0
    record:
      enabled: True
      retain:
       days: 30
       mode: all
    live:
      stream_name: driveway
  porch:
    enabled: true
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/porch
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/porch_sub
          roles:
            - detect
    detect:
      enabled: true
      width: 640
      height: 360
      fps: 5
    zones:
      porch_zone:
        coordinates: 614,239,443,222,225,183,45,282,0,360,596,360
      doorbell_zone:
        coordinates: 238,182,279,159,486,149,617,160,614,242,441,212
      driveway_zone:
        coordinates: 492,92,585,90,583,35,619,39,619,86,616,157,492,140       
    motion:
      mask:    
        - 586,0,595,88,459,87,370,103,321,132,224,183,0,305,0,0
    record:
      enabled: True
      retain:
       days: 30
       mode: all
    live:
      stream_name: porch
detectors: 
  coral:
    type: edgetpu
    device: usb
snapshots:
  enabled: true
  timestamp: false
  bounding_box: true
  required_zones:
    - driveway_zone
    - doorbell_zone
    - porch_zone
#  crop: true
  height: 500
  retain:
    default: 30 
# Optional
ui:
  # Optional: Set the default live mode for cameras in the UI (default: shown below)
  live_mode: mse
  # Optional: Set a timezone to use in the UI (default: use browser local time)
  timezone: America/Los_angeles
  # Optional: Use an experimental recordings / camera view UI (default: shown below)
  use_experimental: false
  # Optional: Set the time format used.
  # Options are browser, 12hour, or 24hour (default: shown below)
 # time_format: browser
  # Optional: Set the date style for a specified length.
  # Options are: full, long, medium, short
  # Examples:
  #    short: 2/11/23
  #    medium: Feb 11, 2023
  #    full: Saturday, February 11, 2023
  # (default: shown below).
  date_style: short
  # Optional: Set the time style for a specified length.
  # Options are: full, long, medium, short
  # Examples:
  #    short: 8:14 PM
  #    medium: 8:15:22 PM
  #    full: 8:15:22 PM Mountain Standard Time
  # (default: shown below).
  time_style: medium
  # Optional: Ability to manually override the date / time styling to use strftime format
  # https://www.gnu.org/software/libc/manual/html_node/Formatting-Calendar-Time.html
  # possible values are shown above (default: not set)
  strftime_fmt: "%Y/%m/%d %H:%M"

# Optional: Telemetry configuration
telemetry:
  # Optional: Enable the latest version outbound check (default: shown below)
  # NOTE: If you use the HomeAssistant integration, disabling this will prevent it from reporting new versions
  version_check: True
# Optional: Configuration for the jpg snapshots written to the clips directory for each event
# NOTE: Can be overridden at the camera level

Relevant log output

2023-12-05 13:21:42.694873864  [INFO] Starting Frigate...
2023-12-05 13:21:43.659102465  [2023-12-05 13:21:43] frigate.app                    INFO    : Starting Frigate (0.12.1-367d724)
2023-12-05 13:21:43.694954791  [2023-12-05 13:21:43] peewee_migrate                 INFO    : Starting migrations
2023-12-05 13:21:43.715030909  [2023-12-05 13:21:43] peewee_migrate                 INFO    : There is nothing to migrate
2023-12-05 13:21:43.731454722  [2023-12-05 13:21:43] detector.coral                 INFO    : Starting detection process: 434
2023-12-05 13:21:46.924720260  [2023-12-05 13:21:43] frigate.app                    INFO    : Output process started: 436
2023-12-05 13:21:46.924813559  [2023-12-05 13:21:43] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as usb
2023-12-05 13:21:46.924876592  [2023-12-05 13:21:43] frigate.app                    INFO    : Camera processor started for doorbell: 443
2023-12-05 13:21:46.924933170  [2023-12-05 13:21:43] frigate.app                    INFO    : Camera processor started for driveway: 444
2023-12-05 13:21:46.924985888  [2023-12-05 13:21:43] frigate.app                    INFO    : Camera processor started for porch: 446
2023-12-05 13:21:46.925037370  [2023-12-05 13:21:43] frigate.app                    INFO    : Capture process started for doorbell: 447
2023-12-05 13:21:46.925079869  [2023-12-05 13:21:43] frigate.app                    INFO    : Capture process started for driveway: 450
2023-12-05 13:21:46.925126305  [2023-12-05 13:21:43] frigate.app                    INFO    : Capture process started for porch: 453
2023-12-05 13:21:47.036389564  [2023-12-05 13:21:46] frigate.detectors.plugins.edgetpu_tfl INFO    : TPU found
2023-12-05 13:48:53.924300829  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679866040, next:1594777000 invalid dropping st:1
2023-12-05 13:48:53.926163831  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679867064, next:1594905000 st:1 invalid dropping
2023-12-05 13:48:53.926256647  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679867064, next:1594905000 invalid dropping st:1
2023-12-05 13:48:53.926295144  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679868048, next:1595033000 st:1 invalid dropping
2023-12-05 13:48:53.926370403  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679868048, next:1595033000 invalid dropping st:1
2023-12-05 13:48:53.926414129  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679869072, next:1595161000 st:1 invalid dropping
2023-12-05 13:48:53.926458636  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679869072, next:1595161000 invalid dropping st:1
2023-12-05 13:48:53.926503880  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679870096, next:1595289000 st:1 invalid dropping
2023-12-05 13:48:53.926546983  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679870096, next:1595289000 invalid dropping st:1
2023-12-05 13:48:53.926591392  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679870856, next:1595417000 st:1 invalid dropping
2023-12-05 13:48:53.926634440  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679870856, next:1595417000 invalid dropping st:1
2023-12-05 13:48:53.926678635  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679871880, next:1595545000 st:1 invalid dropping
2023-12-05 13:48:53.926718923  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679871880, next:1595545000 invalid dropping st:1
2023-12-05 13:48:53.926760342  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679872904, next:1595673000 st:1 invalid dropping
2023-12-05 13:48:53.926800973  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679872904, next:1595673000 invalid dropping st:1
2023-12-05 13:48:53.926842619  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679876456, next:1595801000 st:1 invalid dropping
2023-12-05 13:48:53.926884059  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679876456, next:1595801000 invalid dropping st:1
2023-12-05 13:48:53.926927841  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679877480, next:1595929000 st:1 invalid dropping
2023-12-05 13:48:53.926967900  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679877480, next:1595929000 invalid dropping st:1
2023-12-05 13:48:53.927010526  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679878504, next:1596057000 st:1 invalid dropping
2023-12-05 13:48:53.927054284  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679878504, next:1596057000 invalid dropping st:1
2023-12-05 13:48:53.927096055  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679879656, next:1596185000 st:1 invalid dropping
2023-12-05 13:48:53.927142353  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679879656, next:1596185000 invalid dropping st:1
2023-12-05 13:48:53.927189268  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679880680, next:1596313000 st:1 invalid dropping
2023-12-05 13:48:53.927239301  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679880680, next:1596313000 invalid dropping st:1
2023-12-05 13:48:53.927286931  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679881784, next:1596441000 st:1 invalid dropping
2023-12-05 13:48:53.927333491  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679881784, next:1596441000 invalid dropping st:1
2023-12-05 13:48:53.927376258  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679882808, next:1596569000 st:1 invalid dropping
2023-12-05 13:48:53.927418678  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679882808, next:1596569000 invalid dropping st:1
2023-12-05 13:48:53.927459768  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679883832, next:1596697000 st:1 invalid dropping
2023-12-05 13:48:53.927499040  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679883832, next:1596697000 invalid dropping st:1
2023-12-05 13:48:53.927538936  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679884584, next:1596825000 st:1 invalid dropping
2023-12-05 13:48:53.927581499  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679884584, next:1596825000 invalid dropping st:1
2023-12-05 13:48:53.927621782  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679885608, next:1596953000 st:1 invalid dropping
2023-12-05 13:48:53.927660352  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679885608, next:1596953000 invalid dropping st:1
2023-12-05 13:48:53.927699203  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679886632, next:1597081000 st:1 invalid dropping
2023-12-05 13:48:53.927739682  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679886632, next:1597081000 invalid dropping st:1
2023-12-05 13:48:53.927780187  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679887912, next:1597209000 st:1 invalid dropping
2023-12-05 13:48:53.927823313  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679887912, next:1597209000 invalid dropping st:1
2023-12-05 13:48:53.927866645  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679888936, next:1597337000 st:1 invalid dropping
2023-12-05 13:48:53.927911017  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679888936, next:1597337000 invalid dropping st:1
2023-12-05 13:48:53.927954756  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679900312, next:1597465000 st:1 invalid dropping
2023-12-05 13:48:53.927999772  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679900312, next:1597465000 invalid dropping st:1
2023-12-05 13:48:53.928044069  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679901336, next:1597593000 st:1 invalid dropping
2023-12-05 13:48:53.928088686  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679901336, next:1597593000 invalid dropping st:1
2023-12-05 13:48:53.928132587  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679902360, next:1597721000 st:1 invalid dropping
2023-12-05 13:48:53.928176856  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679902360, next:1597721000 invalid dropping st:1
2023-12-05 13:48:53.928220215  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679903240, next:1597849000 st:1 invalid dropping
2023-12-05 13:48:53.928262158  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679903240, next:1597849000 invalid dropping st:1
2023-12-05 13:48:53.928302199  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679904264, next:1597977000 st:1 invalid dropping
2023-12-05 13:48:53.928343210  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679904264, next:1597977000 invalid dropping st:1
2023-12-05 13:48:53.928386924  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679905288, next:1598105000 st:1 invalid dropping
2023-12-05 13:48:53.928427788  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679905288, next:1598105000 invalid dropping st:1
2023-12-05 13:48:53.928466771  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679907656, next:1598233000 st:1 invalid dropping
2023-12-05 13:48:53.928509460  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679907656, next:1598233000 invalid dropping st:1
2023-12-05 13:48:53.928552433  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679908680, next:1598361000 st:1 invalid dropping
2023-12-05 13:48:53.928596741  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679908680, next:1598361000 invalid dropping st:1
2023-12-05 13:48:53.928641995  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679909704, next:1598489000 st:1 invalid dropping
2023-12-05 13:48:53.928685721  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679909704, next:1598489000 invalid dropping st:1
2023-12-05 13:48:53.928728232  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679910456, next:1598617000 st:1 invalid dropping
2023-12-05 13:48:53.928772089  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679910456, next:1598617000 invalid dropping st:1
2023-12-05 13:48:53.928815068  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679911480, next:1598745000 st:1 invalid dropping
2023-12-05 13:48:53.928859083  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679911480, next:1598745000 invalid dropping st:1
2023-12-05 13:48:53.928945750  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679912504, next:1598873000 st:1 invalid dropping
2023-12-05 13:48:53.928990158  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679912504, next:1598873000 invalid dropping st:1
2023-12-05 13:48:53.929031219  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679913792, next:1599001000 st:1 invalid dropping
2023-12-05 13:48:53.929071852  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679913792, next:1599001000 invalid dropping st:1
2023-12-05 13:48:53.929113767  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679914816, next:1599129000 st:1 invalid dropping
2023-12-05 13:48:53.929155820  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679914816, next:1599129000 invalid dropping st:1
2023-12-05 13:48:53.929198997  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679915840, next:1599257000 st:1 invalid dropping
2023-12-05 13:48:53.929240844  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679915840, next:1599257000 invalid dropping st:1
2023-12-05 13:48:53.929284935  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679916592, next:1599385000 st:1 invalid dropping
2023-12-05 13:48:53.929329188  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679916592, next:1599385000 invalid dropping st:1
2023-12-05 13:48:53.929372383  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679917616, next:1599513000 st:1 invalid dropping
2023-12-05 13:48:53.929416326  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679917616, next:1599513000 invalid dropping st:1
2023-12-05 13:48:53.929459814  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679918640, next:1599641000 st:1 invalid dropping
2023-12-05 13:48:53.929504176  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679918640, next:1599641000 invalid dropping st:1
2023-12-05 13:48:53.929546849  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679919912, next:1599769000 st:1 invalid dropping
2023-12-05 13:48:53.929590949  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679919912, next:1599769000 invalid dropping st:1
2023-12-05 13:48:53.929634166  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679920936, next:1599897000 st:1 invalid dropping
2023-12-05 13:48:53.929676785  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679920936, next:1599897000 invalid dropping st:1
2023-12-05 13:48:53.929720678  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679921960, next:1600025000 st:1 invalid dropping
2023-12-05 13:48:53.929763126  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679921960, next:1600025000 invalid dropping st:1
2023-12-05 13:48:53.929806892  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679925912, next:1600153000 st:1 invalid dropping
2023-12-05 13:48:53.929867184  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679925912, next:1600153000 invalid dropping st:1
2023-12-05 13:48:53.929904299  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679926936, next:1600281000 st:1 invalid dropping
2023-12-05 13:48:53.929948221  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679926936, next:1600281000 invalid dropping st:1
2023-12-05 13:48:53.929990908  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679927960, next:1600409000 st:1 invalid dropping
2023-12-05 13:48:53.930035721  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679927960, next:1600409000 invalid dropping st:1
2023-12-05 13:48:53.930078459  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679928840, next:1600537000 st:1 invalid dropping
2023-12-05 13:48:53.930122059  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679928840, next:1600537000 invalid dropping st:1
2023-12-05 13:48:53.930161835  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679929864, next:1600665000 st:1 invalid dropping
2023-12-05 13:48:53.930206226  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679929864, next:1600665000 invalid dropping st:1
2023-12-05 13:48:53.930248676  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679930840, next:1600793000 st:1 invalid dropping
2023-12-05 13:48:53.930291917  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679930840, next:1600793000 invalid dropping st:1
2023-12-05 13:48:53.930333393  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679931864, next:1600921000 st:1 invalid dropping
2023-12-05 13:48:53.930378340  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679931864, next:1600921000 invalid dropping st:1
2023-12-05 13:48:53.930422691  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : DTS 3679932888, next:1601049000 st:1 invalid dropping
2023-12-05 13:48:53.930472407  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : PTS 3679932888, next:1601049000 invalid dropping st:1
2023-12-05 13:48:53.930520625  [2023-12-05 13:48:53] ffmpeg.driveway.record         ERROR   : rtsp://127.0.0.1:8554/driveway: Connection timed out
2023-12-05 13:48:53.930582735  [2023-12-05 13:48:53] watchdog.driveway              INFO    : Terminating the existing ffmpeg process...
2023-12-05 13:48:53.930641320  [2023-12-05 13:48:53] watchdog.driveway              INFO    : Waiting for ffmpeg to exit gracefully...

FFprobe output from your camera

[{"return_code":0,"stderr":"","stdout":{"programs":[],"streams":[{"avg_frame_rate":"0/0","codec_long_name":"H.264/AVC/MPEG-4AVC/MPEG-4part10","height":1920,"width":2560},{"avg_frame_rate":"0/0","codec_long_name":"AAC(AdvancedAudioCoding)"}]}},{"return_code":0,"stderr":"","stdout":{"programs":[],"streams":[{"avg_frame_rate":"20/1","codec_long_name":"H.264/AVC/MPEG-4AVC/MPEG-4part10","height":672,"width":896},{"avg_frame_rate":"0/0","codec_long_name":"AAC(AdvancedAudioCoding)"}]}}]

[{"return_code":0,"stderr":"","stdout":{"programs":[],"streams":[{"avg_frame_rate":"20/1","codec_long_name":"H.264/AVC/MPEG-4AVC/MPEG-4part10","height":1440,"width":2560},{"avg_frame_rate":"0/0","codec_long_name":"AAC(AdvancedAudioCoding)"}]}},{"return_code":0,"stderr":"","stdout":{"programs":[],"streams":[{"avg_frame_rate":"20/1","codec_long_name":"H.264/AVC/MPEG-4AVC/MPEG-4part10","height":360,"width":640}]}}]

[{"return_code":0,"stderr":"","stdout":{"programs":[],"streams":[{"avg_frame_rate":"20/1","codec_long_name":"H.264/AVC/MPEG-4AVC/MPEG-4part10","height":1440,"width":2560},{"avg_frame_rate":"0/0","codec_long_name":"AAC(AdvancedAudioCoding)"}]}},{"return_code":0,"stderr":"","stdout":{"programs":[],"streams":[{"avg_frame_rate":"20/1","codec_long_name":"H.264/AVC/MPEG-4AVC/MPEG-4part10","height":360,"width":640}]}}]

Frigate stats

{"cpu_usages":{"%Cpu(s):":{"cpu":"id,","mem":"0.8"},"1":{"cpu":"0.0","mem":"0.0"},"109":{"cpu":"0.0","mem":"0.0"},"111":{"cpu":"0.0","mem":"0.1"},"135":{"cpu":"0.0","mem":"0.0"},"136":{"cpu":"0.0","mem":"0.0"},"137":{"cpu":"0.0","mem":"0.0"},"139":{"cpu":"0.0","mem":"0.0"},"156":{"cpu":"0.0","mem":"0.0"},"16":{"cpu":"0.0","mem":"0.0"},"17":{"cpu":"0.0","mem":"0.0"},"178":{"cpu":"0.0","mem":"0.0"},"203":{"cpu":"0.0","mem":"0.0"},"225":{"cpu":"0.0","mem":"0.0"},"25":{"cpu":"0.0","mem":"0.0"},"26":{"cpu":"0.0","mem":"0.0"},"27":{"cpu":"0.0","mem":"0.0"},"2747":{"cpu":"1.7","mem":"0.2"},"2748":{"cpu":"2.0","mem":"0.1"},"28":{"cpu":"0.0","mem":"0.0"},"29":{"cpu":"0.0","mem":"0.0"},"30":{"cpu":"0.0","mem":"0.0"},"31":{"cpu":"0.0","mem":"0.0"},"32":{"cpu":"0.0","mem":"0.0"},"33":{"cpu":"0.0","mem":"0.0"},"42":{"cpu":"0.0","mem":"0.0"},"427":{"cpu":"0.0","mem":"0.4"},"43":{"cpu":"0.0","mem":"0.0"},"433":{"cpu":"0.3","mem":"0.1"},"434":{"cpu":"0.0","mem":"0.5"},"436":{"cpu":"21.0","mem":"0.5"},"442":{"cpu":"0.0","mem":"0.1"},"443":{"cpu":"1.0","mem":"0.4"},"444":{"cpu":"0.7","mem":"0.4"},"445":{"cpu":"0.0","mem":"0.1"},"446":{"cpu":"0.7","mem":"0.5"},"447":{"cpu":"1.3","mem":"0.4"},"450":{"cpu":"0.7","mem":"0.4"},"453":{"cpu":"0.7","mem":"0.4"},"454":{"cpu":"1.7","mem":"0.3"},"459":{"cpu":"1.7","mem":"0.3"},"464":{"cpu":"0.0","mem":"0.1"},"465":{"cpu":"2.3","mem":"0.2"},"466":{"cpu":"12.3","mem":"0.4"},"468":{"cpu":"2.7","mem":"0.3"},"475":{"cpu":"1.0","mem":"0.1"},"476":{"cpu":"4.0","mem":"0.1"},"477":{"cpu":"1.7","mem":"0.2"},"479":{"cpu":"2.3","mem":"0.1"},"81":{"cpu":"0.0","mem":"0.0"},"82":{"cpu":"0.0","mem":"0.0"},"83":{"cpu":"0.0","mem":"0.0"},"8709":{"cpu":"0.0","mem":"0.0"},"8745":{"cpu":"0.3","mem":"0.0"},"8748":{"cpu":"0.0","mem":"0.0"},"8749":{"cpu":"0.0","mem":"0.0"},"8754":{"cpu":"0.0","mem":"0.0"},"90":{"cpu":"3.3","mem":"0.2"},"99":{"cpu":"3.3","mem":"1.0"},"MiB":{"cpu":"9602.0","mem":"avail"},"PID":{"cpu":"%CPU","mem":"%MEM"},"Tasks:":{"cpu":"stopped,","mem":"0"},"top":{"cpu":"users,","mem":"load"}},"detection_fps":4.5,"detectors":{"coral":{"detection_start":0.0,"inference_speed":25.79,"pid":434}},"doorbell":{"camera_fps":5.0,"capture_pid":447,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":468,"pid":443,"process_fps":5.0,"skipped_fps":0.0},"driveway":{"camera_fps":5.0,"capture_pid":450,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":454,"pid":444,"process_fps":5.0,"skipped_fps":0.0},"gpu_usages":{"intel-vaapi":{"gpu":"1.49 %","mem":"- %"}},"porch":{"camera_fps":5.0,"capture_pid":453,"detection_enabled":1,"detection_fps":4.5,"ffmpeg_pid":459,"pid":446,"process_fps":5.1,"skipped_fps":0.0},"service":{"last_updated":1701817579,"latest_version":"unknown","storage":{"/dev/shm":{"free":128.3,"mount_type":"tmpfs","total":134.2,"used":5.9},"/media/frigate/clips":{"free":4041965.4,"mount_type":"nfs","total":11508794.4,"used":7466829.0},"/media/frigate/recordings":{"free":4041965.4,"mount_type":"nfs","total":11508794.4,"used":7466829.0},"/tmp/cache":{"free":499.2,"mount_type":"tmpfs","total":500.0,"used":0.8}},"temperatures":{},"uptime":6276,"version":"0.12.1-367d724"}}

Operating system

Debian

Install method

Docker Compose

Coral version

USB

Network connection

Mixed

Camera make and model

reolink wifi doorbell, Tapo c320ws

Any other information that may be helpful

No response

NickM-27 commented 9 months ago

rtsp://127.0.0.1:8554/driveway: Connection timed out the camera stream times out

PatSloan commented 9 months ago

rtsp://127.0.0.1:8554/driveway: Connection timed out the camera stream times out

Thanks, Nick. Is there anything I can do about this on the Frigate side? Or am I only left with either changing out the camera(s) Or is this just something I have to live with and ignore?

Thanks.

banthungprong commented 9 months ago

Try to add "#timeout=10" to your stream in the go2rtc-Block (works for my camera). You can try other values.

PatSloan commented 9 months ago

Try to add "#timeout=10" to your stream in the go2rtc-Block (works for my camera). You can try other values.

That's working well so far. it's been a couple of hours and I only got one error on one camera. I upped the timeout to 15 on that one camera to see how this goes. I assume the timeout does not fix any missing camera stream/recording. just handles the timeout more gracefully?

customstudioyandexru commented 8 months ago

I have the same problems, but the cameras are showing.

github-actions[bot] commented 7 months ago

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