blakeblackshear / frigate

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

[Support]: Unable to read frames from ffmpeg process./ ffmpeg process is not running #9770

Closed rgnoon closed 9 months ago

rgnoon commented 9 months ago

Describe the problem you are having

I've been using Frigate for quite a while now with great results. Up until last week I had been using the 13.1 beta addon in HA , installed on a little jasper lake beelink mini pc, but began losing all feeds to frigate. I know the cameras are up and running as I have a separate NVR recording 24/7 and there are no interruptions when frigate loses them.

I attempted cleaning up my config file and even switched from the beta addon to the stable release but continue to have the same problem. So far I am unable to tie it to any changes that might have been made to my install. If I reboot the host that it's running on, things will run smoothly for an indeterminate period of time before ffmpeg seems to crash again and I'm out of service. It can take as little as ten minutes or might be ok for as long as several hours, but inevitably it fails. I apologize if this is something stupid I've overlooked, I'm admittedly in a bit over my head and grasping for solutions. Any input is greatly appreciated!

Version

0.13.1-34FB1C2

Frigate config file

mqtt:
  host: [localip]
  port: 1883
  topic_prefix: frigate
  client_id: frigate
  user: [********]
  password: [********]

detectors:
  coral:
    type: edgetpu
    device: usb

logger:
  default: info

model:
  path: plus://73211bd4b4be287e7857aec2813b9946

ui:
  live_mode: webrtc

audio:
  enabled: true
  max_not_heard: 30
  min_volume: 500
  listen:
    - bark
    - fire_alarm
    - scream
    - speech
    - yell
    - siren
    - car_alarm
  #filters:
    #speech:
      #threshold: 0.8

ffmpeg:
  hwaccel_args: preset-vaapi
  #hwaccel_args: preset-intel-qsv-h264

record:
  enabled: True
  retain: 
    days: 2
    mode: active_objects
  events:
    retain:
      default: 3
      mode: active_objects

snapshots:
  enabled: true
  timestamp: false
  bounding_box: false  

go2rtc:
  streams:
    front_north: 
      - rtsp://uname:pword@[localip]:554/cam/realmonitor?channel=1&subtype=1
      - "ffmpeg:front_north#audio=opus"
    front_north_sub: 
      - rtsp://uname:pword@[localip]:554/cam/realmonitor?channel=1&subtype=0
      - "ffmpeg:front_north_sub#audio=opus"
    front_south: 
      - rtsp://uname:pword@[localip]:554/cam/realmonitor?channel=1&subtype=1
      - "ffmpeg:front_south#audio=opus"
    front_south_sub:
      - rtsp://uname:pword@[localip]554/cam/realmonitor?channel=1&subtype=0
      - "ffmpeg:front_south_sub#audio=opus"
    sidedoor: 
      - rtsp://uname:pword@[localip]:554/cam/realmonitor?channel=1&subtype=1
      - "ffmpeg:sidedoor#audio=opus"
    sidedoor_sub:
      - rtsp://uname:pword@[localip]:554/cam/realmonitor?channel=1&subtype=0
      - "ffmpeg:sidedoor_sub#audio=opus"
    sideyard:
      - rtsp://uname:pword@[localip]:554/cam/realmonitor?channel=1&subtype=1
      - "ffmpeg:sideyard#audio=opus"
    sideyard_sub:
      - rtsp://uname:pword@[localip]:554/cam/realmonitor?channel=1&subtype=0
      - "ffmpeg:sideyard_sub#audio=opus"
    babymonitor:
      - rtsp://uname:pword@[localip]:554/cam/realmonitor?channel=1&subtype=0
      - "ffmpeg:babymonitor#audio=opus"

