blakeblackshear / frigate

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

[Camera Support]: Issues with cameras staying up and recording properly #9676

Closed shwarnock closed 8 months ago

shwarnock commented 9 months ago

Describe the problem you are having

I have frigate running as a docker container. I have 5 Reolink wifi cameras setup and connected to frigate. I am having a ton of log errors in frigate. My camera live views will drop in and out. I am mostly having problems with the doorbell and the outdoor camera.

Version

0.13.1

Frigate config file

mqtt:
  enabled: true
  user: #####
  password: #####
  host: ip-address
go2rtc:
  streams:
    backyard_camera: rtsp://#####:#####@ip-address:554/h264Preview_01_main
    backyard_camera_sub: rtsp://#####:#####@ip-address:554/h264Preview_01_sub
    driveway_camera: rtsp://#####:#####@ip-address:554/h264Preview_01_main
    driveway_camera_sub: rtsp://#####:#####@ip-address:554/h264Preview_01_sub
    entryway_camera: rtsp://#####:#####@ip-address:554/h264Preview_01_main
    entryway_camera_sub: rtsp://#####:#####1@ip-address:554/h264Preview_01_sub
    front_doorbell_camera: rtsp://#####:#####@ip-address:554/h264Preview_01_main
    front_doorbell_camera_sub: rtsp://#####:#####@ip-address:554/h264Preview_01_sub
    living_room_camera: rtsp://#####:#####@ip-address:554/h264Preview_01_main
    living_room_camera_sub: rtsp://#####:#####@ip-address:554/h264Preview_01_sub
ffmpeg:
  hwaccel_args:
      - -hwaccel
      - vaapi
      - -hwaccel_device
      - /dev/dri/renderD128
      - -hwaccel_output_format
      - yuv420p
  output_args:
    record: preset-record-generic-audio-aac
  input_args:
    - -avoid_negative_ts
    - make_zero
    - -fflags
    - nobuffer+genpts+discardcorrupt
    - -flags
    - low_delay
    - -strict
    - experimental
    - -analyzeduration
    - 10000M
    - -probesize
    - 10000M
detectors:
  coral:
    type: edgetpu
    device: usb
record:
  enabled: true
  retain:
    days: 7
    mode: active_objects
snapshots:
  enabled: true
  retain:
    default: 7
cameras:
  backyard_camera:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/backyard_camera?video=copy&audio=aac
        roles:
        - record
      - path: rtsp://127.0.0.1:8554/backyard_camera_sub
        roles:
        - detect
    detect:
      width: 1920
      height: 1080
      fps: 15
  driveway_camera:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/driveway_camera?video=copy&audio=aac
        roles:
        - record
      - path: rtsp://127.0.0.1:8554/driveway_camera_sub
        roles:
        - detect
    detect:
      width: 1920
      height: 1080
      fps: 10
    zones:
      driveway:
        coordinates: 1920,1080,1920,496,1026,153,0,356,0,356,0,1080
  entryway_camera:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/entryway_camera?video=copy&audio=aac
        roles:
        - record
      - path: rtsp:/127.0.0.1:8554/entryway_camera_sub
        roles:
        - detect
    detect:
      width: 1920
      height: 1080
      fps: 15
  front_doorbell_camera:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/front_doorbell_camera?video=copy&audio=aac
        roles:
        - record
      - path: rtsp://127.0.0.1:8554/front_doorbell_camera_sub
        roles:
        - detect
    detect:
      width: 1920
      height: 1080
      fps: 15
    zones:
      front_steps:
        coordinates: 1773,1080,1382,831,593,807,96,1080
  living_room_camera:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/living_room_camera?video=copy&audio=aac
        roles:
        - record
      - path: rtsp://127.0.0.1:8554/living_room_camera_sub
        roles:
        - detect
    detect:
      width: 1920
      height: 1080
      fps: 15

Relevant log output

2024-02-05 10:17:00.692696688  [INFO] Preparing Frigate...
2024-02-05 10:17:00.736340890  [INFO] Starting Frigate...
2024-02-05 10:17:02.056665391  [2024-02-05 10:17:02] frigate.app                    INFO    : Starting Frigate (0.13.1-34fb1c2)
2024-02-05 10:17:02.073210197  [2024-02-05 10:17:02] frigate.config                 WARNING : backyard_camera: Recording retention is configured for active_objects and event retention is configured for motion. The more restrictive retention policy will be applied.
2024-02-05 10:17:02.074580079  [2024-02-05 10:17:02] frigate.config                 WARNING : driveway_camera: Recording retention is configured for active_objects and event retention is configured for motion. The more restrictive retention policy will be applied.
2024-02-05 10:17:02.076000409  [2024-02-05 10:17:02] frigate.config                 WARNING : entryway_camera: Recording retention is configured for active_objects and event retention is configured for motion. The more restrictive retention policy will be applied.
2024-02-05 10:17:02.078403869  [2024-02-05 10:17:02] frigate.config                 WARNING : front_doorbell_camera: Recording retention is configured for active_objects and event retention is configured for motion. The more restrictive retention policy will be applied.
2024-02-05 10:17:02.079461200  [2024-02-05 10:17:02] frigate.config                 WARNING : living_room_camera: Recording retention is configured for active_objects and event retention is configured for motion. The more restrictive retention policy will be applied.
2024-02-05 10:17:02.105785531  [2024-02-05 10:17:02] peewee_migrate.logs            INFO    : Starting migrations
2024-02-05 10:17:02.109782719  [2024-02-05 10:17:02] peewee_migrate.logs            INFO    : There is nothing to migrate
2024-02-05 10:17:02.114116600  [2024-02-05 10:17:02] frigate.app                    INFO    : Recording process started: 292
2024-02-05 10:17:02.116098754  [2024-02-05 10:17:02] frigate.app                    INFO    : go2rtc process pid: 89
2024-02-05 10:17:02.139550496  [2024-02-05 10:17:02] frigate.app                    INFO    : Output process started: 303
2024-02-05 10:17:02.196103957  [2024-02-05 10:17:02] frigate.app                    INFO    : Camera processor started for backyard_camera: 315
2024-02-05 10:17:02.200663793  [2024-02-05 10:17:02] frigate.app                    INFO    : Camera processor started for driveway_camera: 316
2024-02-05 10:17:02.206012373  [2024-02-05 10:17:02] frigate.app                    INFO    : Camera processor started for entryway_camera: 318
2024-02-05 10:17:02.207079005  [2024-02-05 10:17:02] frigate.app                    INFO    : Camera processor started for front_doorbell_camera: 319
2024-02-05 10:17:02.216063238  [2024-02-05 10:17:02] frigate.app                    INFO    : Camera processor started for living_room_camera: 321
2024-02-05 10:17:02.231842643  [2024-02-05 10:17:02] frigate.app                    INFO    : Capture process started for backyard_camera: 323
2024-02-05 10:17:02.247455159  [2024-02-05 10:17:02] frigate.app                    INFO    : Capture process started for driveway_camera: 325
2024-02-05 10:17:02.264789599  [2024-02-05 10:17:02] frigate.app                    INFO    : Capture process started for entryway_camera: 335
2024-02-05 10:17:02.271899937  [2024-02-05 10:17:02] frigate.app                    INFO    : Capture process started for front_doorbell_camera: 339
2024-02-05 10:17:02.285729185  [2024-02-05 10:17:02] frigate.app                    INFO    : Capture process started for living_room_camera: 345
2024-02-05 10:17:04.822750794  [2024-02-05 10:17:02] detector.coral                 INFO    : Starting detection process: 302
2024-02-05 10:17:04.822755417  [2024-02-05 10:17:02] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as usb
2024-02-05 10:17:04.826892384  [2024-02-05 10:17:04] frigate.detectors.plugins.edgetpu_tfl INFO    : TPU found
2024-02-05 10:18:07.162061149  [h264 @ 0x7fdf68201600] left block unavailable for requested intra4x4 mode -1
2024-02-05 10:18:07.162064527  [h264 @ 0x7fdf68201600] error while decoding MB 0 101, bytestream 30683
2024-02-05 10:18:22.386337887  [2024-02-05 10:18:22] watchdog.front_doorbell_camera INFO    : front_doorbell_camera exceeded fps limit. Exiting ffmpeg...
2024-02-05 10:18:22.393271393  [2024-02-05 10:18:22] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:18:23.826531740  [2024-02-05 10:18:23] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:18:23.826809888  [2024-02-05 10:18:23] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:18:33.831360830  [2024-02-05 10:18:33] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:18:33.831364986  [2024-02-05 10:18:33] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:18:33.831369174  [2024-02-05 10:18:33] ffmpeg.front_doorbell_camera.detect ERROR   : [rtsp @ 0x558431313f80] method SETUP failed: 461 Unsupported transport
2024-02-05 10:18:33.831371431  [2024-02-05 10:18:33] ffmpeg.front_doorbell_camera.detect ERROR   : [h264 @ 0x55843133a880] Increasing reorder buffer to 1
2024-02-05 10:18:47.185447788  [h264 @ 0x7fdf68027ac0] error while decoding MB 12 0, bytestream -5
2024-02-05 10:18:53.854277129  [2024-02-05 10:18:53] watchdog.front_doorbell_camera INFO    : No frames received from front_doorbell_camera in 20 seconds. Exiting ffmpeg...
2024-02-05 10:18:53.854280900  [2024-02-05 10:18:53] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:18:53.855095460  [2024-02-05 10:18:53] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:18:53.855098713  [2024-02-05 10:18:53] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:18:57.137698995  [h264 @ 0x7fdf6831f580] left block unavailable for requested intra mode
2024-02-05 10:18:57.138024630  [h264 @ 0x7fdf6831f580] error while decoding MB 0 3, bytestream 192836
2024-02-05 10:19:03.856479904  [2024-02-05 10:19:03] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:19:03.856483870  [2024-02-05 10:19:03] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:19:03.856485384  [2024-02-05 10:19:03] ffmpeg.front_doorbell_camera.detect ERROR   : [rtsp @ 0x55ed0857df80] method SETUP failed: 461 Unsupported transport
2024-02-05 10:19:03.856486795  [2024-02-05 10:19:03] ffmpeg.front_doorbell_camera.detect ERROR   : [rtsp @ 0x55ed0857df80] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
2024-02-05 10:19:03.856488073  [2024-02-05 10:19:03] ffmpeg.front_doorbell_camera.detect ERROR   : Consider increasing the value for the 'analyzeduration' (10000000000) and 'probesize' (10000000000) options
2024-02-05 10:19:03.856519589  [2024-02-05 10:19:03] ffmpeg.front_doorbell_camera.detect ERROR   : Output file #0 does not contain any stream
2024-02-05 10:19:23.872806034  [2024-02-05 10:19:23] watchdog.front_doorbell_camera INFO    : No frames received from front_doorbell_camera in 20 seconds. Exiting ffmpeg...
2024-02-05 10:19:23.872809586  [2024-02-05 10:19:23] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:19:23.884594061  [2024-02-05 10:19:23] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:19:23.902525722  [2024-02-05 10:19:23] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:19:23.902529632  [2024-02-05 10:19:23] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:19:23.902531309  [2024-02-05 10:19:23] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:19:23.902532821  [2024-02-05 10:19:23] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:19:23.902534161  [2024-02-05 10:19:23] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:19:23.902535478  [2024-02-05 10:19:23] ffmpeg.front_doorbell_camera.record ERROR   : [rtsp @ 0x5580c5233080] method SETUP failed: 461 Unsupported transport
2024-02-05 10:19:23.902536829  [2024-02-05 10:19:23] ffmpeg.front_doorbell_camera.record ERROR   : [rtsp @ 0x5580c5233080] RTP: PT=60: bad cseq cfd5 expected=d323
2024-02-05 10:19:23.902538141  [2024-02-05 10:19:23] ffmpeg.front_doorbell_camera.record ERROR   : [rtsp @ 0x5580c5233080] RTP: PT=61: bad cseq eed5 expected=8870
2024-02-05 10:19:23.902581189  [2024-02-05 10:19:23] ffmpeg.front_doorbell_camera.record ERROR   : [h264 @ 0x5580c5238180] error while decoding MB 37 43, bytestream -18
2024-02-05 10:19:23.902582902  [2024-02-05 10:19:23] ffmpeg.front_doorbell_camera.record ERROR   : [h264 @ 0x5580c5238180] cabac decode of qscale diff failed at 83 108
2024-02-05 10:19:23.902584408  [2024-02-05 10:19:23] ffmpeg.front_doorbell_camera.record ERROR   : [h264 @ 0x5580c5238180] error while decoding MB 83 108, bytestream 28695
2024-02-05 10:19:23.902585546  [2024-02-05 10:19:23] watchdog.front_doorbell_camera INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:19:23.902601757  [2024-02-05 10:19:23] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:19:23.902603255  [2024-02-05 10:19:23] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:19:23.902604763  [2024-02-05 10:19:23] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:19:33.929434194  [2024-02-05 10:19:33] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:19:33.929440067  [2024-02-05 10:19:33] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:19:33.929441773  [2024-02-05 10:19:33] ffmpeg.front_doorbell_camera.detect ERROR   : [rtsp @ 0x55fb7d3b5f80] method SETUP failed: 461 Unsupported transport
2024-02-05 10:19:33.929443299  [2024-02-05 10:19:33] ffmpeg.front_doorbell_camera.detect ERROR   : [h264 @ 0x55fb7d3bb0c0] missing picture in access unit with size 25
2024-02-05 10:19:33.929444606  [2024-02-05 10:19:33] ffmpeg.front_doorbell_camera.detect ERROR   : [h264 @ 0x55fb7d3bb0c0] no frame!
2024-02-05 10:19:33.929446122  [2024-02-05 10:19:33] ffmpeg.front_doorbell_camera.detect ERROR   : [rtsp @ 0x55fb7d3b5f80] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
2024-02-05 10:19:33.929447692  [2024-02-05 10:19:33] ffmpeg.front_doorbell_camera.detect ERROR   : Consider increasing the value for the 'analyzeduration' (10000000000) and 'probesize' (10000000000) options
2024-02-05 10:19:33.929448898  [2024-02-05 10:19:33] ffmpeg.front_doorbell_camera.detect ERROR   : Cannot determine format of input stream 0:0 after EOF
2024-02-05 10:19:33.929450046  [2024-02-05 10:19:33] ffmpeg.front_doorbell_camera.detect ERROR   : Error marking filters as finished

FFprobe output from your camera

C:\Users\swarnock\Downloads\ffmpeg-master-latest-win64-gpl\ffmpeg-master-latest-win64-gpl\bin>ffprobe rtsp://admin:######@192.168.86.27:554/h264Preview_01_main                                                                                                                                                      ffprobe version N-113540-gf80d91c051-20240205 Copyright (c) 2007-2024 the FFmpeg developers                                                                                                                                                                                                                               built with gcc 13.2.0 (crosstool-NG 1.25.0.232_c175b21)                                                                                                                                                                                                                                                                 configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libharfbuzz --enable-libvorbis --enable-opencl --disable-libpulse --enable-libvmaf --disable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-chromaprint --enable-libdav1d --enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libkvazaar --enable-libaribcaption --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librist --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libvpl --enable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --enable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp --extra-version=20240205                                                                                                                                                                                                                                                                 libavutil      58. 36.101 / 58. 36.101                                                                                                                                                                                                                                                                                  libavcodec     60. 39.100 / 60. 39.100                                                                                                                                                                                                                                                                                  libavformat    60. 20.100 / 60. 20.100                                                                                                                                                                                                                                                                                  libavdevice    60.  4.100 / 60.  4.100                                                                                                                                                                                                                                                                                  libavfilter     9. 17.100 /  9. 17.100                                                                                                                                                                                                                                                                                  libswscale      7.  6.100 /  7.  6.100                                                                                                                                                                                                                                                                                  libswresample   4. 13.100 /  4. 13.100                                                                                                                                                                                                                                                                                  libpostproc    57.  4.100 / 57.  4.100                                                                                                                                                                                                                                                                                [rtsp @ 0000019875a87e40] max delay reached. need to consume packet                                                                                                                                                                                                                                                     [rtsp @ 0000019875a87e40] RTP: missed 162 packets                                                                                                                                                                                                                                                                       [rtsp @ 0000019875a87e40] max delay reached. need to consume packet                                                                                                                                                                                                                                                     [rtsp @ 0000019875a87e40] RTP: missed 6 packets                                                                                                                                                                                                                                                                         Input #0, rtsp, from 'rtsp://admin:######@192.168.86.27:554/h264Preview_01_main':                                                                                                                                                                                                                                      Metadata:                                                                                                                                                                                                                                                                                                                 title           : Session streamed by "preview"                                                                                                                                                                                                                                                                       Duration: N/A, start: 0.000375, bitrate: N/A                                                                                                                                                                                                                                                                            Stream #0:0: Video: h264 (High), yuv420p(progressive), 2560x1920, 15 fps, 30 tbr, 90k tbn                                                                                                                                                                                                                               Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp

Frigate stats

No response

Operating system

Debian

Install method

Docker Compose

Coral version

USB

Network connection

Wireless

Camera make and model

Reolink Doorbell Wifi, Reolink E1 Pro and Reolink RLC-510WA

Any other information that may be helpful

No response

NickM-27 commented 9 months ago

should use the recommended reolink config https://docs.frigate.video/configuration/camera_specific#reolink-cameras

shwarnock commented 9 months ago

