blakeblackshear / frigate

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

[Config Support]: Errors on one camera only? #3662

Closed ElectroChemical2020 closed 2 years ago

ElectroChemical2020 commented 2 years ago

Describe the problem you are having

Errors in log for 1 camera only and I have another camera set up the same with out issues.

My right drive way camera is generating a bunch of errors in the logs but my left drive way camera is not. They are the same camera and set up the same in the config.

Everything is working by the looks of things to me. Just can't stop the errors.

Any Ideas?

Version

0.10.1-83481AF

Frigate config file

mqtt:
  host: <MQTT IP>
  user: <USER>
  password: <PASSWORD>
  topic_prefix: Frigate_Docker
  client_id: Frigate_Docker

birdseye:
  mode: continuous
  width: 1920
  height: 1080

record:
  enabled: True

  events:
    max_seconds: 300
    pre_capture: 10
    post_capture: 10
    retain:
      default: 10

cameras:
#Flir
  Back_Gate:
    ffmpeg:
      inputs:
        - path: rtsp://<USER>:<PASSWORD>@<IP>:554/cam/realmonitor?channel=1&subtype=1
          roles:
            - detect
        - path: rtsp://<USER>:<PASSWORD>@<IP>:554/cam/realmonitor?channel=1&subtype=0
          roles:
            - record
            - rtmp
    detect:
      width: 704
      height: 480
      fps: 10

# Reolink 520A
  Driveway_Right:
    ffmpeg:
      hwaccel_args:
        - -hwaccel
        - vaapi
        - -hwaccel_device
        - /dev/dri/renderD128
        - -hwaccel_output_format
        - yuv420p

      input_args:
        - -avoid_negative_ts
        - make_zero
        - -fflags
        - nobuffer+genpts+discardcorrupt
        - -flags
        - low_delay
        - -strict
        - experimental
        - -analyzeduration
        - 1000M
        - -probesize
        - 1000M
        - -rw_timeout
        - "5000000"
        - -f
        - live_flv

      output_args:
        record: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy

      inputs:
        - path: http://<IP>/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=<USER>&password=<PASSWORD>
          roles:
            - record

        - path: http://<IP>/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=<USER>&password=<PASSWORD>
          roles:
            - detect
    rtmp:
      enabled: false

    detect:
      width: 640
      height: 480
      fps: 10

    motion:
      mask:
        - 450,95,299,49,0,38,0,0,640,0,640,166

#Reolink 520A
  Driveway_Left:
    ffmpeg:

      hwaccel_args:
        - -hwaccel
        - vaapi
        - -hwaccel_device
        - /dev/dri/renderD128
        - -hwaccel_output_format
        - yuv420p

      input_args:
        - -avoid_negative_ts
        - make_zero
        - -fflags
        - nobuffer+genpts+discardcorrupt
        - -flags
        - low_delay
        - -strict
        - experimental
        - -analyzeduration
        - 1000M
        - -probesize
        - 1000M
        - -rw_timeout
    - "5000000"
        - -f
        - live_flv

      output_args:
        record: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy

      inputs:
        - path: http://<IP>/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=<USER>&password=<PASSWORD>
          roles:
            - record

        - path: http://<IP>/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=<USER>&password=<PASSWORD>
          roles:
            - detect

    rtmp:
      enabled: false

    detect:
      width: 640
      height: 480
      fps: 10

    motion:
      mask:
        - 188,0,0,0,0,81,236,70,400,77,473,87,640,125,640,0

#Reolink 820
  Front_Door:
    ffmpeg:

      hwaccel_args:
        - -hwaccel
        - vaapi
        - -hwaccel_device
        - /dev/dri/renderD128
        - -hwaccel_output_format
        - yuv420p

      input_args:
        - -avoid_negative_ts
        - make_zero
        - -fflags
        - nobuffer+genpts+discardcorrupt
        - -flags
        - low_delay
        - -strict
        - experimental
        - -analyzeduration
        - 1000M
        - -probesize
        - 1000M
        - -rw_timeout
        - "5000000"
        - -f
        - live_flv

      output_args:
        record: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy

      inputs:
        - path: http://<IP>/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=<USER>&password=<PASSWORD>
          roles:
            - detect
            - record

    rtmp:
      enabled: false

    detect:
      width: 640
      height: 360
      fps: 10

    motion:
      mask:
        - 190,0,0,0,309,74,467,126,640,360,640,0