cameras:
 #### Front North Camera############################################################## 
  front_north:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/front_north
          input_args: preset-rtsp-generic
          roles:
            - detect
        - path: rtsp://127.0.0.1:8554/front_north_sub
          input_args: preset-rtsp-generic
          roles:    
            - record
            - audio
      output_args:
        record: preset-record-generic-audio-copy
        #record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac
    detect:
      width: 704
      height: 480
      fps: 5        
    objects:
      track:
        - person
        - face
        - car
        - deer
        - amazon
        - ups
        - fedex
        - package
        - dog
        - cat
      mask:
        - 219,142,132,96,65,140,126,180  
      filters:
        person:
          mask: 
            - 0,0,465,0,704,0,280,174,0,310
          threshold: 0.70
          max_area: 75000
        dog:
          mask:
            - 588,480,163,480,418,162,672,212
          threshold: 0.80
        package:
          threshold: 0.80
        car:
          threshold: 0.85
    motion:
      threshold: 25     
    zones:
      front_yard:
        coordinates: 0,480,704,480,704,381,654,131,484,110,380,131,229,189,0,305            

 #### Front South ###################################################################
  front_south:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/front_south
          input_args: preset-rtsp-restream
          roles:
            - detect
        - path: rtsp://127.0.0.1:8554/front_south_sub
          input_args: preset-rtsp-restream
          roles:    
            - record
            - audio
      output_args:
        record: preset-record-generic-audio-copy
        #record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac    
    detect: 
      width: 704
      height: 480
      fps: 5
    objects:
      track:
        - person
        - face
        - car
        - deer
        - amazon
        - ups
        - fedex
        - package
        - dog
        - cat
      filters:
        person:
          threshold: 0.70
        package:
          threshold:  0.80
        car: 
          threshold: 0.85        
    motion:
      threshold: 25  
    zones:
      front_yard:
        coordinates: 0,480,704,480,704,380,546,252,388,140,136,0,0,0      

#### Side Door ####################################################################
  sidedoor:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/sidedoor
          input_args: preset-rtsp-restream
          roles:
            - detect
        - path: rtsp://127.0.0.1:8554/sidedoor_sub
          input_args: preset-rtsp-restream
          roles:    
            - record            
            - audio
      output_args:
        record: preset-record-generic-audio-copy
        #record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac
    detect: 
      width: 704
      height: 480
      fps: 5     
    objects:
      track:
        - person
        - face
        - car
        - deer
        - amazon
        - ups
        - fedex
        - package
        - dog
        - cat
      filters:
        person:
          mask:
            - 704,0,520,0,513,85,679,178
          threshold: 0.70
        cat:
          threshold: 0.80      
    zones:
      driveway:
        coordinates: 0,480,704,480,704,209,520,98,436,110,352,60,249,0,0,0

  #### Side Yard #############################################################
  sideyard:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/sideyard
          input_args: preset-rtsp-restream
          roles:
            - detect
        - path: rtsp://127.0.0.1:8554/sideyard_sub
          input_args: preset-rtsp-restream
          roles:    
            - record
            - audio
      output_args:
        record: preset-record-generic-audio-copy
        #record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac
    detect: 
      width: 704
      height: 480
      fps: 5    
    objects:
      track:
        - person
        - face
        - car
        - deer
        - amazon
        - ups
        - fedex
        - package
        - dog
        - cat
      filters:
        person:
          threshold: 0.70
        car:
          threshold: 0.85
    zones:
      front_yard:
        coordinates: 118,480,704,480,704,174,352,122,250,143,23,219

Relevant log output