I switched to http for the cameras that support it (backyard camera, driveway, and front doorbell). I am still having issues. Below is the new log and config

  enabled: true
  user: ######
  password: ######
  host: ######
go2rtc:
  streams:
    backyard_camera:
      - "ffmpeg:http://ip-address/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=######&password=######video=copy#audio=copy#audio=opus"
    backyard_camera_sub:
      - "ffmpeg:http://ip-address/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=######&password=######"
    driveway_camera:
      - "ffmpeg:http://ip-address/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=######&password=#######video=copy#audio=copy#audio=opus"
    driveway_camera_sub:
      - "ffmpeg:http://ip-address/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=######&password=######"
    entryway_camera: rtsp://######:######@ip-address:554/h264Preview_01_main
    entryway_camera_sub: rtsp://######:######@ip-address:554/h264Preview_01_sub
    front_doorbell_camera:
      - "ffmpeg:http://ip-address/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=######&password=#######video=copy#audio=copy#audio=opus"
      - rtsp://ip-address/Preview_01_sub
    front_doorbell_camera_sub:
      - "ffmpeg:http://ip-address/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=######&password=######"
    living_room_camera: rtsp://######:######@ip-address:554/h264Preview_01_main
    living_room_camera_sub: rtsp://######:######@ip-address:554/h264Preview_01_sub
ffmpeg:
  hwaccel_args:
      - -hwaccel
      - vaapi
      - -hwaccel_device
      - /dev/dri/renderD128
      - -hwaccel_output_format
      - yuv420p
  output_args:
    record: preset-record-generic-audio-aac
  input_args:
    - -avoid_negative_ts
    - make_zero
    - -fflags
    - nobuffer+genpts+discardcorrupt
    - -flags
    - low_delay
    - -strict
    - experimental
    - -analyzeduration
    - 10000M
    - -probesize
    - 10000M
detectors:
  coral:
    type: edgetpu
    device: usb
record:
  enabled: true
  retain:
    days: 7
    mode: active_objects
snapshots:
  enabled: true
  retain:
    default: 7
cameras:
  backyard_camera:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/backyard_camera
        roles:
        - record
      - path: rtsp://127.0.0.1:8554/backyard_camera_sub
        roles:
        - detect
    detect:
      width: 1920
      height: 1080
      fps: 15
  driveway_camera:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/driveway_camera
        roles:
        - record
      - path: rtsp://127.0.0.1:8554/driveway_camera_sub
        roles:
        - detect
    detect:
      width: 1920
      height: 1080
      fps: 10
    zones:
      driveway:
        coordinates: 1920,1080,1920,496,1026,153,0,356,0,356,0,1080
  entryway_camera:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/entryway_camera
        roles:
        - record
      - path: rtsp:/127.0.0.1:8554/entryway_camera_sub
        roles:
        - detect
    detect:
      width: 1920
      height: 1080
      fps: 15
  front_doorbell_camera:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/front_doorbell_camera
        roles:
        - record
      - path: rtsp://127.0.0.1:8554/front_doorbell_camera_sub
        roles:
        - detect
    detect:
      width: 1920
      height: 1080
      fps: 15
    zones:
      front_steps:
        coordinates: 1773,1080,1382,831,593,807,96,1080
  living_room_camera:
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/living_room_camera
        roles:
        - record
      - path: rtsp://127.0.0.1:8554/living_room_camera_sub
        roles:
        - detect
    detect:
      width: 1920
      height: 1080
      fps: 15