Relevant log output

sudo docker logs --tail 200 frigate
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[2022-08-16 15:30:02] frigate.app                    INFO    : Starting Frigate (0.10.1-83481af)
[2022-08-16 15:30:02] frigate.app                    INFO    : Creating directory: /tmp/cache
Starting migrations
[2022-08-16 15:30:02] peewee_migrate                 INFO    : Starting migrations
There is nothing to migrate
[2022-08-16 15:30:02] peewee_migrate                 INFO    : There is nothing to migrate
[2022-08-16 15:30:02] frigate.app                    INFO    : Output process started: 218
[2022-08-16 15:30:02] detector.cpu                   INFO    : Starting detection process: 216
[2022-08-16 15:30:02] frigate.edgetpu                WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
[2022-08-16 15:30:02] ws4py                          INFO    : Using epoll
[2022-08-16 15:30:02] frigate.app                    INFO    : Camera processor started for Back_Gate: 222
[2022-08-16 15:30:02] frigate.app                    INFO    : Camera processor started for Driveway_Right: 223
[2022-08-16 15:30:02] frigate.app                    INFO    : Camera processor started for Driveway_Left: 224
[2022-08-16 15:30:02] frigate.app                    INFO    : Camera processor started for Front_Door: 228
[2022-08-16 15:30:02] frigate.app                    INFO    : Capture process started for Back_Gate: 230
[2022-08-16 15:30:02] frigate.app                    INFO    : Capture process started for Driveway_Right: 232
[2022-08-16 15:30:02] frigate.app                    INFO    : Capture process started for Driveway_Left: 235
[2022-08-16 15:30:02] frigate.app                    INFO    : Capture process started for Front_Door: 237
[2022-08-16 15:30:02] ws4py                          INFO    : Using epoll
[2022-08-16 15:30:03] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:45268]
[2022-08-16 15:30:06] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:45268]
[2022-08-16 15:30:32] watchdog.Driveway_Right        INFO    : No frames received from Driveway_Right in 20 seconds. Exiting ffmpeg...
[2022-08-16 15:30:32] watchdog.Driveway_Right        INFO    : Waiting for ffmpeg to exit gracefully...
[2022-08-16 15:30:59] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:45272]
[2022-08-16 15:31:02] watchdog.Driveway_Right        INFO    : FFmpeg didnt exit. Force killing...
[2022-08-16 15:31:02] frigate.video                  ERROR   : Driveway_Right: Unable to read frames from ffmpeg process.
[2022-08-16 15:31:02] frigate.video                  ERROR   : Driveway_Right: Unable to read frames from ffmpeg process.
[2022-08-16 15:31:02] frigate.video                  ERROR   : Driveway_Right: Unable to read frames from ffmpeg process.
[2022-08-16 15:31:02] frigate.video                  ERROR   : Driveway_Right: Unable to read frames from ffmpeg process.
[2022-08-16 15:31:02] frigate.video                  ERROR   : Driveway_Right: Unable to read frames from ffmpeg process.
[2022-08-16 15:31:02] frigate.video                  ERROR   : Driveway_Right: Unable to read frames from ffmpeg process.
[2022-08-16 15:31:02] frigate.video                  ERROR   : Driveway_Right: ffmpeg process is not running. exiting capture thread...
[2022-08-16 15:31:10] frigate.mqtt                   INFO    : Turning on snapshots for Driveway_Left via mqtt
[2022-08-16 15:31:11] frigate.mqtt                   INFO    : Turning on snapshots for Driveway_Right via mqtt
[2022-08-16 15:31:12] frigate.mqtt                   INFO    : Turning on snapshots for Back_Gate via mqtt
[2022-08-16 15:31:12] watchdog.Driveway_Right        ERROR   : Ffmpeg process crashed unexpectedly for Driveway_Right.
[2022-08-16 15:31:12] watchdog.Driveway_Right        ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-08-16 15:31:12] ffmpeg.Driveway_Right.detect   ERROR   : WARNING: Invalid RefPicListX[] entry!!! It is not included in DPB
[2022-08-16 15:31:12] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x5556a9bedb40] Packet mismatch 0 131690 1126410
[2022-08-16 15:31:12] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x5556a9bedb40] Packet mismatch -2116941130 131595 1258005
[2022-08-16 15:31:12] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x5556a9bedb40] Packet mismatch -645117669 952843 2210848
[2022-08-16 15:31:12] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x5556a9bedb40] Packet mismatch 1792887005 936971 3147819
[2022-08-16 15:31:12] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x5556a9bedb40] Packet mismatch -1788469018 895755 4043574
[2022-08-16 15:31:12] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x5556a9bedb40] Packet mismatch 1615956878 131595 4175169
[2022-08-16 15:31:12] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x5556a9bedb40] Packet mismatch 1369230467 1001995 5177164
[2022-08-16 15:31:12] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x5556a9bedb40] Packet mismatch 926082784 131595 5308759
[2022-08-16 15:31:12] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x5556a9bedb40] Packet mismatch 1920187326 722699 6031458
[2022-08-16 15:31:12] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x5556a9bedb40] Packet mismatch -1364530204 1002251 7033709
[2022-08-16 15:31:12] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x5556a9bedb40] Packet mismatch 1836974594 1016587 8050296
[2022-08-16 15:31:12] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x5556a9bedb40] Packet mismatch -1489427220 131595 8181891
[2022-08-16 15:31:14] frigate.mqtt                   INFO    : Turning on snapshots for Front_Door via mqtt
[2022-08-16 15:31:17] frigate.video                  ERROR   : Driveway_Right: Unable to read frames from ffmpeg process.
[2022-08-16 15:31:17] frigate.video                  ERROR   : Driveway_Right: ffmpeg process is not running. exiting capture thread...
[2022-08-16 15:31:22] watchdog.Driveway_Right        ERROR   : Ffmpeg process crashed unexpectedly for Driveway_Right.
[2022-08-16 15:31:22] watchdog.Driveway_Right        ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-08-16 15:31:22] ffmpeg.Driveway_Right.detect   ERROR   : http://<IP>/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=<USER>&password=<PASSWORD>: Connection timed out
[2022-08-16 15:31:27] frigate.video                  ERROR   : Driveway_Right: Unable to read frames from ffmpeg process.
[2022-08-16 15:31:27] frigate.video                  ERROR   : Driveway_Right: ffmpeg process is not running. exiting capture thread...
[2022-08-16 15:31:32] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:45272]
[2022-08-16 15:31:32] watchdog.Driveway_Right        ERROR   : Ffmpeg process crashed unexpectedly for Driveway_Right.
[2022-08-16 15:31:32] watchdog.Driveway_Right        ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-08-16 15:31:32] ffmpeg.Driveway_Right.detect   ERROR   : http://<IP>/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=<USER>&password=<PASSWORD>: Connection timed out
[2022-08-16 15:31:34] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:45274]
[2022-08-16 15:33:05] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:53498]
[2022-08-16 15:33:12] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:45274]
[2022-08-16 15:33:13] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:53498]
[2022-08-16 15:34:12] ffmpeg.Driveway_Right.record   ERROR   : http://<IP>/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=<USER>&password=<PASSWORD>: Connection timed out
[2022-08-16 15:34:12] watchdog.Driveway_Right        INFO    : Terminating the existing ffmpeg process...
[2022-08-16 15:34:12] watchdog.Driveway_Right        INFO    : Waiting for ffmpeg to exit gracefully...
[2022-08-16 15:36:12] watchdog.Driveway_Right        INFO    : No frames received from Driveway_Right in 20 seconds. Exiting ffmpeg...
[2022-08-16 15:36:12] watchdog.Driveway_Right        INFO    : Waiting for ffmpeg to exit gracefully...
[2022-08-16 15:36:42] watchdog.Driveway_Right        INFO    : FFmpeg didnt exit. Force killing...
[2022-08-16 15:36:42] frigate.video                  ERROR   : Driveway_Right: Unable to read frames from ffmpeg process.
[2022-08-16 15:36:42] frigate.video                  ERROR   : Driveway_Right: ffmpeg process is not running. exiting capture thread...
[2022-08-16 15:36:52] watchdog.Driveway_Right        ERROR   : Ffmpeg process crashed unexpectedly for Driveway_Right.
[2022-08-16 15:36:52] watchdog.Driveway_Right        ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-08-16 15:36:52] ffmpeg.Driveway_Right.detect   ERROR   : WARNING: Invalid RefPicListX[] entry!!! It is not included in DPB
[2022-08-16 15:36:52] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x560cf2ee7b40] Packet mismatch 235137912 11 42263270
[2022-08-16 15:36:58] frigate.video                  ERROR   : Driveway_Right: Unable to read frames from ffmpeg process.
[2022-08-16 15:36:58] frigate.video                  ERROR   : Driveway_Right: ffmpeg process is not running. exiting capture thread...
[2022-08-16 15:37:02] watchdog.Driveway_Right        ERROR   : Ffmpeg process crashed unexpectedly for Driveway_Right.
[2022-08-16 15:37:02] watchdog.Driveway_Right        ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-08-16 15:37:02] ffmpeg.Driveway_Right.detect   ERROR   : http://<IP>/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=<USER>&password=<PASSWORD>: Connection timed out
[2022-08-16 15:37:08] frigate.video                  ERROR   : Driveway_Right: Unable to read frames from ffmpeg process.
[2022-08-16 15:37:08] frigate.video                  ERROR   : Driveway_Right: ffmpeg process is not running. exiting capture thread...
[2022-08-16 15:37:12] watchdog.Driveway_Right        ERROR   : Ffmpeg process crashed unexpectedly for Driveway_Right.
[2022-08-16 15:37:12] watchdog.Driveway_Right        ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-08-16 15:37:12] ffmpeg.Driveway_Right.detect   ERROR   : http://<IP>/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=<USER>&password=<PASSWORD>: Connection timed out
[2022-08-16 15:37:53] frigate.video                  ERROR   : Driveway_Right: Unable to read frames from ffmpeg process.
[2022-08-16 15:37:53] frigate.video                  ERROR   : Driveway_Right: ffmpeg process is not running. exiting capture thread...
[2022-08-16 15:38:02] watchdog.Driveway_Right        ERROR   : Ffmpeg process crashed unexpectedly for Driveway_Right.
[2022-08-16 15:38:02] watchdog.Driveway_Right        ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-08-16 15:38:02] ffmpeg.Driveway_Right.detect   ERROR   : WARNING: Invalid RefPicListX[] entry!!! It is not included in DPB
[2022-08-16 15:38:02] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x5613deccfb40] Packet mismatch 1191202470 11 3318526
[2022-08-16 15:38:02] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x5613deccfb40] Unable to seek to the next packet
[2022-08-16 15:38:02] ffmpeg.Driveway_Right.detect   ERROR   : http://<IP>/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=<USER>&password=<PASSWORD>: Invalid data found when processing input
[2022-08-16 15:38:52] watchdog.Driveway_Right        INFO    : No frames received from Driveway_Right in 20 seconds. Exiting ffmpeg...
[2022-08-16 15:38:52] watchdog.Driveway_Right        INFO    : Waiting for ffmpeg to exit gracefully...
[2022-08-16 15:39:22] watchdog.Driveway_Right        INFO    : FFmpeg didnt exit. Force killing...
[2022-08-16 15:39:22] frigate.video                  ERROR   : Driveway_Right: Unable to read frames from ffmpeg process.
[2022-08-16 15:39:22] frigate.video                  ERROR   : Driveway_Right: ffmpeg process is not running. exiting capture thread...
[2022-08-16 15:39:32] watchdog.Driveway_Right        ERROR   : Ffmpeg process crashed unexpectedly for Driveway_Right.
[2022-08-16 15:39:32] watchdog.Driveway_Right        ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-08-16 15:39:32] ffmpeg.Driveway_Right.detect   ERROR   : WARNING: Invalid RefPicListX[] entry!!! It is not included in DPB
[2022-08-16 15:39:32] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x55a73fba7b40] Packet corrupt (stream = 0, dts = 26191), dropping it.
[2022-08-16 15:39:32] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x55a73fba7b40] Packet mismatch 1109752884 11 4165026
[2022-08-16 15:39:32] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x55a73fba7b40] Packet mismatch 610139594 131595 4296621
[2022-08-16 15:39:32] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x55a73fba7b40] Packet mismatch 1099091885 131595 4428216
[2022-08-16 15:39:32] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x55a73fba7b40] Packet mismatch -386913591 131595 4559811
[2022-08-16 15:39:32] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x55a73fba7b40] Packet mismatch 1513885235 748811 5308622
[2022-08-16 15:39:32] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x55a73fba7b40] Packet mismatch -504452627 998667 6307289
[2022-08-16 15:39:32] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x55a73fba7b40] Packet mismatch 1449413786 762635 7069924
[2022-08-16 15:39:32] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x55a73fba7b40] Packet mismatch 393693621 823051 7892975
[2022-08-16 15:39:32] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x55a73fba7b40] Packet mismatch -1593853920 1037067 8930042
[2022-08-16 15:39:32] ffmpeg.Driveway_Right.detect   ERROR   : [live_flv @ 0x55a73fba7b40] Packet mismatch 1336281202 820235 9750277
[2022-08-16 15:39:38] frigate.video                  ERROR   : Driveway_Right: Unable to read frames from ffmpeg process.
[2022-08-16 15:39:38] frigate.video                  ERROR   : Driveway_Right: ffmpeg process is not running. exiting capture thread...
[2022-08-16 15:39:42] watchdog.Driveway_Right        ERROR   : Ffmpeg process crashed unexpectedly for Driveway_Right.
[2022-08-16 15:39:42] watchdog.Driveway_Right        ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-08-16 15:39:42] ffmpeg.Driveway_Right.detect   ERROR   : http://<IP>/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=<USER>&password=<PASSWORD>: Connection timed out
[2022-08-16 15:39:48] frigate.video                  ERROR   : Driveway_Right: Unable to read frames from ffmpeg process.
[2022-08-16 15:39:48] frigate.video                  ERROR   : Driveway_Right: ffmpeg process is not running. exiting capture thread...
[2022-08-16 15:39:53] watchdog.Driveway_Right        ERROR   : Ffmpeg process crashed unexpectedly for Driveway_Right.
[2022-08-16 15:39:53] watchdog.Driveway_Right        ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-08-16 15:39:53] ffmpeg.Driveway_Right.detect   ERROR   : http://<IP>/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=<USER>&password=<PASSWORD>: Connection timed out
[2022-08-16 15:40:22] frigate.video                  ERROR   : Driveway_Right: Unable to read frames from ffmpeg process.
[2022-08-16 15:40:22] frigate.video                  ERROR   : Driveway_Right: ffmpeg process is not running. exiting capture thread...
[2022-08-16 15:40:23] watchdog.Driveway_Right        ERROR   : Ffmpeg process crashed unexpectedly for Driveway_Right.
[2022-08-16 15:40:23] watchdog.Driveway_Right        ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-08-16 15:40:23] ffmpeg.Driveway_Right.detect   ERROR   : WARNING: Invalid RefPicListX[] entry!!! It is not included in DPB
[2022-08-16 15:40:23] ffmpeg.Driveway_Right.detect   ERROR   : http://<IP>/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=<USER>&password=<PASSWORD>: Connection timed out
[2022-08-16 15:40:28] frigate.video                  ERROR   : Driveway_Right: Unable to read frames from ffmpeg process.
[2022-08-16 15:40:28] frigate.video                  ERROR   : Driveway_Right: ffmpeg process is not running. exiting capture thread...
[2022-08-16 15:40:33] watchdog.Driveway_Right        ERROR   : Ffmpeg process crashed unexpectedly for Driveway_Right.
[2022-08-16 15:40:33] watchdog.Driveway_Right        ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-08-16 15:40:33] ffmpeg.Driveway_Right.detect   ERROR   : http://<IP>/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=<USER>&password=<PASSWORD>: Connection timed out

Frigate stats

Frigate is running. Alive and healthy!

Operating system

Other Linux

Install method

Docker Compose

Coral version

CPU (no coral)

Any other information that may be helpful

No response

NickM-27 commented 2 years ago

These look like reolink cameras in which case I'd recommend trying the reolink specific args: https://docs.frigate.video/configuration/camera_specific#reolink-410520-possibly-others

In any case, RTMP is picky and install location may mean one has worse WiFi signal and is struggling to keep a stable connection. The logs indicate dropped packets

ElectroChemical2020 commented 2 years ago

They are Reolink 520A cameras POE hardwired. No Wifi. I have RTMP disabled for both cameras

NickM-27 commented 2 years ago

The config is setup to use RTMP (that is what flv indicates) via http. I would recommend starting by using the recommended reolink input args and then go from there if this continues.

ElectroChemical2020 commented 2 years ago

Issue Solved. I had my cameras on a different network then my Frigate instance - Cameras were on 10.10.10.x and frigate was on 10.10.12.x. I had frigate on a different network due to switching it to a new server and just forgot to switch the new server to the camera network.

NickM-27 commented 2 years ago

That'll do it, glad if's solved 👍 should be able to close this issue then

NickM-27 commented 2 years ago

Closing as this has been solved 👍