2024-02-07 19:08:19.890806126  [INFO] Preparing Frigate...
2024-02-07 19:08:20.370401089  [INFO] Starting Frigate...
2024-02-07 19:08:51.132526583  [2024-02-07 14:08:51] frigate.app                    INFO    : Starting Frigate (0.13.1-34fb1c2)
2024-02-07 19:08:51.134083391  [2024-02-07 14:08:51] frigate.app                    INFO    : Creating directory: /tmp/cache
2024-02-07 19:08:51.543055225  [2024-02-07 14:08:51] peewee_migrate.logs            INFO    : Starting migrations
2024-02-07 19:08:51.576212152  [2024-02-07 14:08:51] peewee_migrate.logs            INFO    : There is nothing to migrate
2024-02-07 19:08:51.604258915  [2024-02-07 14:08:51] frigate.app                    INFO    : Recording process started: 324
2024-02-07 19:08:51.612342419  [2024-02-07 14:08:51] frigate.app                    INFO    : go2rtc process pid: 86
2024-02-07 19:08:51.720529076  [2024-02-07 14:08:51] detector.coral                 INFO    : Starting detection process: 334
2024-02-07 19:08:51.734483821  [2024-02-07 14:08:51] frigate.app                    INFO    : Output process started: 336
2024-02-07 19:08:51.834367001  [2024-02-07 14:08:51] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as auto
2024-02-07 19:08:52.847028780  [2024-02-07 14:08:52] frigate.app                    INFO    : Camera processor started for front_north: 360
2024-02-07 19:08:52.887097812  [2024-02-07 14:08:52] frigate.app                    INFO    : Camera processor started for sidedoor: 361
2024-02-07 19:08:52.933134992  [2024-02-07 14:08:52] frigate.app                    INFO    : Camera processor started for sideyard: 364
2024-02-07 19:08:52.991889492  [2024-02-07 14:08:52] frigate.app                    INFO    : Camera processor started for front_south: 367
2024-02-07 19:08:53.006163579  [2024-02-07 14:08:53] frigate.app                    INFO    : Capture process started for front_north: 368
2024-02-07 19:08:53.015456495  [2024-02-07 14:08:53] frigate.app                    INFO    : Capture process started for sidedoor: 370
2024-02-07 19:08:53.023143791  [2024-02-07 14:08:53] frigate.app                    INFO    : Capture process started for sideyard: 372
2024-02-07 19:08:53.034109284  [2024-02-07 14:08:53] frigate.app                    INFO    : Capture process started for front_south: 375
2024-02-07 19:08:54.697844040  [2024-02-07 14:08:54] frigate.detectors.plugins.edgetpu_tfl INFO    : TPU found
2024-02-07 22:40:40.241593361  [2024-02-07 17:40:40] frigate.video                  ERROR   : front_north: Unable to read frames from ffmpeg process.
2024-02-07 22:40:40.241598841  [2024-02-07 17:40:40] frigate.video                  ERROR   : front_north: ffmpeg process is not running. exiting capture thread...
2024-02-07 22:40:40.329958664  [2024-02-07 17:40:40] frigate.video                  ERROR   : sidedoor: Unable to read frames from ffmpeg process.
2024-02-07 22:40:40.330742792  [2024-02-07 17:40:40] frigate.video                  ERROR   : sidedoor: ffmpeg process is not running. exiting capture thread...
2024-02-07 22:40:40.337291716  [2024-02-07 17:40:40] frigate.video                  ERROR   : front_south: Unable to read frames from ffmpeg process.
2024-02-07 22:40:40.337861274  [2024-02-07 17:40:40] frigate.video                  ERROR   : front_south: ffmpeg process is not running. exiting capture thread...
2024-02-07 22:40:40.343923484  [2024-02-07 17:40:40] frigate.video                  ERROR   : sideyard: Unable to read frames from ffmpeg process.
2024-02-07 22:40:40.344521872  [2024-02-07 17:40:40] frigate.video                  ERROR   : sideyard: ffmpeg process is not running. exiting capture thread...
2024-02-07 22:40:41.010800524  [2024-02-07 17:40:41] watchdog.front_north           ERROR   : Ffmpeg process crashed unexpectedly for front_north.
2024-02-07 22:40:41.020463630  [2024-02-07 17:40:41] watchdog.front_north           ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-07 22:40:41.020474679  [2024-02-07 17:40:41] ffmpeg.front_north.detect      ERROR   : [h264_qsv @ 0x55c766cb3c80] A decode call did not consume any data: expect more data at input (-10)
2024-02-07 22:40:41.020476602  [2024-02-07 17:40:41] ffmpeg.front_north.detect      ERROR   :     Last message repeated 2 times
2024-02-07 22:40:41.044901797  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.044911649  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 198489824, current: 198489728; changing to 198489825. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.044913697  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.044916863  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 198553856, current: 198553760; changing to 198553857. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.044939104  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.044971009  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 198666816, current: 198666720; changing to 198666817. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.044988134  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.044990865  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 198746528, current: 198746432; changing to 198746529. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.044993200  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.044995505  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 198794816, current: 198794720; changing to 198794817. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.045012724  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.045015257  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 198842784, current: 198842688; changing to 198842785. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.045037507  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.045040214  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 198874528, current: 198874432; changing to 198874529. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.045041963  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.045044271  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 198922656, current: 198922560; changing to 198922657. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.045046070  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.045048346  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 198970784, current: 198970688; changing to 198970785. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.045049841  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.045072579  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 199002528, current: 199002432; changing to 199002529. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.045074456  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.045076751  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 199050656, current: 199050560; changing to 199050657. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.045081098  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.048900650  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 199098784, current: 199098688; changing to 199098785. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.048905937  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.048908530  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 199127296, current: 199127200; changing to 199127297. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.048910365  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.048912758  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 199130528, current: 199130432; changing to 199130529. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.048914375  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.048916699  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 199178816, current: 199178720; changing to 199178817. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.048918308  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.048920670  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 199258688, current: 199258592; changing to 199258689. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.048922327  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.048924765  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 199306656, current: 199306560; changing to 199306657. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.048926360  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.048928746  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 199354944, current: 199354688; changing to 199354945. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.048930412  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.048932765  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 199386528, current: 199386432; changing to 199386529. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.050480781  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.051155606  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 199434656, current: 199434560; changing to 199434657. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.051661459  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.052093457  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 199482784, current: 199482688; changing to 199482785. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.052524197  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.052978424  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 199514688, current: 199514432; changing to 199514689. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.053505853  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.054008113  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 199562656, current: 199562560; changing to 199562657. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.054506025  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.054994861  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 199610784, current: 199610688; changing to 199610785. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.055545180  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.056069249  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 199642528, current: 199642432; changing to 199642529. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.056581006  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.057065752  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 199690656, current: 199690560; changing to 199690657. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.057515809  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.057957419  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 199738784, current: 199738688; changing to 199738785. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.058503495  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.058971190  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 199770528, current: 199770432; changing to 199770529. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.059486995  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.059962195  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 199818656, current: 199818560; changing to 199818657. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.060445491  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.061033858  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 199851424, current: 199851328; changing to 199851425. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.061641579  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.062162722  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 199898528, current: 199898432; changing to 199898529. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.062702189  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.063290591  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 199946656, current: 199946560; changing to 199946657. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.063825166  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.064337348  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 199994784, current: 199994688; changing to 199994785. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.064950883  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.071327134  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 200026528, current: 200026432; changing to 200026529. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.072104480  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.072690494  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 200074656, current: 200074560; changing to 200074657. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.073288523  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.073765005  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 200347904, current: 200347808; changing to 200347905. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.074294921  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.074783913  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 200427776, current: 200427680; changing to 200427777. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.075314856  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.075976221  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 200508288, current: 200508032; changing to 200508289. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.076509958  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.077022218  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 200603904, current: 200603808; changing to 200603905. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.077577442  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.079190918  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 200731904, current: 200731808; changing to 200731905. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.079876393  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.080419721  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 200811776, current: 200811680; changing to 200811777. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.081417520  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.087167047  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 201019808, current: 201019712; changing to 201019809. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.087807351  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.088316831  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 201067936, current: 201067840; changing to 201067937. This may result in incorrect timestamps in the output file.
2024-02-07 22:40:41.088786048  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [aac @ 0x55a6f37db740] Queue input is backward in time
2024-02-07 22:40:41.089426282  [2024-02-07 17:40:41] ffmpeg.front_north.record      ERROR   : [segment @ 0x55a6f37d8040] Non-monotonous DTS in output stream 0:1; previous: 201452256, current: 201452160; changing to 201452257. This may result in incorrect timestamps in the output file.

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","height":480,"width":704},{"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":2160,"width":3840},{"avg_frame_rate":"0/0","codec_long_name":"AAC(AdvancedAudioCoding)"}]}}]

Frigate stats

No response

Operating system

HassOS

Install method

HassOS Addon

Coral version

USB

Network connection

Wired

Camera make and model

Amcrest IP8M-T2669EW

Any other information that may be helpful

No response

NickM-27 commented 9 months ago

these logs seem out of date, your config shows you using preset-vaapi (which I would recommend) but the logs indicate that qsv is being used

rgnoon commented 9 months ago

Ah, I'm so sorry, you're right. In my efforts to troubleshoot I was trying different hwaccel presets to see if it made a difference. I hadn't realized that I grabbed the wrong log. As soon as I'm able to reboot the host and recreate the issue I'll update the log. Unfortunately, I use the go2rtc install for that babymonitor camera and the little one is napping! I apologize for my oversight.

rgnoon commented 9 months ago

Closing this after running on new hardware with no issues for 24 hrs. Sorry for the trouble and thank you for your prompt attention!