2024-02-05 10:47:29.107126167  [INFO] Starting Frigate...
2024-02-05 10:47:30.697827514  [2024-02-05 10:47:30] frigate.app                    INFO    : Starting Frigate (0.13.1-34fb1c2)
2024-02-05 10:47:30.710131683  [2024-02-05 10:47:30] frigate.config                 WARNING : backyard_camera: Recording retention is configured for active_objects and event retention is configured for motion. The more restrictive retention policy will be applied.
2024-02-05 10:47:30.711412070  [2024-02-05 10:47:30] frigate.config                 WARNING : driveway_camera: Recording retention is configured for active_objects and event retention is configured for motion. The more restrictive retention policy will be applied.
2024-02-05 10:47:30.713079006  [2024-02-05 10:47:30] frigate.config                 WARNING : entryway_camera: Recording retention is configured for active_objects and event retention is configured for motion. The more restrictive retention policy will be applied.
2024-02-05 10:47:30.715015415  [2024-02-05 10:47:30] frigate.config                 WARNING : front_doorbell_camera: Recording retention is configured for active_objects and event retention is configured for motion. The more restrictive retention policy will be applied.
2024-02-05 10:47:30.716307964  [2024-02-05 10:47:30] frigate.config                 WARNING : living_room_camera: Recording retention is configured for active_objects and event retention is configured for motion. The more restrictive retention policy will be applied.
2024-02-05 10:47:30.742551940  [2024-02-05 10:47:30] peewee_migrate.logs            INFO    : Starting migrations
2024-02-05 10:47:30.746797634  [2024-02-05 10:47:30] peewee_migrate.logs            INFO    : There is nothing to migrate
2024-02-05 10:47:30.750697005  [2024-02-05 10:47:30] frigate.app                    INFO    : Recording process started: 293
2024-02-05 10:47:30.752766623  [2024-02-05 10:47:30] frigate.app                    INFO    : go2rtc process pid: 91
2024-02-05 10:47:30.773863228  [2024-02-05 10:47:30] frigate.app                    INFO    : Output process started: 304
2024-02-05 10:47:30.806243796  [2024-02-05 10:47:30] frigate.app                    INFO    : Camera processor started for backyard_camera: 311
2024-02-05 10:47:30.811239151  [2024-02-05 10:47:30] frigate.app                    INFO    : Camera processor started for driveway_camera: 313
2024-02-05 10:47:30.815704565  [2024-02-05 10:47:30] frigate.app                    INFO    : Camera processor started for entryway_camera: 315
2024-02-05 10:47:30.825974800  [2024-02-05 10:47:30] frigate.app                    INFO    : Camera processor started for front_doorbell_camera: 318
2024-02-05 10:47:30.834235636  [2024-02-05 10:47:30] frigate.app                    INFO    : Camera processor started for living_room_camera: 319
2024-02-05 10:47:30.842647301  [2024-02-05 10:47:30] frigate.app                    INFO    : Capture process started for backyard_camera: 322
2024-02-05 10:47:30.878513414  [2024-02-05 10:47:30] frigate.app                    INFO    : Capture process started for driveway_camera: 323
2024-02-05 10:47:30.878517851  [2024-02-05 10:47:30] frigate.app                    INFO    : Capture process started for entryway_camera: 327
2024-02-05 10:47:30.881900547  [2024-02-05 10:47:30] frigate.app                    INFO    : Capture process started for front_doorbell_camera: 333
2024-02-05 10:47:30.900461602  [2024-02-05 10:47:30] frigate.app                    INFO    : Capture process started for living_room_camera: 337
2024-02-05 10:47:33.454834106  [2024-02-05 10:47:30] detector.coral                 INFO    : Starting detection process: 303
2024-02-05 10:47:33.454837442  [2024-02-05 10:47:30] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as usb
2024-02-05 10:47:33.458147448  [2024-02-05 10:47:33] frigate.detectors.plugins.edgetpu_tfl INFO    : TPU found
2024-02-05 10:47:36.076104011  [2024-02-05 10:47:36] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:47:36.076292217  [2024-02-05 10:47:36] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:47:36.093118791  [2024-02-05 10:47:36] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:47:36.093318939  [2024-02-05 10:47:36] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:47:50.974082194  [2024-02-05 10:47:50] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 10:47:50.974545763  [2024-02-05 10:47:50] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:47:50.974548653  [2024-02-05 10:47:50] ffmpeg.driveway_camera.detect  ERROR   : rtsp://127.0.0.1:8554/driveway_camera_sub: Invalid data found when processing input
2024-02-05 10:47:50.991255053  [2024-02-05 10:47:50] ffmpeg.driveway_camera.record  ERROR   : rtsp://127.0.0.1:8554/driveway_camera: Invalid data found when processing input
2024-02-05 10:47:50.991258656  [2024-02-05 10:47:50] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:47:50.991259968  [2024-02-05 10:47:50] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:47:51.001095540  [2024-02-05 10:47:50] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:47:51.001098982  [2024-02-05 10:47:50] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:47:51.001100375  [2024-02-05 10:47:50] ffmpeg.front_doorbell_camera.detect ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera_sub: Invalid data found when processing input
2024-02-05 10:47:51.006085923  [2024-02-05 10:47:51] ffmpeg.front_doorbell_camera.record ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera: Invalid data found when processing input
2024-02-05 10:47:51.006374325  [2024-02-05 10:47:51] watchdog.front_doorbell_camera INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:47:51.006377033  [2024-02-05 10:47:51] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:47:56.102017495  [2024-02-05 10:47:56] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:47:56.102021074  [2024-02-05 10:47:56] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:47:56.122613301  [2024-02-05 10:47:56] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:47:56.123605230  [2024-02-05 10:47:56] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:48:01.005553374  [2024-02-05 10:48:00] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 10:48:01.005557851  [2024-02-05 10:48:00] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:48:01.005559436  [2024-02-05 10:48:00] ffmpeg.driveway_camera.detect  ERROR   : rtsp://127.0.0.1:8554/driveway_camera_sub: Invalid data found when processing input
2024-02-05 10:48:01.018519959  [2024-02-05 10:48:01] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:48:01.018525058  [2024-02-05 10:48:01] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:48:01.018526477  [2024-02-05 10:48:01] ffmpeg.front_doorbell_camera.detect ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera_sub: Invalid data found when processing input
2024-02-05 10:48:01.029675365  [2024-02-05 10:48:01] ffmpeg.driveway_camera.record  ERROR   : rtsp://127.0.0.1:8554/driveway_camera: Invalid data found when processing input
2024-02-05 10:48:01.029678656  [2024-02-05 10:48:01] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:48:01.029679870  [2024-02-05 10:48:01] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:48:01.040773200  [2024-02-05 10:48:01] ffmpeg.front_doorbell_camera.record ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera: Invalid data found when processing input
2024-02-05 10:48:01.040776666  [2024-02-05 10:48:01] watchdog.front_doorbell_camera INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:48:01.040777778  [2024-02-05 10:48:01] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:48:06.134720535  [2024-02-05 10:48:06] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:48:06.134988186  [2024-02-05 10:48:06] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:48:06.153420157  [2024-02-05 10:48:06] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:48:06.153692717  [2024-02-05 10:48:06] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:48:11.045363023  [2024-02-05 10:48:11] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 10:48:11.045366984  [2024-02-05 10:48:11] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:48:11.045368523  [2024-02-05 10:48:11] ffmpeg.driveway_camera.detect  ERROR   : rtsp://127.0.0.1:8554/driveway_camera_sub: Invalid data found when processing input
2024-02-05 10:48:11.050443332  [2024-02-05 10:48:11] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:48:11.050447467  [2024-02-05 10:48:11] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:48:11.050449154  [2024-02-05 10:48:11] ffmpeg.front_doorbell_camera.detect ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera_sub: Invalid data found when processing input
2024-02-05 10:48:11.054112227  [2024-02-05 10:48:11] ffmpeg.driveway_camera.record  ERROR   : rtsp://127.0.0.1:8554/driveway_camera: Invalid data found when processing input
2024-02-05 10:48:11.054115948  [2024-02-05 10:48:11] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:48:11.054117217  [2024-02-05 10:48:11] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:48:11.062018878  [2024-02-05 10:48:11] ffmpeg.front_doorbell_camera.record ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera: Invalid data found when processing input
2024-02-05 10:48:11.062563036  [2024-02-05 10:48:11] watchdog.front_doorbell_camera INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:48:11.062565588  [2024-02-05 10:48:11] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:48:16.163430508  [2024-02-05 10:48:16] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:48:16.163857888  [2024-02-05 10:48:16] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:48:16.172917414  [2024-02-05 10:48:16] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:48:16.172921230  [2024-02-05 10:48:16] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:48:21.066700160  [2024-02-05 10:48:21] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 10:48:21.066703915  [2024-02-05 10:48:21] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:48:21.066705355  [2024-02-05 10:48:21] ffmpeg.driveway_camera.detect  ERROR   : rtsp://127.0.0.1:8554/driveway_camera_sub: Invalid data found when processing input
2024-02-05 10:48:21.079706016  [2024-02-05 10:48:21] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:48:21.079709922  [2024-02-05 10:48:21] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:48:21.079711446  [2024-02-05 10:48:21] ffmpeg.front_doorbell_camera.detect ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera_sub: Invalid data found when processing input
2024-02-05 10:48:21.092674617  [2024-02-05 10:48:21] ffmpeg.front_doorbell_camera.record ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera: Invalid data found when processing input
2024-02-05 10:48:21.092678717  [2024-02-05 10:48:21] watchdog.front_doorbell_camera INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:48:21.092680034  [2024-02-05 10:48:21] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:48:21.096333248  [2024-02-05 10:48:21] ffmpeg.driveway_camera.record  ERROR   : rtsp://127.0.0.1:8554/driveway_camera: Invalid data found when processing input
2024-02-05 10:48:21.096815998  [2024-02-05 10:48:21] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:48:21.096818779  [2024-02-05 10:48:21] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:48:26.197542008  [2024-02-05 10:48:26] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:48:26.197987880  [2024-02-05 10:48:26] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:48:26.212606803  [2024-02-05 10:48:26] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:48:26.212610813  [2024-02-05 10:48:26] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:48:31.101226561  [2024-02-05 10:48:31] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:48:31.101230332  [2024-02-05 10:48:31] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:48:31.101231887  [2024-02-05 10:48:31] ffmpeg.front_doorbell_camera.detect ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera_sub: Invalid data found when processing input
2024-02-05 10:48:31.105162557  [2024-02-05 10:48:31] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 10:48:31.105167784  [2024-02-05 10:48:31] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:48:31.105169482  [2024-02-05 10:48:31] ffmpeg.driveway_camera.detect  ERROR   : rtsp://127.0.0.1:8554/driveway_camera_sub: Invalid data found when processing input
2024-02-05 10:48:31.115319451  [2024-02-05 10:48:31] ffmpeg.front_doorbell_camera.record ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera: Invalid data found when processing input
2024-02-05 10:48:31.115323245  [2024-02-05 10:48:31] watchdog.front_doorbell_camera INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:48:31.115324503  [2024-02-05 10:48:31] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:48:31.119143824  [2024-02-05 10:48:31] ffmpeg.driveway_camera.record  ERROR   : rtsp://127.0.0.1:8554/driveway_camera: Invalid data found when processing input
2024-02-05 10:48:31.119147408  [2024-02-05 10:48:31] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:48:31.119148725  [2024-02-05 10:48:31] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:48:36.219921719  [2024-02-05 10:48:36] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:48:36.219925436  [2024-02-05 10:48:36] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:48:36.227440191  [2024-02-05 10:48:36] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:48:36.227456842  [2024-02-05 10:48:36] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:48:41.127750524  [2024-02-05 10:48:41] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:48:41.127754261  [2024-02-05 10:48:41] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:48:41.127755857  [2024-02-05 10:48:41] ffmpeg.front_doorbell_camera.detect ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera_sub: Invalid data found when processing input
2024-02-05 10:48:41.128684466  [2024-02-05 10:48:41] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 10:48:41.128687484  [2024-02-05 10:48:41] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:48:41.128688924  [2024-02-05 10:48:41] ffmpeg.driveway_camera.detect  ERROR   : rtsp://127.0.0.1:8554/driveway_camera_sub: Invalid data found when processing input
2024-02-05 10:48:41.136542858  [2024-02-05 10:48:41] ffmpeg.driveway_camera.record  ERROR   : rtsp://127.0.0.1:8554/driveway_camera: Invalid data found when processing input
2024-02-05 10:48:41.136546405  [2024-02-05 10:48:41] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:48:41.141587029  [2024-02-05 10:48:41] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:48:41.141590979  [2024-02-05 10:48:41] ffmpeg.front_doorbell_camera.record ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera: Invalid data found when processing input
2024-02-05 10:48:41.141592212  [2024-02-05 10:48:41] watchdog.front_doorbell_camera INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:48:41.141593277  [2024-02-05 10:48:41] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:48:46.248064451  [2024-02-05 10:48:46] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:48:46.248068575  [2024-02-05 10:48:46] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:48:46.248452274  [2024-02-05 10:48:46] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:48:46.249393468  [2024-02-05 10:48:46] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:48:51.149592815  [2024-02-05 10:48:51] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:48:51.149596621  [2024-02-05 10:48:51] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:48:51.149598212  [2024-02-05 10:48:51] ffmpeg.front_doorbell_camera.detect ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera_sub: Invalid data found when processing input
2024-02-05 10:48:51.149913763  [2024-02-05 10:48:51] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 10:48:51.150143322  [2024-02-05 10:48:51] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:48:51.150145624  [2024-02-05 10:48:51] ffmpeg.driveway_camera.detect  ERROR   : rtsp://127.0.0.1:8554/driveway_camera_sub: Invalid data found when processing input
2024-02-05 10:48:51.162142083  [2024-02-05 10:48:51] ffmpeg.front_doorbell_camera.record ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera: Invalid data found when processing input
2024-02-05 10:48:51.162145929  [2024-02-05 10:48:51] ffmpeg.driveway_camera.record  ERROR   : rtsp://127.0.0.1:8554/driveway_camera: Invalid data found when processing input
2024-02-05 10:48:51.162147234  [2024-02-05 10:48:51] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:48:51.162148351  [2024-02-05 10:48:51] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:48:51.162149455  [2024-02-05 10:48:51] watchdog.front_doorbell_camera INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:48:51.162151473  [2024-02-05 10:48:51] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:48:56.268158684  [2024-02-05 10:48:56] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:48:56.268711810  [2024-02-05 10:48:56] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:48:56.269772604  [2024-02-05 10:48:56] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:48:56.270044426  [2024-02-05 10:48:56] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:49:01.171186858  [2024-02-05 10:49:01] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 10:49:01.171190468  [2024-02-05 10:49:01] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:49:01.171191916  [2024-02-05 10:49:01] ffmpeg.driveway_camera.detect  ERROR   : rtsp://127.0.0.1:8554/driveway_camera_sub: Invalid data found when processing input
2024-02-05 10:49:01.171193027  [2024-02-05 10:49:01] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:49:01.171194100  [2024-02-05 10:49:01] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:49:01.171195257  [2024-02-05 10:49:01] ffmpeg.front_doorbell_camera.detect ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera_sub: Invalid data found when processing input
2024-02-05 10:49:01.183420615  [2024-02-05 10:49:01] ffmpeg.driveway_camera.record  ERROR   : rtsp://127.0.0.1:8554/driveway_camera: Invalid data found when processing input
2024-02-05 10:49:01.183423988  [2024-02-05 10:49:01] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:49:01.183425214  [2024-02-05 10:49:01] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:49:01.183426467  [2024-02-05 10:49:01] ffmpeg.front_doorbell_camera.record ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera: Invalid data found when processing input
2024-02-05 10:49:01.183960301  [2024-02-05 10:49:01] watchdog.front_doorbell_camera INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:49:01.183962905  [2024-02-05 10:49:01] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:49:06.296889268  [2024-02-05 10:49:06] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:49:06.297099260  [2024-02-05 10:49:06] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:49:07.102157627  [2024-02-05 10:49:07] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:49:07.102419639  [2024-02-05 10:49:07] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:49:11.192174829  [2024-02-05 10:49:11] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 10:49:11.192178373  [2024-02-05 10:49:11] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:49:11.192179809  [2024-02-05 10:49:11] ffmpeg.driveway_camera.detect  ERROR   : [rtsp @ 0x5621c741fe00] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
2024-02-05 10:49:11.192181071  [2024-02-05 10:49:11] ffmpeg.driveway_camera.detect  ERROR   : Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
2024-02-05 10:49:11.192182215  [2024-02-05 10:49:11] ffmpeg.driveway_camera.detect  ERROR   : Output file #0 does not contain any stream
2024-02-05 10:49:11.192831568  [2024-02-05 10:49:11] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:49:11.192834211  [2024-02-05 10:49:11] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:49:11.192835588  [2024-02-05 10:49:11] ffmpeg.front_doorbell_camera.detect ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera_sub: Invalid data found when processing input
2024-02-05 10:49:11.206269282  [2024-02-05 10:49:11] ffmpeg.front_doorbell_camera.record ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera: Invalid data found when processing input
2024-02-05 10:49:11.206272954  [2024-02-05 10:49:11] watchdog.front_doorbell_camera INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:49:11.206274143  [2024-02-05 10:49:11] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:49:11.207253132  [2024-02-05 10:49:11] ffmpeg.driveway_camera.record  ERROR   : rtsp://127.0.0.1:8554/driveway_camera: Invalid data found when processing input
2024-02-05 10:49:11.207256476  [2024-02-05 10:49:11] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:49:11.207257684  [2024-02-05 10:49:11] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:49:16.314949833  [2024-02-05 10:49:16] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:49:16.315385683  [2024-02-05 10:49:16] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:49:20.323636566  [2024-02-05 10:49:20] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:49:20.324098115  [2024-02-05 10:49:20] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:49:21.210382259  [2024-02-05 10:49:21] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 10:49:21.216794687  [2024-02-05 10:49:21] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:49:21.216798691  [2024-02-05 10:49:21] ffmpeg.driveway_camera.detect  ERROR   : [rtsp @ 0x564c8cfa1e00] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
2024-02-05 10:49:21.216800301  [2024-02-05 10:49:21] ffmpeg.driveway_camera.detect  ERROR   : Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
2024-02-05 10:49:21.216801515  [2024-02-05 10:49:21] ffmpeg.driveway_camera.detect  ERROR   : Output file #0 does not contain any stream
2024-02-05 10:49:21.217666014  [2024-02-05 10:49:21] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:49:21.217668764  [2024-02-05 10:49:21] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:49:21.217670155  [2024-02-05 10:49:21] ffmpeg.front_doorbell_camera.detect ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera_sub: Invalid data found when processing input
2024-02-05 10:49:21.225656040  [2024-02-05 10:49:21] ffmpeg.driveway_camera.record  ERROR   : rtsp://127.0.0.1:8554/driveway_camera: Invalid data found when processing input
2024-02-05 10:49:21.225659317  [2024-02-05 10:49:21] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:49:21.225660488  [2024-02-05 10:49:21] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:49:21.237937668  [2024-02-05 10:49:21] ffmpeg.front_doorbell_camera.record ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera: Invalid data found when processing input
2024-02-05 10:49:21.237941395  [2024-02-05 10:49:21] watchdog.front_doorbell_camera INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:49:21.237942692  [2024-02-05 10:49:21] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:49:26.334395638  [2024-02-05 10:49:26] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:49:26.334595043  [2024-02-05 10:49:26] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:49:26.343497480  [2024-02-05 10:49:26] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:49:26.343914396  [2024-02-05 10:49:26] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:49:31.230136848  [2024-02-05 10:49:31] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 10:49:31.230302538  [2024-02-05 10:49:31] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:49:31.230305304  [2024-02-05 10:49:31] ffmpeg.driveway_camera.detect  ERROR   : rtsp://127.0.0.1:8554/driveway_camera_sub: Invalid data found when processing input
2024-02-05 10:49:31.242572789  [2024-02-05 10:49:31] ffmpeg.driveway_camera.record  ERROR   : rtsp://127.0.0.1:8554/driveway_camera: Invalid data found when processing input
2024-02-05 10:49:31.242576447  [2024-02-05 10:49:31] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:49:31.242577730  [2024-02-05 10:49:31] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:49:31.246840922  [2024-02-05 10:49:31] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:49:31.246845078  [2024-02-05 10:49:31] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:49:31.246846573  [2024-02-05 10:49:31] ffmpeg.front_doorbell_camera.detect ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera_sub: Invalid data found when processing input
2024-02-05 10:49:31.256091044  [2024-02-05 10:49:31] ffmpeg.front_doorbell_camera.record ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera: Invalid data found when processing input
2024-02-05 10:49:31.256814380  [2024-02-05 10:49:31] watchdog.front_doorbell_camera INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:49:31.256817278  [2024-02-05 10:49:31] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:49:36.353227413  [2024-02-05 10:49:36] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:49:36.353800720  [2024-02-05 10:49:36] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:49:36.369149463  [2024-02-05 10:49:36] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:49:36.369428634  [2024-02-05 10:49:36] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:49:41.249906420  [2024-02-05 10:49:41] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 10:49:41.249910187  [2024-02-05 10:49:41] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:49:41.249911574  [2024-02-05 10:49:41] ffmpeg.driveway_camera.detect  ERROR   : rtsp://127.0.0.1:8554/driveway_camera_sub: Invalid data found when processing input
2024-02-05 10:49:41.257653335  [2024-02-05 10:49:41] ffmpeg.driveway_camera.record  ERROR   : rtsp://127.0.0.1:8554/driveway_camera: Invalid data found when processing input
2024-02-05 10:49:41.257657114  [2024-02-05 10:49:41] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:49:41.257658473  [2024-02-05 10:49:41] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:49:41.264233357  [2024-02-05 10:49:41] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:49:41.264236920  [2024-02-05 10:49:41] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:49:41.264238404  [2024-02-05 10:49:41] ffmpeg.front_doorbell_camera.detect ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera_sub: Invalid data found when processing input
2024-02-05 10:49:41.273266907  [2024-02-05 10:49:41] ffmpeg.front_doorbell_camera.record ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera: Invalid data found when processing input
2024-02-05 10:49:41.273270257  [2024-02-05 10:49:41] watchdog.front_doorbell_camera INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:49:41.273271611  [2024-02-05 10:49:41] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:49:46.374797384  [2024-02-05 10:49:46] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:49:46.374800973  [2024-02-05 10:49:46] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:49:46.384998054  [2024-02-05 10:49:46] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:49:46.385143896  [2024-02-05 10:49:46] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:49:51.268952264  [2024-02-05 10:49:51] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 10:49:51.268956786  [2024-02-05 10:49:51] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:49:51.268958438  [2024-02-05 10:49:51] ffmpeg.driveway_camera.detect  ERROR   : rtsp://127.0.0.1:8554/driveway_camera_sub: Invalid data found when processing input
2024-02-05 10:49:51.276776343  [2024-02-05 10:49:51] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:49:51.276780145  [2024-02-05 10:49:51] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:49:51.276781660  [2024-02-05 10:49:51] ffmpeg.front_doorbell_camera.detect ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera_sub: Invalid data found when processing input
2024-02-05 10:49:51.278566207  [2024-02-05 10:49:51] watchdog.driveway_camera       ERROR   : No new recording segments were created for driveway_camera in the last 120s. restarting the ffmpeg record process...
2024-02-05 10:49:51.278569366  [2024-02-05 10:49:51] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:49:51.278570527  [2024-02-05 10:49:51] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:49:51.287830258  [2024-02-05 10:49:51] watchdog.front_doorbell_camera ERROR   : No new recording segments were created for front_doorbell_camera in the last 120s. restarting the ffmpeg record process...
2024-02-05 10:49:51.291786434  [2024-02-05 10:49:51] watchdog.front_doorbell_camera INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:49:51.291790643  [2024-02-05 10:49:51] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:49:56.387370799  [2024-02-05 10:49:56] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:49:56.387374651  [2024-02-05 10:49:56] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:49:56.396476407  [2024-02-05 10:49:56] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:49:56.396757039  [2024-02-05 10:49:56] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:50:01.283507650  [2024-02-05 10:50:01] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 10:50:01.283762901  [2024-02-05 10:50:01] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:50:01.283766082  [2024-02-05 10:50:01] ffmpeg.driveway_camera.detect  ERROR   : rtsp://127.0.0.1:8554/driveway_camera_sub: Invalid data found when processing input
2024-02-05 10:50:01.295221266  [2024-02-05 10:50:01] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:50:01.295675878  [2024-02-05 10:50:01] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:50:01.295678992  [2024-02-05 10:50:01] ffmpeg.front_doorbell_camera.detect ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera_sub: Invalid data found when processing input
2024-02-05 10:50:01.299536322  [2024-02-05 10:50:01] watchdog.driveway_camera       ERROR   : No new recording segments were created for driveway_camera in the last 120s. restarting the ffmpeg record process...
2024-02-05 10:50:01.299540115  [2024-02-05 10:50:01] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:50:01.299541398  [2024-02-05 10:50:01] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:50:01.309934951  [2024-02-05 10:50:01] watchdog.front_doorbell_camera ERROR   : No new recording segments were created for front_doorbell_camera in the last 120s. restarting the ffmpeg record process...
2024-02-05 10:50:01.309939058  [2024-02-05 10:50:01] watchdog.front_doorbell_camera INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:50:01.309940672  [2024-02-05 10:50:01] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:50:06.408353776  [2024-02-05 10:50:06] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:50:06.408672666  [2024-02-05 10:50:06] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:50:06.419717686  [2024-02-05 10:50:06] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:50:06.419722384  [2024-02-05 10:50:06] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:50:11.304592283  [2024-02-05 10:50:11] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 10:50:11.304596221  [2024-02-05 10:50:11] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:50:11.304597692  [2024-02-05 10:50:11] ffmpeg.driveway_camera.detect  ERROR   : rtsp://127.0.0.1:8554/driveway_camera_sub: Invalid data found when processing input
2024-02-05 10:50:11.312517268  [2024-02-05 10:50:11] watchdog.driveway_camera       ERROR   : No new recording segments were created for driveway_camera in the last 120s. restarting the ffmpeg record process...
2024-02-05 10:50:11.312521141  [2024-02-05 10:50:11] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:50:11.312522531  [2024-02-05 10:50:11] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:50:11.313811803  [2024-02-05 10:50:11] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:50:11.313815426  [2024-02-05 10:50:11] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:50:11.313816929  [2024-02-05 10:50:11] ffmpeg.front_doorbell_camera.detect ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera_sub: Invalid data found when processing input
2024-02-05 10:50:11.322855877  [2024-02-05 10:50:11] watchdog.front_doorbell_camera ERROR   : No new recording segments were created for front_doorbell_camera in the last 120s. restarting the ffmpeg record process...
2024-02-05 10:50:11.322859866  [2024-02-05 10:50:11] watchdog.front_doorbell_camera INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:50:11.322861256  [2024-02-05 10:50:11] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:50:16.421568794  [2024-02-05 10:50:16] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:50:16.421910992  [2024-02-05 10:50:16] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:50:16.437478310  [2024-02-05 10:50:16] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:50:16.437905022  [2024-02-05 10:50:16] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:50:21.318527142  [2024-02-05 10:50:21] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 10:50:21.318531327  [2024-02-05 10:50:21] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:50:21.318532934  [2024-02-05 10:50:21] ffmpeg.driveway_camera.detect  ERROR   : rtsp://127.0.0.1:8554/driveway_camera_sub: Invalid data found when processing input
2024-02-05 10:50:21.335025715  [2024-02-05 10:50:21] watchdog.driveway_camera       ERROR   : No new recording segments were created for driveway_camera in the last 120s. restarting the ffmpeg record process...
2024-02-05 10:50:21.335029796  [2024-02-05 10:50:21] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:50:21.335031215  [2024-02-05 10:50:21] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:50:21.337102129  [2024-02-05 10:50:21] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:50:21.337105808  [2024-02-05 10:50:21] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:50:21.337107368  [2024-02-05 10:50:21] ffmpeg.front_doorbell_camera.detect ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera_sub: Invalid data found when processing input
2024-02-05 10:50:21.350243852  [2024-02-05 10:50:21] watchdog.front_doorbell_camera ERROR   : No new recording segments were created for front_doorbell_camera in the last 120s. restarting the ffmpeg record process...
2024-02-05 10:50:21.350889346  [2024-02-05 10:50:21] watchdog.front_doorbell_camera INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:50:21.350892542  [2024-02-05 10:50:21] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:50:26.450324415  [2024-02-05 10:50:26] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:50:26.450734066  [2024-02-05 10:50:26] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:50:26.457666055  [2024-02-05 10:50:26] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:50:26.457856824  [2024-02-05 10:50:26] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:50:31.344874129  [2024-02-05 10:50:31] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 10:50:31.344877964  [2024-02-05 10:50:31] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:50:31.344879522  [2024-02-05 10:50:31] ffmpeg.driveway_camera.detect  ERROR   : rtsp://127.0.0.1:8554/driveway_camera_sub: Invalid data found when processing input
2024-02-05 10:50:31.358746378  [2024-02-05 10:50:31] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:50:31.358750514  [2024-02-05 10:50:31] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:50:31.358752137  [2024-02-05 10:50:31] ffmpeg.front_doorbell_camera.detect ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera_sub: Invalid data found when processing input
2024-02-05 10:50:31.379856010  [2024-02-05 10:50:31] watchdog.front_doorbell_camera ERROR   : No new recording segments were created for front_doorbell_camera in the last 120s. restarting the ffmpeg record process...
2024-02-05 10:50:31.379861369  [2024-02-05 10:50:31] watchdog.front_doorbell_camera INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:50:31.379862732  [2024-02-05 10:50:31] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:50:31.396393545  [2024-02-05 10:50:31] watchdog.driveway_camera       ERROR   : No new recording segments were created for driveway_camera in the last 120s. restarting the ffmpeg record process...
2024-02-05 10:50:31.396397620  [2024-02-05 10:50:31] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:50:31.396399172  [2024-02-05 10:50:31] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:50:36.506904989  [2024-02-05 10:50:36] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:50:36.507320656  [2024-02-05 10:50:36] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:50:36.544006097  [2024-02-05 10:50:36] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:50:36.544009727  [2024-02-05 10:50:36] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:50:41.406153079  [2024-02-05 10:50:41] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 10:50:41.406157047  [2024-02-05 10:50:41] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:50:41.406158487  [2024-02-05 10:50:41] ffmpeg.driveway_camera.detect  ERROR   : rtsp://127.0.0.1:8554/driveway_camera_sub: Invalid data found when processing input
2024-02-05 10:50:41.414430865  [2024-02-05 10:50:41] watchdog.driveway_camera       ERROR   : No new recording segments were created for driveway_camera in the last 120s. restarting the ffmpeg record process...
2024-02-05 10:50:41.414434680  [2024-02-05 10:50:41] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:50:41.414436001  [2024-02-05 10:50:41] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:50:41.429971028  [2024-02-05 10:50:41] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:50:41.429974911  [2024-02-05 10:50:41] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:50:41.429976411  [2024-02-05 10:50:41] ffmpeg.front_doorbell_camera.detect ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera_sub: Invalid data found when processing input
2024-02-05 10:50:41.443296960  [2024-02-05 10:50:41] watchdog.front_doorbell_camera ERROR   : No new recording segments were created for front_doorbell_camera in the last 120s. restarting the ffmpeg record process...
2024-02-05 10:50:41.443301473  [2024-02-05 10:50:41] watchdog.front_doorbell_camera INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:50:41.443302819  [2024-02-05 10:50:41] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:50:46.525438684  [2024-02-05 10:50:46] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:50:46.525857270  [2024-02-05 10:50:46] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:50:46.551995974  [2024-02-05 10:50:46] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:50:46.552448333  [2024-02-05 10:50:46] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:50:51.422895755  [2024-02-05 10:50:51] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 10:50:51.422899277  [2024-02-05 10:50:51] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:50:51.422900745  [2024-02-05 10:50:51] ffmpeg.driveway_camera.detect  ERROR   : rtsp://127.0.0.1:8554/driveway_camera_sub: Invalid data found when processing input
2024-02-05 10:50:51.433206750  [2024-02-05 10:50:51] watchdog.driveway_camera       ERROR   : No new recording segments were created for driveway_camera in the last 120s. restarting the ffmpeg record process...
2024-02-05 10:50:51.433210208  [2024-02-05 10:50:51] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:50:51.433211612  [2024-02-05 10:50:51] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:50:51.450989672  [2024-02-05 10:50:51] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:50:51.450993084  [2024-02-05 10:50:51] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:50:51.450994532  [2024-02-05 10:50:51] ffmpeg.front_doorbell_camera.detect ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera_sub: Invalid data found when processing input
2024-02-05 10:50:51.459429445  [2024-02-05 10:50:51] watchdog.front_doorbell_camera ERROR   : No new recording segments were created for front_doorbell_camera in the last 120s. restarting the ffmpeg record process...
2024-02-05 10:50:51.459433737  [2024-02-05 10:50:51] watchdog.front_doorbell_camera INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:50:51.459434968  [2024-02-05 10:50:51] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:50:56.544491085  [2024-02-05 10:50:56] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:50:56.544818232  [2024-02-05 10:50:56] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:50:56.569039819  [2024-02-05 10:50:56] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:50:56.569298000  [2024-02-05 10:50:56] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:51:01.444854121  [2024-02-05 10:51:01] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 10:51:01.444859727  [2024-02-05 10:51:01] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:51:01.444861416  [2024-02-05 10:51:01] ffmpeg.driveway_camera.detect  ERROR   : rtsp://127.0.0.1:8554/driveway_camera_sub: Invalid data found when processing input
2024-02-05 10:51:01.454804686  [2024-02-05 10:51:01] watchdog.driveway_camera       ERROR   : No new recording segments were created for driveway_camera in the last 120s. restarting the ffmpeg record process...
2024-02-05 10:51:01.458611144  [2024-02-05 10:51:01] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:51:01.458614845  [2024-02-05 10:51:01] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:51:01.462559462  [2024-02-05 10:51:01] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:51:01.462851370  [2024-02-05 10:51:01] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:51:01.462854021  [2024-02-05 10:51:01] ffmpeg.front_doorbell_camera.detect ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera_sub: Invalid data found when processing input
2024-02-05 10:51:01.475363545  [2024-02-05 10:51:01] watchdog.front_doorbell_camera ERROR   : No new recording segments were created for front_doorbell_camera in the last 120s. restarting the ffmpeg record process...
2024-02-05 10:51:01.475367397  [2024-02-05 10:51:01] watchdog.front_doorbell_camera INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:51:01.475368692  [2024-02-05 10:51:01] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:51:06.574229108  [2024-02-05 10:51:06] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:51:06.574425343  [2024-02-05 10:51:06] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:51:06.582430389  [2024-02-05 10:51:06] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:51:06.582691340  [2024-02-05 10:51:06] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:51:11.462834685  [2024-02-05 10:51:11] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 10:51:11.466414165  [2024-02-05 10:51:11] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:51:11.466417920  [2024-02-05 10:51:11] ffmpeg.driveway_camera.detect  ERROR   : rtsp://127.0.0.1:8554/driveway_camera_sub: Invalid data found when processing input
2024-02-05 10:51:11.474903805  [2024-02-05 10:51:11] watchdog.driveway_camera       ERROR   : No new recording segments were created for driveway_camera in the last 120s. restarting the ffmpeg record process...
2024-02-05 10:51:11.474907425  [2024-02-05 10:51:11] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:51:11.474908732  [2024-02-05 10:51:11] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:51:11.482840810  [2024-02-05 10:51:11] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:51:11.482844467  [2024-02-05 10:51:11] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:51:11.482845942  [2024-02-05 10:51:11] ffmpeg.front_doorbell_camera.detect ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera_sub: Invalid data found when processing input
2024-02-05 10:51:11.491516452  [2024-02-05 10:51:11] watchdog.front_doorbell_camera ERROR   : No new recording segments were created for front_doorbell_camera in the last 120s. restarting the ffmpeg record process...
2024-02-05 10:51:11.491520577  [2024-02-05 10:51:11] watchdog.front_doorbell_camera INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:51:11.491521988  [2024-02-05 10:51:11] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:51:16.588989361  [2024-02-05 10:51:16] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:51:16.589198771  [2024-02-05 10:51:16] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:51:16.601419904  [2024-02-05 10:51:16] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:51:16.601733424  [2024-02-05 10:51:16] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:51:21.478821293  [2024-02-05 10:51:21] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 10:51:21.478825428  [2024-02-05 10:51:21] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:51:21.478827225  [2024-02-05 10:51:21] ffmpeg.driveway_camera.detect  ERROR   : rtsp://127.0.0.1:8554/driveway_camera_sub: Invalid data found when processing input
2024-02-05 10:51:21.496468962  [2024-02-05 10:51:21] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:51:21.496472880  [2024-02-05 10:51:21] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:51:21.496474478  [2024-02-05 10:51:21] ffmpeg.front_doorbell_camera.detect ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera_sub: Invalid data found when processing input
2024-02-05 10:51:21.513075630  [2024-02-05 10:51:21] watchdog.driveway_camera       ERROR   : No new recording segments were created for driveway_camera in the last 120s. restarting the ffmpeg record process...
2024-02-05 10:51:21.513615248  [2024-02-05 10:51:21] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:51:21.513618155  [2024-02-05 10:51:21] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:51:21.514841268  [2024-02-05 10:51:21] watchdog.front_doorbell_camera ERROR   : No new recording segments were created for front_doorbell_camera in the last 120s. restarting the ffmpeg record process...
2024-02-05 10:51:21.514844565  [2024-02-05 10:51:21] watchdog.front_doorbell_camera INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:51:21.514845749  [2024-02-05 10:51:21] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:51:26.612967048  [2024-02-05 10:51:26] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:51:26.613570738  [2024-02-05 10:51:26] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:51:26.618241263  [2024-02-05 10:51:26] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:51:26.618534842  [2024-02-05 10:51:26] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:51:31.536396160  [2024-02-05 10:51:31] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 10:51:31.536400280  [2024-02-05 10:51:31] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:51:31.536401790  [2024-02-05 10:51:31] ffmpeg.driveway_camera.detect  ERROR   : rtsp://127.0.0.1:8554/driveway_camera_sub: Invalid data found when processing input
2024-02-05 10:51:31.544806486  [2024-02-05 10:51:31] watchdog.driveway_camera       ERROR   : No new recording segments were created for driveway_camera in the last 120s. restarting the ffmpeg record process...
2024-02-05 10:51:31.544810262  [2024-02-05 10:51:31] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:51:31.545454431  [2024-02-05 10:51:31] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:51:31.554188879  [2024-02-05 10:51:31] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:51:31.554193065  [2024-02-05 10:51:31] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:51:31.554194695  [2024-02-05 10:51:31] ffmpeg.front_doorbell_camera.detect ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera_sub: Invalid data found when processing input
2024-02-05 10:51:31.562957863  [2024-02-05 10:51:31] watchdog.front_doorbell_camera ERROR   : No new recording segments were created for front_doorbell_camera in the last 120s. restarting the ffmpeg record process...
2024-02-05 10:51:31.562961999  [2024-02-05 10:51:31] watchdog.front_doorbell_camera INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:51:31.562963337  [2024-02-05 10:51:31] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:51:36.662748140  [2024-02-05 10:51:36] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:51:36.662751772  [2024-02-05 10:51:36] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:51:36.672218062  [2024-02-05 10:51:36] frigate.video                  ERROR   : front_doorbell_camera: Unable to read frames from ffmpeg process.
2024-02-05 10:51:36.672631209  [2024-02-05 10:51:36] frigate.video                  ERROR   : front_doorbell_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 10:51:41.548116866  [2024-02-05 10:51:41] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 10:51:41.551744982  [2024-02-05 10:51:41] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:51:41.551749034  [2024-02-05 10:51:41] ffmpeg.driveway_camera.detect  ERROR   : rtsp://127.0.0.1:8554/driveway_camera_sub: Invalid data found when processing input
2024-02-05 10:51:41.560042803  [2024-02-05 10:51:41] watchdog.driveway_camera       ERROR   : No new recording segments were created for driveway_camera in the last 120s. restarting the ffmpeg record process...
2024-02-05 10:51:41.560046366  [2024-02-05 10:51:41] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:51:41.560047583  [2024-02-05 10:51:41] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 10:51:41.569866290  [2024-02-05 10:51:41] watchdog.front_doorbell_camera ERROR   : Ffmpeg process crashed unexpectedly for front_doorbell_camera.
2024-02-05 10:51:41.569870239  [2024-02-05 10:51:41] watchdog.front_doorbell_camera ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 10:51:41.569871827  [2024-02-05 10:51:41] ffmpeg.front_doorbell_camera.detect ERROR   : rtsp://127.0.0.1:8554/front_doorbell_camera_sub: Invalid data found when processing input
2024-02-05 10:51:41.577822264  [2024-02-05 10:51:41] watchdog.front_doorbell_camera ERROR   : No new recording segments were created for front_doorbell_camera in the last 120s. restarting the ffmpeg record process...
2024-02-05 10:51:41.577825934  [2024-02-05 10:51:41] watchdog.front_doorbell_camera INFO    : Terminating the existing ffmpeg process...
2024-02-05 10:51:41.577827247  [2024-02-05 10:51:41] watchdog.front_doorbell_camera INFO    : Waiting for ffmpeg to exit gracefully```
shwarnock commented 9 months ago

At this point, with the updates to the config, there only seems to be issues with the doorbell camera

DastardlyDino commented 9 months ago

First time installer. Following this issue because I have the same problem with my reolink doorbell cam.

Running Frigate on Unraid.

NickM-27 commented 9 months ago

Check go2rtc logs and make sure that the doorbell has latest firmware (compare version with online reokink downloader version m)

DastardlyDino commented 9 months ago
mqtt:
  enabled: true
  host: ###.###.##.#  # <---- same mqtt broker that home assistant uses
  port: 1883
  user: mqtt-user
  password: ##########

detectors:
    cpu1:
      type: cpu
    cpu2:
      type: cpu

go2rtc:
  streams:
    doorbell_cam:
      - "ffmpeg:http://###.###.##.###/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=***********#video=copy#audio=copy#audio=opus"
      - rtsp://reolink_ip/Preview_01_sub
    doorbell_cam_sub:
      - "ffmpeg:http://###.###.##.###/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=***********"

cameras:
  doorbell_cam:
    ffmpeg:
      inputs:
        - path: rtsp://admin:***********@###.###.##.###:554/h264Preview_01_main
          input_args: preset-rtsp-restream
          roles:
            - record
        - path: rtsp://admin:***********@###.###.##.###:554/h264Preview_01_sub
          input_args: preset-rtsp-restream
          roles:
            - detect
DastardlyDino commented 9 months ago

LOGS:

2024-02-05 14:43:57.260558612  [INFO] Preparing Frigate...
2024-02-05 14:43:57.273522868  [INFO] Starting Frigate...
2024-02-05 14:43:58.083421999  [2024-02-05 14:43:58] frigate.app                    INFO    : Starting Frigate (0.13.1-34fb1c2)
2024-02-05 14:44:01.756759300  [2024-02-05 14:44:01] peewee_migrate.logs            INFO    : Starting migrations
2024-02-05 14:44:01.760930823  [2024-02-05 14:44:01] peewee_migrate.logs            INFO    : There is nothing to migrate
2024-02-05 14:44:01.765792349  [2024-02-05 14:44:01] frigate.app                    INFO    : Recording process started: 596
2024-02-05 14:44:01.766885560  [2024-02-05 14:44:01] frigate.app                    INFO    : go2rtc process pid: 89
2024-02-05 14:44:01.781307977  [2024-02-05 14:44:01] detector.cpu1                  INFO    : Starting detection process: 606
2024-02-05 14:44:01.783882416  [2024-02-05 14:44:01] frigate.detectors              WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
2024-02-05 14:44:01.785391007  [2024-02-05 14:44:01] detector.cpu2                  INFO    : Starting detection process: 608
2024-02-05 14:44:01.787857734  [2024-02-05 14:44:01] frigate.detectors              WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
2024-02-05 14:44:01.789244475  [2024-02-05 14:44:01] frigate.app                    INFO    : Output process started: 610
2024-02-05 14:44:01.801972659  [2024-02-05 14:44:01] frigate.app                    INFO    : Camera processor started for doorbell_cam: 615
2024-02-05 14:44:01.807766031  [2024-02-05 14:44:01] frigate.app                    INFO    : Capture process started for doorbell_cam: 617
2024-02-05 14:44:26.311005606  [2024-02-05 14:44:26] frigate.video                  ERROR   : doorbell_cam: Unable to read frames from ffmpeg process.
2024-02-05 14:44:26.311634186  [2024-02-05 14:44:26] frigate.video                  ERROR   : doorbell_cam: ffmpeg process is not running. exiting capture thread...
2024-02-05 14:44:31.827473379  [2024-02-05 14:44:31] watchdog.doorbell_cam          ERROR   : Ffmpeg process crashed unexpectedly for doorbell_cam.
2024-02-05 14:44:31.827526808  [2024-02-05 14:44:31] watchdog.doorbell_cam          ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 14:44:31.827560586  [2024-02-05 14:44:31] ffmpeg.doorbell_cam.detect     ERROR   : rtsp://*:*@192.168.50.102:554/h264Preview_01_sub: Connection timed out
2024-02-05 14:44:31.827590907  [2024-02-05 14:44:31] ffmpeg.doorbell_cam.detect     ERROR   :     Last message repeated 1 times
2024-02-05 14:44:36.856264850  [2024-02-05 14:44:36] frigate.video                  ERROR   : doorbell_cam: Unable to read frames from ffmpeg process.
2024-02-05 14:44:36.856268662  [2024-02-05 14:44:36] frigate.video                  ERROR   : doorbell_cam: ffmpeg process is not running. exiting capture thread...
2024-02-05 14:44:41.847533774  [2024-02-05 14:44:41] watchdog.doorbell_cam          ERROR   : Ffmpeg process crashed unexpectedly for doorbell_cam.
2024-02-05 14:44:41.847600534  [2024-02-05 14:44:41] watchdog.doorbell_cam          ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 14:44:41.847635839  [2024-02-05 14:44:41] ffmpeg.doorbell_cam.detect     ERROR   : [tcp @ 0x5618dba9de40] Connection to tcp://192.168.50.102:554?timeout=5000000 failed: Connection timed out
2024-02-05 14:44:41.847667689  [2024-02-05 14:44:41] ffmpeg.doorbell_cam.detect     ERROR   : rtsp://*:*@192.168.50.102:554/h264Preview_01_sub: Connection timed out
2024-02-05 14:45:16.467359350  [2024-02-05 14:45:16] frigate.video                  ERROR   : doorbell_cam: Unable to read frames from ffmpeg process.
2024-02-05 14:45:16.467576237  [2024-02-05 14:45:16] frigate.video                  ERROR   : doorbell_cam: ffmpeg process is not running. exiting capture thread...
2024-02-05 14:45:21.856128802  [2024-02-05 14:45:21] watchdog.doorbell_cam          ERROR   : Ffmpeg process crashed unexpectedly for doorbell_cam.
2024-02-05 14:45:21.856234704  [2024-02-05 14:45:21] watchdog.doorbell_cam          ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 14:45:21.856276698  [2024-02-05 14:45:21] ffmpeg.doorbell_cam.detect     ERROR   : rtsp://*:*@192.168.50.102:554/h264Preview_01_sub: Connection timed out
2024-02-05 14:45:21.856314477  [2024-02-05 14:45:21] ffmpeg.doorbell_cam.detect     ERROR   :     Last message repeated 1 times
2024-02-05 14:45:26.874540392  [2024-02-05 14:45:26] frigate.video                  ERROR   : doorbell_cam: Unable to read frames from ffmpeg process.
2024-02-05 14:45:26.874601357  [2024-02-05 14:45:26] frigate.video                  ERROR   : doorbell_cam: ffmpeg process is not running. exiting capture thread...
2024-02-05 14:45:31.865731106  [2024-02-05 14:45:31] watchdog.doorbell_cam          ERROR   : Ffmpeg process crashed unexpectedly for doorbell_cam.
2024-02-05 14:45:31.865786505  [2024-02-05 14:45:31] watchdog.doorbell_cam          ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 14:45:31.865817675  [2024-02-05 14:45:31] ffmpeg.doorbell_cam.detect     ERROR   : [tcp @ 0x5588076c5e40] Connection to tcp://192.168.50.102:554?timeout=5000000 failed: Connection timed out
2024-02-05 14:45:31.865850469  [2024-02-05 14:45:31] ffmpeg.doorbell_cam.detect     ERROR   : rtsp://*:*@192.168.50.102:554/h264Preview_01_sub: Connection timed out
2024-02-05 14:45:36.881879602  [2024-02-05 14:45:36] frigate.video                  ERROR   : doorbell_cam: Unable to read frames from ffmpeg process.
2024-02-05 14:45:36.881893153  [2024-02-05 14:45:36] frigate.video                  ERROR   : doorbell_cam: ffmpeg process is not running. exiting capture thread...
2024-02-05 14:45:41.873581897  [2024-02-05 14:45:41] watchdog.doorbell_cam          ERROR   : Ffmpeg process crashed unexpectedly for doorbell_cam.
2024-02-05 14:45:41.873646031  [2024-02-05 14:45:41] watchdog.doorbell_cam          ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 14:45:41.873680085  [2024-02-05 14:45:41] ffmpeg.doorbell_cam.detect     ERROR   : [tcp @ 0x558acd9bde40] Connection to tcp://192.168.50.102:554?timeout=5000000 failed: Connection timed out
2024-02-05 14:45:41.873713583  [2024-02-05 14:45:41] ffmpeg.doorbell_cam.detect     ERROR   : rtsp://*:*@192.168.50.102:554/h264Preview_01_sub: Connection timed out
2024-02-05 14:45:46.890524216  [2024-02-05 14:45:46] frigate.video                  ERROR   : doorbell_cam: Unable to read frames from ffmpeg process.
2024-02-05 14:45:46.890567004  [2024-02-05 14:45:46] frigate.video                  ERROR   : doorbell_cam: ffmpeg process is not running. exiting capture thread...
2024-02-05 14:45:51.882065933  [2024-02-05 14:45:51] watchdog.doorbell_cam          ERROR   : Ffmpeg process crashed unexpectedly for doorbell_cam.
2024-02-05 14:45:51.882107303  [2024-02-05 14:45:51] watchdog.doorbell_cam          ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 14:45:51.882389578  [2024-02-05 14:45:51] ffmpeg.doorbell_cam.detect     ERROR   : [tcp @ 0x5562c2236e40] Connection to tcp://192.168.50.102:554?timeout=5000000 failed: Connection timed out
2024-02-05 14:45:51.882392828  [2024-02-05 14:45:51] ffmpeg.doorbell_cam.detect     ERROR   : rtsp://*:*@192.168.50.102:554/h264Preview_01_sub: Connection timed out
2024-02-05 14:46:28.406298578  [2024-02-05 14:46:28] frigate.video                  ERROR   : doorbell_cam: Unable to read frames from ffmpeg process.
2024-02-05 14:46:28.406370554  [2024-02-05 14:46:28] frigate.video                  ERROR   : doorbell_cam: ffmpeg process is not running. exiting capture thread...
2024-02-05 14:46:31.890771968  [2024-02-05 14:46:31] watchdog.doorbell_cam          ERROR   : Ffmpeg process crashed unexpectedly for doorbell_cam.
2024-02-05 14:46:31.890825952  [2024-02-05 14:46:31] watchdog.doorbell_cam          ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 14:46:31.890872676  [2024-02-05 14:46:31] ffmpeg.doorbell_cam.detect     ERROR   : rtsp://*:*@192.168.50.102:554/h264Preview_01_sub: Connection timed out
2024-02-05 14:46:31.890900841  [2024-02-05 14:46:31] ffmpeg.doorbell_cam.detect     ERROR   :     Last message repeated 1 times
2024-02-05 14:46:36.910071212  [2024-02-05 14:46:36] frigate.video                  ERROR   : doorbell_cam: Unable to read frames from ffmpeg process.
2024-02-05 14:46:36.910130998  [2024-02-05 14:46:36] frigate.video                  ERROR   : doorbell_cam: ffmpeg process is not running. exiting capture thread...
2024-02-05 14:46:41.901134616  [2024-02-05 14:46:41] watchdog.doorbell_cam          ERROR   : Ffmpeg process crashed unexpectedly for doorbell_cam.
2024-02-05 14:46:41.901188299  [2024-02-05 14:46:41] watchdog.doorbell_cam          ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 14:46:41.901218766  [2024-02-05 14:46:41] ffmpeg.doorbell_cam.detect     ERROR   : [tcp @ 0x56469d3f3e40] Connection to tcp://192.168.50.102:554?timeout=5000000 failed: Connection timed out
2024-02-05 14:46:41.901250829  [2024-02-05 14:46:41] ffmpeg.doorbell_cam.detect     ERROR   : rtsp://*:*@192.168.50.102:554/h264Preview_01_sub: Connection timed out
2024-02-05 14:46:46.918553216  [2024-02-05 14:46:46] frigate.video                  ERROR   : doorbell_cam: Unable to read frames from ffmpeg process.
2024-02-05 14:46:46.918616256  [2024-02-05 14:46:46] frigate.video                  ERROR   : doorbell_cam: ffmpeg process is not running. exiting capture thread...
2024-02-05 14:46:51.909289871  [2024-02-05 14:46:51] watchdog.doorbell_cam          ERROR   : Ffmpeg process crashed unexpectedly for doorbell_cam.
2024-02-05 14:46:51.909346396  [2024-02-05 14:46:51] watchdog.doorbell_cam          ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 14:46:51.909372237  [2024-02-05 14:46:51] ffmpeg.doorbell_cam.detect     ERROR   : [tcp @ 0x557edfa17e40] Connection to tcp://192.168.50.102:554?timeout=5000000 failed: Connection timed out
2024-02-05 14:46:51.909395899  [2024-02-05 14:46:51] ffmpeg.doorbell_cam.detect     ERROR   : rtsp://*:*@192.168.50.102:554/h264Preview_01_sub: Connection timed out
DastardlyDino commented 9 months ago

Check go2rtc logs and make sure that the doorbell has latest firmware (compare version with online reokink downloader version m)

image

I am running the latest Reolink Firmware for my doorbell.

DastardlyDino commented 9 months ago

Check go2rtc logs and make sure that the doorbell has latest firmware (compare version with online reokink downloader version m)

My Go2rtc LOGS

2024-02-05 14:43:57.267903803 [INFO] Preparing new go2rtc config... 2024-02-05 14:43:57.434357352 [INFO] Starting go2rtc... 2024-02-05 14:43:57.535717252 14:43:57.535 INF go2rtc version 1.8.4 linux/amd64 2024-02-05 14:43:57.536006042 14:43:57.535 INF [rtsp] listen addr=:8554 2024-02-05 14:43:57.536014439 14:43:57.535 INF [api] listen addr=:1984 2024-02-05 14:43:57.536096153 14:43:57.536 INF [webrtc] listen addr=:8555 2024-02-05 14:44:07.260820105 [INFO] Starting go2rtc healthcheck service...

shwarnock commented 9 months ago

2024-02-05 11:23:20.931246162  [INFO] Starting go2rtc...
2024-02-05 11:23:21.050174637  11:23:21.048 INF go2rtc version 1.8.4 linux/amd64
2024-02-05 11:23:21.050177540  11:23:21.048 INF [rtsp] listen addr=:8554
2024-02-05 11:23:21.050181134  11:23:21.048 INF [webrtc] listen addr=:8555
2024-02-05 11:23:21.050182786  11:23:21.049 INF [api] listen addr=:1984
2024-02-05 11:23:30.567459938  [INFO] Starting go2rtc healthcheck service...
2024-02-05 11:35:53.655061207  11:35:53.653 ERR [exec] timeout url="exec:ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -i http://192.168.86.27/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=#####-c copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2024-02-05 11:36:53.654525494  11:36:53.654 ERR [exec] timeout url="exec:ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -i http://192.168.86.27/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=#####-c copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2024-02-05 11:36:53.655957921  11:36:53.655 WRN [rtsp] error="streams: timeout" stream=front_doorbell_camera_sub
2024-02-05 11:36:53.656331798  11:36:53.656 WRN github.com/AlexxIT/go2rtc/internal/rtsp/rtsp.go:225 > error="write tcp 127.0.0.1:8554->127.0.0.1:51082: write: broken pipe"
2024-02-05 11:37:53.656080954  11:37:53.655 ERR [exec] timeout url="exec:ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -i http://192.168.86.27/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=#####-c copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2024-02-05 11:38:53.656683581  11:38:53.656 ERR [exec] timeout url="exec:ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -i http://192.168.86.27/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=#####-c copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2024-02-05 11:38:57.241255342  11:38:57.241 WRN github.com/AlexxIT/go2rtc/internal/rtsp/rtsp.go:225 > error="write tcp 127.0.0.1:8554->127.0.0.1:33006: write: broken pipe"
2024-02-05 11:38:57.241259080  11:38:57.241 WRN github.com/AlexxIT/go2rtc/internal/rtsp/rtsp.go:225 > error="write tcp 127.0.0.1:8554->127.0.0.1:42174: write: broken pipe"
2024-02-05 11:38:57.241260520  11:38:57.241 WRN github.com/AlexxIT/go2rtc/internal/rtsp/rtsp.go:225 > error="write tcp 127.0.0.1:8554->127.0.0.1:55882: write: broken pipe"
2024-02-05 11:38:57.241283195  11:38:57.241 WRN github.com/AlexxIT/go2rtc/internal/rtsp/rtsp.go:225 > error="write tcp 127.0.0.1:8554->127.0.0.1:54322: write: broken pipe"
2024-02-05 11:39:16.022904785  11:39:16.022 ERR [exec] timeout url="exec:ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -i http://192.168.86.27/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=#####-map 0:v:0? -c:v:0 copy -map 0:a:0? -c:a:0 copy -map 0:a:0? -c:a:1 libopus -application:a:1 lowdelay -frame_duration 20 -min_comp 0 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2024-02-05 12:35:16.722178612  12:35:16.721 ERR [exec] timeout url="exec:ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -i http://192.168.86.27/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=#####-c copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2024-02-05 12:35:16.722798106  12:35:16.722 WRN [rtsp] error="streams: exec: exit status 1, timeout" stream=front_doorbell_camera_sub
2024-02-05 12:35:16.722801159  12:35:16.722 WRN github.com/AlexxIT/go2rtc/internal/rtsp/rtsp.go:225 > error="write tcp 127.0.0.1:8554->127.0.0.1:33536: write: broken pipe"
2024-02-05 12:36:16.726241514  12:36:16.726 ERR [exec] timeout url="exec:ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -i http://192.168.86.27/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=#####-c copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2024-02-05 12:37:16.727900132  12:37:16.727 ERR [exec] timeout url="exec:ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -i http://192.168.86.27/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=#####-c copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2024-02-05 12:37:56.851099252  12:37:56.850 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 127.0.0.1:8554->127.0.0.1:36230: i/o timeout" url=ffmpeg:http://192.168.86.27/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=######video=copy#audio=copy#audio=opus
2024-02-05 12:38:16.729250053  12:38:16.729 ERR [exec] timeout url="exec:ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -i http://192.168.86.27/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=#####-c copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2024-02-05 12:38:20.529001912  12:38:20.528 WRN github.com/AlexxIT/go2rtc/internal/rtsp/rtsp.go:225 > error="write tcp 127.0.0.1:8554->127.0.0.1:35450: write: broken pipe"
2024-02-05 12:38:27.438043007  12:38:27.437 WRN github.com/AlexxIT/go2rtc/internal/rtsp/rtsp.go:225 > error="write tcp 127.0.0.1:8554->127.0.0.1:46994: write: broken pipe"
2024-02-05 12:38:27.438046812  12:38:27.437 WRN [rtsp] error="streams: unknown error" stream=front_doorbell_camera_sub
2024-02-05 12:38:27.438048291  12:38:27.437 WRN github.com/AlexxIT/go2rtc/internal/rtsp/rtsp.go:225 > error="write tcp 127.0.0.1:8554->127.0.0.1:55550: write: broken pipe"
2024-02-05 12:38:27.438049250  12:38:27.437 INF [streams] can't get track error="get track from none state"
2024-02-05 12:38:27.438050393  12:38:27.437 WRN [rtsp] error="streams: codecs not matched: H264, AAC => H264, H265, AAC" stream=front_doorbell_camera_sub
2024-02-05 12:38:27.438051447  12:38:27.437 WRN github.com/AlexxIT/go2rtc/internal/rtsp/rtsp.go:225 > error="write tcp 127.0.0.1:8554->127.0.0.1:57932: write: broken pipe"
2024-02-05 12:38:27.438090310  12:38:27.437 INF [streams] can't get track error="get track from none state"
2024-02-05 12:38:31.397090911  12:38:31.396 WRN github.com/AlexxIT/go2rtc/internal/rtsp/rtsp.go:225 > error="write tcp 127.0.0.1:8554->127.0.0.1:53558: write: broken pipe"
2024-02-05 12:38:31.397141328  12:38:31.397 INF [streams] can't get track error="get track from none state"
2024-02-05 12:38:37.297359761  12:38:37.296 INF [streams] can't get track error="wrong response on SETUP"
2024-02-05 12:38:37.297363821  12:38:37.296 INF [streams] can't get track error="malformed response: $\x03\x00\x1c��\x00\x06��\x0e-�k��K�\x1e�F�O�\x00\x00\x00\x00\x00\x00\x00\x00$\x02\x04\x12��\f\"F�I/��\x0e-\x00 \x10\x00\x10\x00\x01\x145�Uf2\x11��\x10�ƒ���W2$\x15"
2024-02-05 12:38:37.297365185  12:38:37.296 WRN [rtsp] error="streams: codecs not matched: H264, AAC => H264, H265, AAC" stream=front_doorbell_camera_sub
2024-02-05 12:38:37.297366430  12:38:37.296 WRN github.com/AlexxIT/go2rtc/internal/rtsp/rtsp.go:225 > error="write tcp 127.0.0.1:8554->127.0.0.1:35106: write: broken pipe"```

This is my Go2rtc log
NickM-27 commented 9 months ago

@DastardlyDino you're not using the recommended config. You should be using the restream in the cameras section

NickM-27 commented 9 months ago

@shwarnock check firmware version, you're getting timeouts for some reason

shwarnock commented 9 months ago

It looks like I am on the latest firmware

shwarnock commented 9 months ago

Would it be helpful to try to factory restore the camera and redo its setup?

DastardlyDino commented 9 months ago

@DastardlyDino you're not using the recommended config. You should be using the restream in the cameras section

Updated config. Not sure how to figure out channel ID so I just left it as is. Official Reolink website doesn't have this #video=copy#audio=copy#audio=opus at the end of the main stream link but I left it anyway per Frigate setup. Still getting the same issues in the logs

mqtt:
  host: ###.###.##.#    # <---- same mqtt broker that home assistant uses
  port: 1883
  user: mqtt-user
  password: **********

detectors:
    cpu1:
      type: cpu
    cpu2:
      type: cpu

go2rtc:
  streams:
    doorbell_cam:
      - "ffmpeg:http://###.###.##.###/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=**********#video=copy#audio=copy#audio=opus"
      - rtsp://reolink_ip/Preview_01_sub
    doorbell_cam_sub:
      - "ffmpeg:http://###.###.##.###/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=**********"

cameras:
  doorbell_cam:
    ffmpeg:
      inputs:
        - path: rtsp://admin:**********@###.###.##.###:554/h264Preview_01_main
          input_args: preset-rtsp-restream
          roles:
            - record
        - path: rtsp://admin:**********@###.###.##.###:554/h264Preview_01_sub
          input_args: preset-rtsp-restream
          roles:
            - detect
DastardlyDino commented 9 months ago

UPDATE: Decided to try running Frigate inside my VM running Home Assistant OS (on my Unraid server). That frigate install with the EXACT same config code runs both smoother and without the FFMPEG issue that I was getting with my Frigate Docker container on the same server. Not sure what the differences are between the installs.

shwarnock commented 9 months ago

I did a factory restore of my doorbell camera. I have had my frigate instance running for about 30 mins now with no errors popping up. I will wait a few hours, but if no errors popup, then updating the config to the suggested reolink config as well as factory resetting the doorbell camera seems to have fixed my issues.

NickM-27 commented 9 months ago

@DastardlyDino your config is still not what is recommended. You are connecting to the reolink cameras twice

shwarnock commented 9 months ago

Yea I am still having problems. Now it is the driveway camera throwing errors:

Log


2024-02-05 15:25:58.536985881  [INFO] Starting Frigate...
2024-02-05 15:26:00.036888410  [2024-02-05 15:26:00] frigate.app                    INFO    : Starting Frigate (0.13.1-34fb1c2)
2024-02-05 15:26:00.052637491  [2024-02-05 15:26:00] frigate.config                 WARNING : backyard_camera: Recording retention is configured for active_objects and event retention is configured for motion. The more restrictive retention policy will be applied.
2024-02-05 15:26:00.054272601  [2024-02-05 15:26:00] frigate.config                 WARNING : driveway_camera: Recording retention is configured for active_objects and event retention is configured for motion. The more restrictive retention policy will be applied.
2024-02-05 15:26:00.055361862  [2024-02-05 15:26:00] frigate.config                 WARNING : entryway_camera: Recording retention is configured for active_objects and event retention is configured for motion. The more restrictive retention policy will be applied.
2024-02-05 15:26:00.057710061  [2024-02-05 15:26:00] frigate.config                 WARNING : front_doorbell_camera: Recording retention is configured for active_objects and event retention is configured for motion. The more restrictive retention policy will be applied.
2024-02-05 15:26:00.060710890  [2024-02-05 15:26:00] frigate.config                 WARNING : living_room_camera: Recording retention is configured for active_objects and event retention is configured for motion. The more restrictive retention policy will be applied.
2024-02-05 15:26:00.091193951  [2024-02-05 15:26:00] peewee_migrate.logs            INFO    : Starting migrations
2024-02-05 15:26:00.095306108  [2024-02-05 15:26:00] peewee_migrate.logs            INFO    : There is nothing to migrate
2024-02-05 15:26:00.099568529  [2024-02-05 15:26:00] frigate.app                    INFO    : Recording process started: 291
2024-02-05 15:26:00.101610590  [2024-02-05 15:26:00] frigate.app                    INFO    : go2rtc process pid: 88
2024-02-05 15:26:00.127348626  [2024-02-05 15:26:00] frigate.app                    INFO    : Output process started: 302
2024-02-05 15:26:00.197996140  [2024-02-05 15:26:00] frigate.app                    INFO    : Camera processor started for backyard_camera: 314
2024-02-05 15:26:00.203029436  [2024-02-05 15:26:00] frigate.app                    INFO    : Camera processor started for driveway_camera: 315
2024-02-05 15:26:00.215995844  [2024-02-05 15:26:00] frigate.app                    INFO    : Camera processor started for entryway_camera: 316
2024-02-05 15:26:00.225655477  [2024-02-05 15:26:00] frigate.app                    INFO    : Camera processor started for front_doorbell_camera: 319
2024-02-05 15:26:00.233779908  [2024-02-05 15:26:00] frigate.app                    INFO    : Camera processor started for living_room_camera: 322
2024-02-05 15:26:00.242565397  [2024-02-05 15:26:00] frigate.app                    INFO    : Capture process started for backyard_camera: 324
2024-02-05 15:26:00.252915927  [2024-02-05 15:26:00] frigate.app                    INFO    : Capture process started for driveway_camera: 326
2024-02-05 15:26:00.263310748  [2024-02-05 15:26:00] frigate.app                    INFO    : Capture process started for entryway_camera: 331
2024-02-05 15:26:00.272728694  [2024-02-05 15:26:00] frigate.app                    INFO    : Capture process started for front_doorbell_camera: 339
2024-02-05 15:26:00.277828534  [2024-02-05 15:26:00] frigate.app                    INFO    : Capture process started for living_room_camera: 344
2024-02-05 15:26:03.037082137  [2024-02-05 15:26:00] detector.coral                 INFO    : Starting detection process: 301
2024-02-05 15:26:03.037085934  [2024-02-05 15:26:00] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as usb
2024-02-05 15:26:03.044528783  [2024-02-05 15:26:03] frigate.detectors.plugins.edgetpu_tfl INFO    : TPU found
2024-02-05 15:26:29.451081642  [2024-02-05 15:26:29] frigate.comms.dispatcher       INFO    : Turning off detection for backyard_camera
2024-02-05 15:26:29.726246565  [2024-02-05 15:26:29] frigate.comms.dispatcher       INFO    : Turning off recordings for backyard_camera
2024-02-05 15:26:30.691679762  [2024-02-05 15:26:30] frigate.comms.dispatcher       INFO    : Turning off detection for entryway_camera
2024-02-05 15:26:31.068730197  [2024-02-05 15:26:31] frigate.comms.dispatcher       INFO    : Turning off recordings for entryway_camera
2024-02-05 15:26:32.218789756  [2024-02-05 15:26:32] frigate.comms.dispatcher       INFO    : Turning off detection for living_room_camera
2024-02-05 15:26:32.478182183  [2024-02-05 15:26:32] frigate.comms.dispatcher       INFO    : Turning off recordings for living_room_camera
2024-02-05 17:08:30.401656610  [2024-02-05 17:08:30] frigate.record.maintainer      WARNING : Discarding a corrupt recording segment: /tmp/cache/front_doorbell_camera@20240205170755-0600.mp4
2024-02-05 17:52:30.788283031  [2024-02-05 17:52:30] watchdog.entryway_camera       INFO    : entryway_camera exceeded fps limit. Exiting ffmpeg...
2024-02-05 17:52:30.800395442  [2024-02-05 17:52:30] watchdog.entryway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 17:52:30.889903394  [2024-02-05 17:52:30] frigate.video                  ERROR   : entryway_camera: Unable to read frames from ffmpeg process.
2024-02-05 17:52:30.890700028  [2024-02-05 17:52:30] frigate.video                  ERROR   : entryway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 17:52:40.900390145  [2024-02-05 17:52:40] watchdog.entryway_camera       ERROR   : Ffmpeg process crashed unexpectedly for entryway_camera.
2024-02-05 17:52:40.900593099  [2024-02-05 17:52:40] watchdog.entryway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 17:52:40.900596029  [2024-02-05 17:52:40] ffmpeg.entryway_camera.detect  ERROR   : [rtsp @ 0x55ed49ca3040] method SETUP failed: 461 Unsupported transport
2024-02-05 17:52:40.900817561  [2024-02-05 17:52:40] ffmpeg.entryway_camera.detect  ERROR   : [h264 @ 0x55ed49dded00] Increasing reorder buffer to 4
2024-02-05 18:28:30.775219012  [2024-02-05 18:28:30] watchdog.driveway_camera       INFO    : No frames received from driveway_camera in 20 seconds. Exiting ffmpeg...
2024-02-05 18:28:30.777086608  [2024-02-05 18:28:30] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 18:28:34.697235687  [2024-02-05 18:28:34] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 18:28:34.698359188  [2024-02-05 18:28:34] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 18:28:44.713901799  [2024-02-05 18:28:44] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 18:28:44.714465265  [2024-02-05 18:28:44] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 18:28:44.714468286  [2024-02-05 18:28:44] ffmpeg.driveway_camera.detect  ERROR   : [rtsp @ 0x55b26c866040] method SETUP failed: 461 Unsupported transport
2024-02-05 18:28:44.714469746  [2024-02-05 18:28:44] ffmpeg.driveway_camera.detect  ERROR   : [rtsp @ 0x55b26c866040] RTP: PT=60: bad cseq 096e expected=d126
2024-02-05 18:28:44.714473544  [2024-02-05 18:28:44] ffmpeg.driveway_camera.detect  ERROR   : [rtsp @ 0x55b26c866040] RTP: PT=61: bad cseq 05cc expected=9aea
2024-02-05 18:29:44.734115066  [2024-02-05 18:29:44] watchdog.driveway_camera       INFO    : No frames received from driveway_camera in 20 seconds. Exiting ffmpeg...
2024-02-05 18:29:44.734255432  [2024-02-05 18:29:44] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 18:29:46.354211204  [2024-02-05 18:29:46] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 18:29:46.358181362  [2024-02-05 18:29:46] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 18:29:46.358184990  [2024-02-05 18:29:46] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 18:29:46.358186524  [2024-02-05 18:29:46] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 18:29:46.358187858  [2024-02-05 18:29:46] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 18:29:46.358189077  [2024-02-05 18:29:46] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 18:29:46.358190959  [2024-02-05 18:29:46] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 18:29:46.358222514  [2024-02-05 18:29:46] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 18:29:46.358224219  [2024-02-05 18:29:46] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 18:29:46.358238175  [2024-02-05 18:29:46] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 18:29:46.358239608  [2024-02-05 18:29:46] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 18:29:46.358240860  [2024-02-05 18:29:46] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 18:29:46.385759645  [2024-02-05 18:29:46] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 18:29:46.385763092  [2024-02-05 18:29:46] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 18:29:56.386724910  [2024-02-05 18:29:56] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 18:29:56.386729770  [2024-02-05 18:29:56] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 18:29:56.390649400  [2024-02-05 18:29:56] ffmpeg.driveway_camera.detect  ERROR   : [rtsp @ 0x56116b195040] method SETUP failed: 461 Unsupported transport
2024-02-05 18:29:56.400518138  [2024-02-05 18:29:56] watchdog.driveway_camera       ERROR   : No new recording segments were created for driveway_camera in the last 120s. restarting the ffmpeg record process...
2024-02-05 18:29:56.400521627  [2024-02-05 18:29:56] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 18:29:56.400523000  [2024-02-05 18:29:56] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 18:30:07.494350861  [2024-02-05 18:30:07] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 18:30:07.494619933  [2024-02-05 18:30:07] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 18:30:12.750279886  [2024-02-05 18:30:12] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 18:30:12.750283610  [2024-02-05 18:30:12] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 18:30:12.750285036  [2024-02-05 18:30:12] ffmpeg.driveway_camera.detect  ERROR   : [rtsp @ 0x562e7b38e040] method SETUP failed: 461 Unsupported transport
2024-02-05 18:30:12.756018015  [2024-02-05 18:30:12] ffmpeg.driveway_camera.detect  ERROR   : Codec AVOption hwaccel_flags () specified for input file #0 (rtsp://127.0.0.1:8554/driveway_camera_sub) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some decoder which was not actually used for any stream.
2024-02-05 18:30:12.756021843  [2024-02-05 18:30:12] ffmpeg.driveway_camera.detect  ERROR   : Output file #0 does not contain any stream
2024-02-05 18:31:22.760559156  [2024-02-05 18:31:22] watchdog.driveway_camera       INFO    : No frames received from driveway_camera in 20 seconds. Exiting ffmpeg...
2024-02-05 18:31:22.760564343  [2024-02-05 18:31:22] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 18:31:47.968997681  [2024-02-05 18:31:47] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 18:31:47.969462539  [2024-02-05 18:31:47] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 18:31:47.976274124  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357831970, next:10975913000 invalid dropping st:1
2024-02-05 18:31:47.976279081  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357832994, next:10975977000 st:1 invalid dropping
2024-02-05 18:31:47.976280724  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357832994, next:10975977000 invalid dropping st:1
2024-02-05 18:31:47.976282187  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357834018, next:10976041000 st:1 invalid dropping
2024-02-05 18:31:47.976283558  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357834018, next:10976041000 invalid dropping st:1
2024-02-05 18:31:47.976284865  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357835042, next:10976105000 st:1 invalid dropping
2024-02-05 18:31:47.976286091  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357835042, next:10976105000 invalid dropping st:1
2024-02-05 18:31:47.976287351  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357836066, next:10976169000 st:1 invalid dropping
2024-02-05 18:31:47.976288615  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357836066, next:10976169000 invalid dropping st:1
2024-02-05 18:31:47.980100950  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791884, current: 61716383; changing to 111791885. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980104669  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791885, current: 61716721; changing to 111791886. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980106501  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791886, current: 61717407; changing to 111791887. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980108168  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791887, current: 61717745; changing to 111791888. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980109787  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791888, current: 61718431; changing to 111791889. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980111433  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791889, current: 61718769; changing to 111791890. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980112988  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791890, current: 61719455; changing to 111791891. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980155186  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791891, current: 61719793; changing to 111791892. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980156933  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357837090, next:10976233000 st:1 invalid dropping
2024-02-05 18:31:47.980158012  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357837090, next:10976233000 invalid dropping st:1
2024-02-05 18:31:47.980182181  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357838114, next:10976297000 st:1 invalid dropping
2024-02-05 18:31:47.980183600  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357838114, next:10976297000 invalid dropping st:1
2024-02-05 18:31:47.980184631  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357839138, next:10976361000 st:1 invalid dropping
2024-02-05 18:31:47.980203770  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357839138, next:10976361000 invalid dropping st:1
2024-02-05 18:31:47.980205087  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357840162, next:10976425000 st:1 invalid dropping
2024-02-05 18:31:47.980206207  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357840162, next:10976425000 invalid dropping st:1
2024-02-05 18:31:47.980207347  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357841186, next:10976489000 st:1 invalid dropping
2024-02-05 18:31:47.980208379  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357841186, next:10976489000 invalid dropping st:1
2024-02-05 18:31:47.980218027  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791892, current: 61720479; changing to 111791893. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980240434  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791893, current: 61720817; changing to 111791894. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980242272  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791894, current: 61721503; changing to 111791895. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980244022  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791895, current: 61721841; changing to 111791896. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980245541  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791896, current: 61722527; changing to 111791897. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980247077  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791897, current: 61722865; changing to 111791898. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980291723  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791898, current: 61723551; changing to 111791899. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980293302  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357842210, next:10976553000 st:1 invalid dropping
2024-02-05 18:31:47.980294460  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357842210, next:10976553000 invalid dropping st:1
2024-02-05 18:31:47.980295596  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357843234, next:10976617000 st:1 invalid dropping
2024-02-05 18:31:47.980296858  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357843234, next:10976617000 invalid dropping st:1
2024-02-05 18:31:47.980298018  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357844258, next:10976681000 st:1 invalid dropping
2024-02-05 18:31:47.980299109  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357844258, next:10976681000 invalid dropping st:1
2024-02-05 18:31:47.980300189  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357845282, next:10976745000 st:1 invalid dropping
2024-02-05 18:31:47.980301316  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357845282, next:10976745000 invalid dropping st:1
2024-02-05 18:31:47.980302405  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357846306, next:10976809000 st:1 invalid dropping
2024-02-05 18:31:47.980303562  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357846306, next:10976809000 invalid dropping st:1
2024-02-05 18:31:47.980305205  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791899, current: 61723889; changing to 111791900. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980306820  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791900, current: 61724575; changing to 111791901. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980308430  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791901, current: 61724913; changing to 111791902. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980333518  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791902, current: 61725610; changing to 111791903. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980335232  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791903, current: 61725937; changing to 111791904. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980336785  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791904, current: 61726623; changing to 111791905. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980338283  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791905, current: 61726961; changing to 111791906. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980355195  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357847330, next:10976873000 st:1 invalid dropping
2024-02-05 18:31:47.980356458  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357847330, next:10976873000 invalid dropping st:1
2024-02-05 18:31:47.980382365  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357848354, next:10976937000 st:1 invalid dropping
2024-02-05 18:31:47.980383669  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357848354, next:10976937000 invalid dropping st:1
2024-02-05 18:31:47.980384700  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357849378, next:10977001000 st:1 invalid dropping
2024-02-05 18:31:47.980385753  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357849378, next:10977001000 invalid dropping st:1
2024-02-05 18:31:47.980386786  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357850402, next:10977065000 st:1 invalid dropping
2024-02-05 18:31:47.980387789  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357850402, next:10977065000 invalid dropping st:1
2024-02-05 18:31:47.980388807  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357851426, next:10977129000 st:1 invalid dropping
2024-02-05 18:31:47.980389830  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357851426, next:10977129000 invalid dropping st:1
2024-02-05 18:31:47.980391435  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791906, current: 61727647; changing to 111791907. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980392940  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791907, current: 61727985; changing to 111791908. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980394468  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791908, current: 61728671; changing to 111791909. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980396037  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791909, current: 61729009; changing to 111791910. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980397552  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791910, current: 61729695; changing to 111791911. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980398596  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357852450, next:10977193000 st:1 invalid dropping
2024-02-05 18:31:47.980399581  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357852450, next:10977193000 invalid dropping st:1
2024-02-05 18:31:47.980400599  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357853474, next:10977257000 st:1 invalid dropping
2024-02-05 18:31:47.980401610  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357853474, next:10977257000 invalid dropping st:1
2024-02-05 18:31:47.980402619  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357854498, next:10977321000 st:1 invalid dropping
2024-02-05 18:31:47.980403639  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357854498, next:10977321000 invalid dropping st:1
2024-02-05 18:31:47.980404659  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357855522, next:10977385000 st:1 invalid dropping
2024-02-05 18:31:47.980405654  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357855522, next:10977385000 invalid dropping st:1
2024-02-05 18:31:47.980406669  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357856546, next:10977449000 st:1 invalid dropping
2024-02-05 18:31:47.980407666  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357856546, next:10977449000 invalid dropping st:1
2024-02-05 18:31:47.980409179  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791911, current: 61730033; changing to 111791912. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980410698  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791912, current: 61730719; changing to 111791913. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980412242  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791913, current: 61731057; changing to 111791914. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980413739  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791914, current: 61731743; changing to 111791915. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980415242  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791915, current: 61732081; changing to 111791916. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980416816  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791916, current: 61732767; changing to 111791917. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980417836  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357857570, next:10977513000 st:1 invalid dropping
2024-02-05 18:31:47.980418864  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357857570, next:10977513000 invalid dropping st:1
2024-02-05 18:31:47.980419873  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357858594, next:10977577000 st:1 invalid dropping
2024-02-05 18:31:47.980420927  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357858594, next:10977577000 invalid dropping st:1
2024-02-05 18:31:47.980421953  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357859618, next:10977641000 st:1 invalid dropping
2024-02-05 18:31:47.980422938  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357859618, next:10977641000 invalid dropping st:1
2024-02-05 18:31:47.980423980  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357860642, next:10977705000 st:1 invalid dropping
2024-02-05 18:31:47.980424995  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357860642, next:10977705000 invalid dropping st:1
2024-02-05 18:31:47.980425990  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : DTS 3357861666, next:10977769000 st:1 invalid dropping
2024-02-05 18:31:47.980426985  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : PTS 3357861666, next:10977769000 invalid dropping st:1
2024-02-05 18:31:47.980428537  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791917, current: 61733105; changing to 111791918. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980430097  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791918, current: 61733791; changing to 111791919. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980431670  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791919, current: 61734129; changing to 111791920. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980560212  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791920, current: 61734815; changing to 111791921. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980652408  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791921, current: 61735153; changing to 111791922. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980716520  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791922, current: 61735839; changing to 111791923. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.980779240  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [segment @ 0x560db8d679c0] Non-monotonous DTS in output stream 0:0; previous: 111791923, current: 61736177; changing to 111791924. This may result in incorrect timestamps in the output file.
2024-02-05 18:31:47.981425292  [2024-02-05 18:31:47] ffmpeg.driveway_camera.record  ERROR   : [rtsp @ 0x55a0f55df140] method SETUP failed: 461 Unsupported transport
2024-02-05 18:31:47.981509040  [2024-02-05 18:31:47] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 18:31:47.981694002  [2024-02-05 18:31:47] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 18:31:57.996990632  [2024-02-05 18:31:57] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 18:31:58.001538214  [2024-02-05 18:31:57] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 18:31:58.001541841  [2024-02-05 18:31:57] ffmpeg.driveway_camera.detect  ERROR   : [rtsp @ 0x557d891f3040] method SETUP failed: 461 Unsupported transport
2024-02-05 18:32:08.006107212  [2024-02-05 18:32:08] ffmpeg.driveway_camera.record  ERROR   : [rtsp @ 0x5560b9377140] method DESCRIBE failed: 404 Not Found
2024-02-05 18:32:08.006610729  [2024-02-05 18:32:08] ffmpeg.driveway_camera.record  ERROR   : rtsp://127.0.0.1:8554/driveway_camera: Server returned 404 Not Found
2024-02-05 18:32:08.006613563  [2024-02-05 18:32:08] watchdog.driveway_camera       INFO    : Terminating the existing ffmpeg process...
2024-02-05 18:32:08.006614799  [2024-02-05 18:32:08] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 18:33:08.017690121  [2024-02-05 18:33:08] watchdog.driveway_camera       INFO    : driveway_camera exceeded fps limit. Exiting ffmpeg...
2024-02-05 18:33:08.017694868  [2024-02-05 18:33:08] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 18:33:08.048644022  [2024-02-05 18:33:08] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 18:33:08.049712546  [2024-02-05 18:33:08] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 18:33:08.049716996  [2024-02-05 18:33:08] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 18:33:18.056959113  [2024-02-05 18:33:18] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 18:33:18.056962600  [2024-02-05 18:33:18] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 18:33:18.056964059  [2024-02-05 18:33:18] ffmpeg.driveway_camera.detect  ERROR   : [rtsp @ 0x56166458d040] method SETUP failed: 461 Unsupported transport
2024-02-05 18:33:18.056965293  [2024-02-05 18:33:18] ffmpeg.driveway_camera.detect  ERROR   : [rtsp @ 0x56166458d040] RTP: PT=61: bad cseq 01fb expected=05d2
2024-02-05 18:33:58.066439731  [2024-02-05 18:33:58] watchdog.driveway_camera       INFO    : driveway_camera exceeded fps limit. Exiting ffmpeg...
2024-02-05 18:33:58.066967675  [2024-02-05 18:33:58] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-05 18:34:00.039109341  [2024-02-05 18:34:00] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 18:34:00.039982335  [2024-02-05 18:34:00] frigate.video                  ERROR   : driveway_camera: Unable to read frames from ffmpeg process.
2024-02-05 18:34:00.039985786  [2024-02-05 18:34:00] frigate.video                  ERROR   : driveway_camera: ffmpeg process is not running. exiting capture thread...
2024-02-05 18:34:10.045616624  [2024-02-05 18:34:10] watchdog.driveway_camera       ERROR   : Ffmpeg process crashed unexpectedly for driveway_camera.
2024-02-05 18:34:10.045620237  [2024-02-05 18:34:10] watchdog.driveway_camera       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-05 18:34:10.045621645  [2024-02-05 18:34:10] ffmpeg.driveway_camera.detect  ERROR   : [rtsp @ 0x55d5de11d040] method SETUP failed: 461 Unsupported transport
2024-02-05 18:34:45.600352192  [2024-02-05 18:34:45] frigate.record.maintainer      WARNING : Discarding a corrupt recording segment: /tmp/cache/driveway_camera@20240205183417-0600.mp4
2024-02-05 18:35:10.052702217  [2024-02-05 18:35:10] watchdog.driveway_camera       INFO    : No frames received from driveway_camera in 20 seconds. Exiting ffmpeg...
2024-02-05 18:35:10.052706309  [2024-02-05 18:35:10] watchdog.driveway_camera       INFO    : Waiting for ffmpeg to exit gracefully...```

go2rtc logs:
```2024-02-05 15:25:58.493751401  [INFO] Preparing new go2rtc config...
2024-02-05 15:25:58.921886426  [INFO] Starting go2rtc...
2024-02-05 15:25:59.045564706  15:25:59.045 INF go2rtc version 1.8.4 linux/amd64
2024-02-05 15:25:59.046872925  15:25:59.046 INF [api] listen addr=:1984
2024-02-05 15:25:59.047007040  15:25:59.046 INF [rtsp] listen addr=:8554
2024-02-05 15:25:59.047219192  15:25:59.047 INF [webrtc] listen addr=:8555
2024-02-05 15:26:08.497345572  [INFO] Starting go2rtc healthcheck service...
2024-02-05 17:08:13.957187076  17:08:13.948 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 127.0.0.1:8554->127.0.0.1:60104: i/o timeout" url=ffmpeg:http://192.168.86.27/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=######video=copy#audio=copy#audio=opus
2024-02-05 17:52:16.488784642  17:52:16.488 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.22.0.2:47606->192.168.86.24:554: i/o timeout" url=rtsp://admin:#####@192.168.86.24:554/h264Preview_01_main
2024-02-05 17:52:16.798404973  17:52:16.798 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.22.0.2:47592->192.168.86.24:554: i/o timeout" url=rtsp://admin:#####@192.168.86.24:554/h264Preview_01_sub
2024-02-05 18:28:16.742426318  18:28:16.742 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 127.0.0.1:8554->127.0.0.1:60124: i/o timeout" url=ffmpeg:http://192.168.86.40/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=######
2024-02-05 18:28:17.848403805  18:28:17.848 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 127.0.0.1:8554->127.0.0.1:60082: i/o timeout" url=ffmpeg:http://192.168.86.40/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=######video=copy#audio=copy#audio=opus
2024-02-05 18:29:32.342757274  18:29:32.339 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 127.0.0.1:8554->127.0.0.1:51628: i/o timeout" url=ffmpeg:http://192.168.86.40/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=#####
2024-02-05 18:31:12.157580941  18:31:12.157 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 127.0.0.1:8554->127.0.0.1:47904: i/o timeout" url=ffmpeg:http://192.168.86.40/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=######video=copy#audio=copy#audio=opus
2024-02-05 18:31:12.164839429  18:31:12.164 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 127.0.0.1:8554->127.0.0.1:60770: i/o timeout" url=ffmpeg:http://192.168.86.40/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=#####
2024-02-05 18:31:58.034357543  18:31:58.034 WRN [rtsp] error="streams: exec: exit status 1" stream=driveway_camera
2024-02-05 18:32:57.954879945  18:32:57.954 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 127.0.0.1:8554->127.0.0.1:37714: i/o timeout" url=ffmpeg:http://192.168.86.40/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=#####
2024-02-05 18:33:51.065408912  18:33:51.065 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 127.0.0.1:8554->127.0.0.1:37726: i/o timeout" url=ffmpeg:http://192.168.86.40/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=#####video=copy#audio=copy#audio=opus
2024-02-05 18:34:09.457760988  18:34:09.457 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 127.0.0.1:8554->127.0.0.1:37552: i/o timeout" url=ffmpeg:http://192.168.86.40/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=######video=copy#audio=copy#audio=opus
2024-02-05 18:35:00.527130276  18:35:00.526 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 127.0.0.1:8554->127.0.0.1:35482: i/o timeout" url=ffmpeg:http://192.168.86.40/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=#####
2024-02-05 18:35:00.901669946  18:35:00.901 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 127.0.0.1:8554->127.0.0.1:35498: i/o timeout" url=ffmpeg:http://192.168.86.40/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=#####&password=######video=copy#audio=copy#audio=opus```
shwarnock commented 9 months ago

I think it is triggering when recording starts. That is why it was looking healthy for so long

shwarnock commented 9 months ago

Some more information. It looks like the stream bandwidth for the Driveway Camera is at 4.17 GiB/hr. This is almost double the next highest camera's bandwidth

Supreme-Bob commented 9 months ago

I too am having this issue, all 4 cams through the nvr are doing it (mine are hard wired not wireless). I'm using the recommended config (i think). Mine have some recordings captures so it doesn't seem to be that. I'm getting different/less errors to you, looks like ffmpeg crashing randomly and often, then watchdog kills it or starts and and its good again for a few minutes. It manages to do it pretty fast so the cams are up more than their down. config snippet

go2rtc:
  streams:
    Downstairs: 
      - "ffmpeg:http://192.168.173.20/flv?port=1935&app=bcs&stream=channel2_main.bcs&user=THEUSER&password=THEPASSWORD"
      - "ffmpeg:Downstairs#audio=opus"
    Downstairs_sub: 
      - "ffmpeg:http://192.168.173.20/flv?port=1935&app=bcs&stream=channel2_ext.bcs&user=THEUSER&password=THEPASSWORD"

cameras:
  Downstairs:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/Downstairs?video=copy&audio=aac
          input_args: preset-rtsp-restream
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/Downstairs_sub?video=copy
          input_args: preset-rtsp-restream
          roles:
            - detect

log

2024-02-06 21:05:44.534236288  [INFO] Starting Frigate...
2024-02-06 21:05:46.336661266  [2024-02-07 07:05:46] frigate.app                    INFO    : Starting Frigate (0.13.1-34fb1c2)
2024-02-06 21:05:46.336723375  [2024-02-07 07:05:46] frigate.app                    INFO    : Creating directory: /tmp/cache
2024-02-06 21:06:01.468793571  [2024-02-07 07:06:01] peewee_migrate.logs            INFO    : Starting migrations
2024-02-06 21:06:01.473064348  [2024-02-07 07:06:01] peewee_migrate.logs            INFO    : There is nothing to migrate
2024-02-06 21:06:01.475596618  [2024-02-07 07:06:01] frigate.app                    INFO    : Recording process started: 495
2024-02-06 21:06:01.476817707  [2024-02-07 07:06:01] frigate.app                    INFO    : go2rtc process pid: 89
2024-02-06 21:06:01.491418372  [2024-02-07 07:06:01] detector.coral                 INFO    : Starting detection process: 505
2024-02-06 21:06:01.492502222  [2024-02-07 07:06:01] frigate.app                    INFO    : Output process started: 507
2024-02-06 21:06:01.801185979  [2024-02-07 07:06:01] frigate.app                    INFO    : Camera processor started for Downstairs: 530
2024-02-06 21:06:01.801250537  [2024-02-07 07:06:01] frigate.app                    INFO    : Camera processor started for Living: 531
2024-02-06 21:06:01.801278808  [2024-02-07 07:06:01] frigate.app                    INFO    : Camera processor started for Front: 532
2024-02-06 21:06:01.803956339  [2024-02-07 07:06:01] frigate.app                    INFO    : Camera processor started for Back_PTZ: 535
2024-02-06 21:06:01.806472532  [2024-02-07 07:06:01] frigate.app                    INFO    : Capture process started for Downstairs: 537
2024-02-06 21:06:01.809188181  [2024-02-07 07:06:01] frigate.app                    INFO    : Capture process started for Living: 541
2024-02-06 21:06:01.811807610  [2024-02-07 07:06:01] frigate.app                    INFO    : Capture process started for Front: 545
2024-02-06 21:06:01.814950336  [2024-02-07 07:06:01] frigate.app                    INFO    : Capture process started for Back_PTZ: 550
2024-02-06 21:06:04.112732715  [2024-02-07 07:06:01] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as usb
2024-02-06 21:06:04.123971089  [2024-02-07 07:06:04] frigate.detectors.plugins.edgetpu_tfl INFO    : TPU found
2024-02-06 21:07:11.836466535  [2024-02-07 07:07:11] watchdog.Downstairs            INFO    : No frames received from Downstairs in 20 seconds. Exiting ffmpeg...
2024-02-06 21:07:11.836747886  [2024-02-07 07:07:11] watchdog.Downstairs            INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-06 21:07:11.838914797  [2024-02-07 07:07:11] watchdog.Living                INFO    : No frames received from Living in 20 seconds. Exiting ffmpeg...
2024-02-06 21:07:11.839071532  [2024-02-07 07:07:11] watchdog.Living                INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-06 21:07:11.842427434  [2024-02-07 07:07:11] watchdog.Front                 INFO    : No frames received from Front in 20 seconds. Exiting ffmpeg...
2024-02-06 21:07:11.842638202  [2024-02-07 07:07:11] watchdog.Front                 INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-06 21:07:11.844323824  [2024-02-07 07:07:11] watchdog.Back_PTZ              INFO    : No frames received from Back_PTZ in 20 seconds. Exiting ffmpeg...
2024-02-06 21:07:11.844412062  [2024-02-07 07:07:11] watchdog.Back_PTZ              INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-06 21:07:11.864482687  [2024-02-07 07:07:11] frigate.video                  ERROR   : Front: Unable to read frames from ffmpeg process.
2024-02-06 21:07:11.864525952  [2024-02-07 07:07:11] frigate.video                  ERROR   : Front: ffmpeg process is not running. exiting capture thread...
2024-02-06 21:07:11.882165193  [2024-02-07 07:07:11] frigate.video                  ERROR   : Living: Unable to read frames from ffmpeg process.
2024-02-06 21:07:11.882357685  [2024-02-07 07:07:11] frigate.video                  ERROR   : Living: ffmpeg process is not running. exiting capture thread...
2024-02-06 21:07:11.886776807  [2024-02-07 07:07:11] frigate.video                  ERROR   : Downstairs: Unable to read frames from ffmpeg process.
2024-02-06 21:07:11.886851602  [2024-02-07 07:07:11] frigate.video                  ERROR   : Downstairs: ffmpeg process is not running. exiting capture thread...
2024-02-06 21:07:11.904095490  [2024-02-07 07:07:11] frigate.video                  ERROR   : Back_PTZ: Unable to read frames from ffmpeg process.
2024-02-06 21:07:11.904336718  [2024-02-07 07:07:11] frigate.video                  ERROR   : Back_PTZ: ffmpeg process is not running. exiting capture thread...
2024-02-06 21:07:21.866498954  [2024-02-07 07:07:21] watchdog.Front                 ERROR   : Ffmpeg process crashed unexpectedly for Front.
2024-02-06 21:07:21.866695804  [2024-02-07 07:07:21] watchdog.Front                 ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-06 21:07:21.883356060  [2024-02-07 07:07:21] watchdog.Living                ERROR   : Ffmpeg process crashed unexpectedly for Living.
2024-02-06 21:07:21.883524151  [2024-02-07 07:07:21] watchdog.Living                ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-06 21:07:21.887626054  [2024-02-07 07:07:21] watchdog.Downstairs            ERROR   : Ffmpeg process crashed unexpectedly for Downstairs.
2024-02-06 21:07:21.887703454  [2024-02-07 07:07:21] watchdog.Downstairs            ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-06 21:07:21.905007205  [2024-02-07 07:07:21] watchdog.Back_PTZ              ERROR   : Ffmpeg process crashed unexpectedly for Back_PTZ.
2024-02-06 21:07:21.905145172  [2024-02-07 07:07:21] watchdog.Back_PTZ              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-06 21:08:31.892397591  [2024-02-07 07:08:31] watchdog.Living                INFO    : No frames received from Living in 20 seconds. Exiting ffmpeg...
2024-02-06 21:08:31.892472997  [2024-02-07 07:08:31] watchdog.Living                INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-06 21:08:31.898088583  [2024-02-07 07:08:31] watchdog.Downstairs            INFO    : No frames received from Downstairs in 20 seconds. Exiting ffmpeg...
2024-02-06 21:08:31.898248853  [2024-02-07 07:08:31] watchdog.Downstairs            INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-06 21:08:31.919803955  [2024-02-07 07:08:31] watchdog.Back_PTZ              INFO    : No frames received from Back_PTZ in 20 seconds. Exiting ffmpeg...
2024-02-06 21:08:31.919859197  [2024-02-07 07:08:31] watchdog.Back_PTZ              INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-06 21:08:31.920936281  [2024-02-07 07:08:31] frigate.video                  ERROR   : Living: Unable to read frames from ffmpeg process.
2024-02-06 21:08:31.921146989  [2024-02-07 07:08:31] frigate.video                  ERROR   : Living: ffmpeg process is not running. exiting capture thread...
2024-02-06 21:08:31.923809499  [2024-02-07 07:08:31] frigate.video                  ERROR   : Downstairs: Unable to read frames from ffmpeg process.
2024-02-06 21:08:31.923867385  [2024-02-07 07:08:31] frigate.video                  ERROR   : Downstairs: ffmpeg process is not running. exiting capture thread...
2024-02-06 21:08:31.942815847  [2024-02-07 07:08:31] frigate.video                  ERROR   : Back_PTZ: Unable to read frames from ffmpeg process.
2024-02-06 21:08:31.942892690  [2024-02-07 07:08:31] frigate.video                  ERROR   : Back_PTZ: ffmpeg process is not running. exiting capture thread...
2024-02-06 21:08:41.882283300  [2024-02-07 07:08:41] watchdog.Front                 INFO    : No frames received from Front in 20 seconds. Exiting ffmpeg...
2024-02-06 21:08:41.882420727  [2024-02-07 07:08:41] watchdog.Front                 INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-06 21:08:41.922324758  [2024-02-07 07:08:41] watchdog.Living                ERROR   : Ffmpeg process crashed unexpectedly for Living.
2024-02-06 21:08:41.922482175  [2024-02-07 07:08:41] watchdog.Living                ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-06 21:08:41.925775478  [2024-02-07 07:08:41] watchdog.Downstairs            ERROR   : Ffmpeg process crashed unexpectedly for Downstairs.
2024-02-06 21:08:41.925918265  [2024-02-07 07:08:41] watchdog.Downstairs            ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-06 21:08:41.945053686  [2024-02-07 07:08:41] watchdog.Back_PTZ              ERROR   : Ffmpeg process crashed unexpectedly for Back_PTZ.
2024-02-06 21:08:41.945187444  [2024-02-07 07:08:41] watchdog.Back_PTZ              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-06 21:08:42.000433263  [2024-02-07 07:08:42] frigate.video                  ERROR   : Front: Unable to read frames from ffmpeg process.
2024-02-06 21:08:42.000552641  [2024-02-07 07:08:42] frigate.video                  ERROR   : Front: ffmpeg process is not running. exiting capture thread...
2024-02-06 21:08:51.935295303  [2024-02-07 07:08:51] watchdog.Living                ERROR   : No new recording segments were created for Living in the last 120s. restarting the ffmpeg record process...
2024-02-06 21:08:51.935417001  [2024-02-07 07:08:51] watchdog.Living                INFO    : Terminating the existing ffmpeg process...
2024-02-06 21:08:51.935504719  [2024-02-07 07:08:51] watchdog.Living                INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-06 21:08:51.937648465  [2024-02-07 07:08:51] watchdog.Downstairs            ERROR   : No new recording segments were created for Downstairs in the last 120s. restarting the ffmpeg record process...
2024-02-06 21:08:51.937752869  [2024-02-07 07:08:51] watchdog.Downstairs            INFO    : Terminating the existing ffmpeg process...
2024-02-06 21:08:51.937850072  [2024-02-07 07:08:51] watchdog.Downstairs            INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-06 21:08:51.956711098  [2024-02-07 07:08:51] watchdog.Back_PTZ              ERROR   : No new recording segments were created for Back_PTZ in the last 120s. restarting the ffmpeg record process...
2024-02-06 21:08:51.956849638  [2024-02-07 07:08:51] watchdog.Back_PTZ              INFO    : Terminating the existing ffmpeg process...
2024-02-06 21:08:51.956960782  [2024-02-07 07:08:51] watchdog.Back_PTZ              INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-06 21:08:52.006764812  [2024-02-07 07:08:52] watchdog.Front                 ERROR   : Ffmpeg process crashed unexpectedly for Front.
2024-02-06 21:08:52.006861899  [2024-02-07 07:08:52] watchdog.Front                 ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-06 21:08:52.013050064  [2024-02-07 07:08:52] watchdog.Front                 ERROR   : No new recording segments were created for Front in the last 120s. restarting the ffmpeg record process...
2024-02-06 21:08:52.013208278  [2024-02-07 07:08:52] watchdog.Front                 INFO    : Terminating the existing ffmpeg process...
2024-02-06 21:08:52.013314292  [2024-02-07 07:08:52] watchdog.Front                 INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-06 21:09:51.965888227  [2024-02-07 07:09:51] watchdog.Downstairs            INFO    : No frames received from Downstairs in 20 seconds. Exiting ffmpeg...
2024-02-06 21:09:51.966075562  [2024-02-07 07:09:51] watchdog.Downstairs            INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-06 21:09:51.977152519  [2024-02-07 07:09:51] watchdog.Living                INFO    : No frames received from Living in 20 seconds. Exiting ffmpeg...
2024-02-06 21:09:51.977271440  [2024-02-07 07:09:51] watchdog.Living                INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-06 21:09:51.980173138  [2024-02-07 07:09:51] watchdog.Back_PTZ              INFO    : No frames received from Back_PTZ in 20 seconds. Exiting ffmpeg...
2024-02-06 21:09:51.980368841  [2024-02-07 07:09:51] watchdog.Back_PTZ              INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-06 21:09:52.008206674  [2024-02-07 07:09:52] frigate.video                  ERROR   : Downstairs: Unable to read frames from ffmpeg process.
2024-02-06 21:09:52.008269664  [2024-02-07 07:09:52] frigate.video                  ERROR   : Downstairs: ffmpeg process is not running. exiting capture thread...
2024-02-06 21:09:52.048085741  [2024-02-07 07:09:52] frigate.video                  ERROR   : Living: Unable to read frames from ffmpeg process.
2024-02-06 21:09:52.048225021  [2024-02-07 07:09:52] frigate.video                  ERROR   : Living: ffmpeg process is not running. exiting capture thread...
2024-02-06 21:09:52.048841720  [2024-02-07 07:09:52] frigate.video                  ERROR   : Back_PTZ: Unable to read frames from ffmpeg process.
2024-02-06 21:09:52.048917334  [2024-02-07 07:09:52] frigate.video                  ERROR   : Back_PTZ: ffmpeg process is not running. exiting capture thread...
2024-02-06 21:10:02.010321106  [2024-02-07 07:10:02] watchdog.Downstairs            ERROR   : Ffmpeg process crashed unexpectedly for Downstairs.
2024-02-06 21:10:02.010453026  [2024-02-07 07:10:02] watchdog.Downstairs            ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-06 21:10:02.035403272  [2024-02-07 07:10:02] watchdog.Front                 INFO    : No frames received from Front in 20 seconds. Exiting ffmpeg...
2024-02-06 21:10:02.035414004  [2024-02-07 07:10:02] watchdog.Front                 INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-06 21:10:02.049379746  [2024-02-07 07:10:02] watchdog.Living                ERROR   : Ffmpeg process crashed unexpectedly for Living.
2024-02-06 21:10:02.049575472  [2024-02-07 07:10:02] watchdog.Living                ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-06 21:10:02.051016129  [2024-02-07 07:10:02] watchdog.Back_PTZ              ERROR   : Ffmpeg process crashed unexpectedly for Back_PTZ.
2024-02-06 21:10:02.051189574  [2024-02-07 07:10:02] watchdog.Back_PTZ              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-06 21:10:02.075791922  [2024-02-07 07:10:02] frigate.video                  ERROR   : Front: Unable to read frames from ffmpeg process.
2024-02-06 21:10:02.075843635  [2024-02-07 07:10:02] frigate.video                  ERROR   : Front: ffmpeg process is not running. exiting capture thread...
2024-02-06 21:10:12.077649437  [2024-02-07 07:10:12] watchdog.Front                 ERROR   : Ffmpeg process crashed unexpectedly for Front.
2024-02-06 21:10:12.077677669  [2024-02-07 07:10:12] watchdog.Front                 ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-06 21:11:12.026014502  [2024-02-07 07:11:12] watchdog.Downstairs            INFO    : No frames received from Downstairs in 20 seconds. Exiting ffmpeg...
2024-02-06 21:11:12.026061675  [2024-02-07 07:11:12] watchdog.Downstairs            INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-06 21:11:12.064862348  [2024-02-07 07:11:12] watchdog.Living                INFO    : No frames received from Living in 20 seconds. Exiting ffmpeg...
2024-02-06 21:11:12.064914588  [2024-02-07 07:11:12] watchdog.Living                INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-06 21:11:12.066709089  [2024-02-07 07:11:12] watchdog.Back_PTZ              INFO    : No frames received from Back_PTZ in 20 seconds. Exiting ffmpeg...
2024-02-06 21:11:12.066754126  [2024-02-07 07:11:12] watchdog.Back_PTZ              INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-06 21:11:12.067886187  [2024-02-07 07:11:12] frigate.video                  ERROR   : Downstairs: Unable to read frames from ffmpeg process.
2024-02-06 21:11:12.067924145  [2024-02-07 07:11:12] frigate.video                  ERROR   : Downstairs: ffmpeg process is not running. exiting capture thread...
2024-02-06 21:11:12.103198554  [2024-02-07 07:11:12] frigate.video                  ERROR   : Living: Unable to read frames from ffmpeg process.
2024-02-06 21:11:12.103264981  [2024-02-07 07:11:12] frigate.video                  ERROR   : Living: ffmpeg process is not running. exiting capture thread...
2024-02-06 21:11:12.272445803  [2024-02-07 07:11:12] frigate.video                  ERROR   : Back_PTZ: Unable to read frames from ffmpeg process.
2024-02-06 21:11:12.272500719  [2024-02-07 07:11:12] frigate.video                  ERROR   : Back_PTZ: ffmpeg process is not running. exiting capture thread...
2024-02-06 21:11:22.069925144  [2024-02-07 07:11:22] watchdog.Downstairs            ERROR   : Ffmpeg process crashed unexpectedly for Downstairs.
2024-02-06 21:11:22.070085039  [2024-02-07 07:11:22] watchdog.Downstairs            ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-06 21:11:22.086170050  [2024-02-07 07:11:22] watchdog.Front                 INFO    : No frames received from Front in 20 seconds. Exiting ffmpeg...
2024-02-06 21:11:22.086276386  [2024-02-07 07:11:22] watchdog.Front                 INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-06 21:11:22.104417440  [2024-02-07 07:11:22] watchdog.Living                ERROR   : Ffmpeg process crashed unexpectedly for Living.
2024-02-06 21:11:22.104588840  [2024-02-07 07:11:22] watchdog.Living                ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-06 21:11:22.127873051  [2024-02-07 07:11:22] frigate.video                  ERROR   : Front: Unable to read frames from ffmpeg process.
2024-02-06 21:11:22.127926693  [2024-02-07 07:11:22] frigate.video                  ERROR   : Front: ffmpeg process is not running. exiting capture thread...
2024-02-06 21:11:22.278693349  [2024-02-07 07:11:22] watchdog.Back_PTZ              ERROR   : Ffmpeg process crashed unexpectedly for Back_PTZ.
2024-02-06 21:11:22.278835198  [2024-02-07 07:11:22] watchdog.Back_PTZ              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-06 21:11:32.129074230  [2024-02-07 07:11:32] watchdog.Front                 ERROR   : Ffmpeg process crashed unexpectedly for Front.
2024-02-06 21:11:32.129214199  [2024-02-07 07:11:32] watchdog.Front                 ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-06 21:11:42.082745188  [2024-02-07 07:11:42] watchdog.Downstairs            ERROR   : No new recording segments were created for Downstairs in the last 120s. restarting the ffmpeg record process...
2024-02-06 21:11:42.082821755  [2024-02-07 07:11:42] watchdog.Downstairs            INFO    : Terminating the existing ffmpeg process...
2024-02-06 21:11:42.082933248  [2024-02-07 07:11:42] watchdog.Downstairs            INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-06 21:11:42.117074745  [2024-02-07 07:11:42] watchdog.Living                ERROR   : No new recording segments were created for Living in the last 120s. restarting the ffmpeg record process...
2024-02-06 21:11:42.117252787  [2024-02-07 07:11:42] watchdog.Living                INFO    : Terminating the existing ffmpeg process...
2024-02-06 21:11:42.117367873  [2024-02-07 07:11:42] watchdog.Living                INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-06 21:11:42.141475514  [2024-02-07 07:11:42] watchdog.Front                 ERROR   : No new recording segments were created for Front in the last 120s. restarting the ffmpeg record process...
2024-02-06 21:11:42.141630261  [2024-02-07 07:11:42] watchdog.Front                 INFO    : Terminating the existing ffmpeg process...
2024-02-06 21:11:42.141741692  [2024-02-07 07:11:42] watchdog.Front                 INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-06 21:11:42.285840973  [2024-02-07 07:11:42] watchdog.Back_PTZ              ERROR   : No new recording segments were created for Back_PTZ in the last 120s. restarting the ffmpeg record process...
2024-02-06 21:11:42.286000633  [2024-02-07 07:11:42] watchdog.Back_PTZ              INFO    : Terminating the existing ffmpeg process...
2024-02-06 21:11:42.286147060  [2024-02-07 07:11:42] watchdog.Back_PTZ              INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-06 21:12:32.158722265  [2024-02-07 07:12:32] watchdog.Downstairs            INFO    : No frames received from Downstairs in 20 seconds. Exiting ffmpeg...

go2rtc log

2024-02-06 21:05:44.533324666  [INFO] Preparing new go2rtc config...
2024-02-06 21:05:44.590924496  [INFO] Got IP address from supervisor: 192.168.173.10
2024-02-06 21:05:44.619253973  [INFO] Got WebRTC port from supervisor: 8555
2024-02-06 21:05:45.039325147  [INFO] Starting go2rtc...
2024-02-06 21:05:45.107353341  07:05:45.107 INF go2rtc version 1.8.4 linux/amd64
2024-02-06 21:05:45.107795402  07:05:45.107 INF [api] listen addr=:1984
2024-02-06 21:05:45.107901725  07:05:45.107 INF [rtsp] listen addr=:8554
2024-02-06 21:05:45.108155704  07:05:45.108 INF [webrtc] listen addr=:8555
2024-02-06 21:05:54.445619156  [INFO] Starting go2rtc healthcheck service...
Supreme-Bob commented 9 months ago

@shwarnock i noticed your rtc logs mention github.com/AlexxIT/go2rtc i think i had that addon at one point with and older frigate version and removed it cause i had issues (I seem to have the repository added but its not installed). Not sure if the one in frigate logs those messages or if there's some issue there. Could try disabling that addon if its installed and seeing what happens?

shwarnock commented 9 months ago

@Supreme-Bob I don't believe I installed that addon. Where do I go to see what frigate addons are enabled?

Supreme-Bob commented 9 months ago

@shwarnock if that addons not installed its not that then, it must just log those the same with the one built in to in frigate. edit: I did note theres a few more git issues that have been added in with similar problems now for other cams too.

shwarnock commented 9 months ago

@Supreme-Bob Ok so this doesn't seem to be an issue with my setup, but a legit issue with frigate or one of the APIs it is using?

NickM-27 commented 9 months ago

it looks like an issue with the cameras not sending data correctly

NickM-27 commented 9 months ago

let's see the docker compose

DastardlyDino commented 9 months ago

@DastardlyDino your config is still not what is recommended. You are connecting to the reolink cameras twice

Would this be the correct config (removed second rtc stream)? Cause I was just following the example in the docs

mqtt:
  host: ###.###.##.#    # <---- same mqtt broker that home assistant uses
  port: 1883
  user: mqtt-user
  password: **********

detectors:
    cpu1:
      type: cpu
    cpu2:
      type: cpu

go2rtc:
  streams:
    doorbell_cam:
      - "ffmpeg:http://###.###.##.###/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=**********#video=copy#audio=copy#audio=opus"
      - rtsp://reolink_ip/Preview_01_sub

cameras:
  doorbell_cam:
    ffmpeg:
      inputs:
        - path: rtsp://admin:**********@###.###.##.###:554/h264Preview_01_main
          input_args: preset-rtsp-restream
          roles:
            - record
        - path: rtsp://admin:**********@###.###.##.###:554/h264Preview_01_sub
          input_args: preset-rtsp-restream
          roles:
            - detect

image

NickM-27 commented 9 months ago

You have

rtsp://admin:**@###.###.##.###:554/h264Preview_01_main

This is not at all what is in the docs.

You should have

rtsp://127.0.0.1:8554/doorbell_cam

shwarnock commented 9 months ago

@NickM-27 Here is my docker compose


version: '3.9'

services:

  frigate:
    container_name: frigate
    privileged: true
    restart: unless-stopped
    image: ghcr.io/blakeblackshear/frigate:stable
    shm_size: "1gb" # update for your cameras based on calculation above
    devices:
      - /dev/bus/usb:/dev/bus/usb
      - /dev/dri/renderD128 # for intel hwaccel, needs to be updated for your hardware
    volumes:
      - /etc/localtime:/etc/localtime
      - /opt/frigate/config:/config
      - /media/frigate_storage:/media/frigate
      - type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
        target: /tmp/cache
        tmpfs:
          size: 1000000000
    ports:
      - "5000:5000"
      - "1935:1935" # RTMP feeds
    environment:
      LIBVA_DRIVER_NAME: iHD```
linost-xx commented 9 months ago

Following,

I have a similar setup, frigate in an unraid docker and Reolink doorbell (PoE) Had no problems in 0.12 but now with 0.13 the camera (stream) dies after about 20 seconds.

shwarnock commented 9 months ago

So my current run of Frigate has been up for close to 48 hours without any errors showing up... I haven't changed anything so not sure why it seems to have fixed itself.

shwarnock commented 9 months ago

Tons of errors again related to the following:


2024-02-12 18:24:31.417908823  
2024-02-12 18:24:31.417910383  OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
NickM-27 commented 9 months ago

Those aren't necessarily indicative of a problem, ffprobe is used when cv fails

shwarnock commented 9 months ago

Those aren't necessarily indicative of a problem, ffprobe is used when cv fails

The fact that the log says ERROR and the message is spammed doesn't indicate a problem?

NickM-27 commented 9 months ago

The error comes directly from cv2, but frigate detects this error and uses ffprobe to get the recording information. If there are no logs that say "corrupt segment discarded" then no recordings were lost and while not ideal everything is working. That is what I meant.

github-actions[bot] commented 8 months ago

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