[SUPPORT] blakeblackshear - Frigate


Recommended Posts

I have been unable to get recordings to work at all. Detection, events and clips are working fine. I have reduced my config to minimal settings in an attempt to find the issue but no luck so far. I have also tried normal rtsp streams and the reolink specific configuration. Any help would be greatly appreciated. Thanks!

 

Unraid version 6.11.3

mqtt:
  host: 192.168.X.X
  topic_prefix: frigate
  client_id: frigate
  user: mosquito
  password: ****



rtmp:
  # Optional: Enable the RTMP stream (default: True)
  enabled: True

detectors:
  cpu1:
    type: cpu
    num_threads: 2
  cpu2:
    type: cpu
    num_threads: 2
  cpu3:
    type: cpu
    num_threads: 2

cameras:
  reolink:
    ffmpeg:
      input_args:
        - -avoid_negative_ts
        - make_zero
        - -fflags
        - +genpts+discardcorrupt
        - -flags
        - low_delay
        - -strict
        - experimental
        - -analyzeduration
        - 1000M
        - -probesize
        - 1000M
        - -rw_timeout
        - "5000000"
      inputs:
        - path: http://192.168.X.X/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=user&password=xxxx
          roles:
            - record
            - clips
            - rtmp
        - path: http://192.168.X.X/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=user&password=xxxx
          roles:
            - detect
    detect:
      width: 640
      height: 480
      fps: 7

record:
  enabled: True
  retain:
    days: 0
    mode: all
  events:
    retain:
      default: 15
      mode: active_objects

 

 

Screenshot_20230109_113903.png

Link to comment
15 minutes ago, headtrip0 said:

I have been unable to get recordings to work at all. Detection, events and clips are working fine. I have reduced my config to minimal settings in an attempt to find the issue but no luck so far. I have also tried normal rtsp streams and the reolink specific configuration. Any help would be greatly appreciated. Thanks!

 

Unraid version 6.11.3

mqtt:
  host: 192.168.X.X
  topic_prefix: frigate
  client_id: frigate
  user: mosquito
  password: ****



rtmp:
  # Optional: Enable the RTMP stream (default: True)
  enabled: True

detectors:
  cpu1:
    type: cpu
    num_threads: 2
  cpu2:
    type: cpu
    num_threads: 2
  cpu3:
    type: cpu
    num_threads: 2

cameras:
  reolink:
    ffmpeg:
      input_args:
        - -avoid_negative_ts
        - make_zero
        - -fflags
        - +genpts+discardcorrupt
        - -flags
        - low_delay
        - -strict
        - experimental
        - -analyzeduration
        - 1000M
        - -probesize
        - 1000M
        - -rw_timeout
        - "5000000"
      inputs:
        - path: http://192.168.X.X/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=user&password=xxxx
          roles:
            - record
            - clips
            - rtmp
        - path: http://192.168.X.X/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=user&password=xxxx
          roles:
            - detect
    detect:
      width: 640
      height: 480
      fps: 7

record:
  enabled: True
  retain:
    days: 0
    mode: all
  events:
    retain:
      default: 15
      mode: active_objects

 

 

Screenshot_20230109_113903.png

 

You have a 0 day retention policy for records, witch means:

 

"When retain -> days is set to 0, segments will be deleted from the cache if no events are in progress."

 

https://docs.frigate.video/configuration/record#what-if-i-dont-want-247-recordings

 

With your configuration, only events will be saved.

 

Link to comment
13 minutes ago, yayitazale said:

 

You have a 0 day retention policy for records, witch means:

 

"When retain -> days is set to 0, segments will be deleted from the cache if no events are in progress."

 

https://docs.frigate.video/configuration/record#what-if-i-dont-want-247-recordings

 

With your configuration, only events will be saved

 

 

That makes sense, thanks. I changed the retention to 14 days  and still no recording.  I am OK with 24/7 recordings or a very long retention period actually (that is how I had blue iris set up) and I have 4 TB of storage dedicated to security footage.

 

Do you see anything wrong with my config that would prevent ANY recordings from working? I have never had a single recording from an event or otherwise.

 

Thanks

 

Link to comment
3 minutes ago, headtrip0 said:

 

That makes sense, thanks. I changed the retention to 14 days  and still no recording.  I am OK with 24/7 recordings or a very long retention period actually (that is how I had blue iris set up) and I have 4 TB of storage dedicated to security footage.

 

Do you see anything wrong with my config that would prevent ANY recordings from working? I have never had a single recording from an event or otherwise.

 

Thanks

 

Do you have any error on the logs?

Link to comment
48 minutes ago, yayitazale said:

Do you have any error on the logs?

[2023-01-09 10:06:47] frigate.mqtt                   INFO    : Turning on snapshots for Doorbell via mqtt
[2023-01-09 10:06:47] ws4py                          INFO    : Using epoll
[2023-01-09 10:07:06] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:57006]
[2023-01-09 10:07:08] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:57006]
[2023-01-09 10:07:08] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:57018]
[2023-01-09 10:07:15] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:47726]
[2023-01-09 10:07:19] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:47726]
[2023-01-09 10:07:22] frigate.http                   ERROR   : No recordings found for the requested time range
[2023-01-09 10:07:32] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:36742]
[2023-01-09 10:07:35] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:51734]
[2023-01-09 10:07:38] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:51734]
[2023-01-09 10:13:52] frigate.http                   ERROR   : No recordings found for the requested time range
[2023-01-09 10:16:57] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:57018]
[2023-01-09 10:16:57] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:36742]
[2023-01-09 10:17:17] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:43654]
[2023-01-09 10:18:57] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:43654]
[2023-01-09 10:30:47] frigate.video                  ERROR   : Doorbell: Unable to read frames from ffmpeg process.
[2023-01-09 10:30:47] frigate.video                  ERROR   : Doorbell: ffmpeg process is not running. exiting capture thread...
[2023-01-09 10:30:47] watchdog.Doorbell              ERROR   : Ffmpeg process crashed unexpectedly for Doorbell.
[2023-01-09 10:30:47] watchdog.Doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   : [flv @ 0x55c13f5665c0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55c13f549bc0] CSeq 21 expected, 0 received.
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x55c1402a8a00] cabac decode of qscale diff failed at 148 94
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x55c1402a8a00] error while decoding MB 148 94, bytestream 5410
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x55c140377c40] Increasing reorder buffer to 1
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   : rtsp://admin:[email protected]:554/h264Preview_01_main: corrupt decoded frame in stream 0
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x55c1401d9700] error while decoding MB 132 119, bytestream 350
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   : rtsp://admin:[email protected]:554/h264Preview_01_main: Connection timed out
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   :     Last message repeated 15 times
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   : rtsp://admin:[email protected]:554/h264Preview_01_main: corrupt decoded frame in stream 0
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   : rtsp://admin:[email protected]:554/h264Preview_01_main: Connection timed out
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   : [flv @ 0x55c13f5665c0] Failed to update header with correct duration.
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   : [flv @ 0x55c13f5665c0] Failed to update header with correct filesize.
[2023-01-09 10:35:38] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:59668]
[2023-01-09 10:35:39] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:35400]
[2023-01-09 10:35:42] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:35400]
[2023-01-09 10:35:57] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:39446]
[2023-01-09 10:36:06] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:39446]
[2023-01-09 10:36:58] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:59668]
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[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.

I do seem to be having ffmpeg errors... any advice?

 

I am not seeing the same errors in newer log entries. The previous entries looked to be using the non-reolink settings.

 

[2023-01-09 10:58:17] frigate.app                    INFO    : Starting Frigate (0.11.1-2eada21)
Starting migrations
[2023-01-09 10:58:17] peewee_migrate                 INFO    : Starting migrations
There is nothing to migrate
[2023-01-09 10:58:17] peewee_migrate                 INFO    : There is nothing to migrate
[2023-01-09 10:58:17] frigate.mqtt                   INFO    : Turning on recordings for Doorbell via mqtt
[2023-01-09 10:58:17] frigate.mqtt                   INFO    : Turning on snapshots for Doorbell via mqtt
[2023-01-09 10:58:17] detector.cpu                   INFO    : Starting detection process: 239
[2023-01-09 10:58:17] frigate.app                    INFO    : Output process started: 240
[2023-01-09 10:58:17] ws4py                          INFO    : Using epoll
[2023-01-09 10:58:17] frigate.app                    INFO    : Camera processor started for Doorbell: 245
[2023-01-09 10:58:17] frigate.app                    INFO    : Capture process started for Doorbell: 246
[2023-01-09 10:58:17] frigate.edgetpu                WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
[2023-01-09 10:58:17] ws4py                          INFO    : Using epoll
[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.
[2023-01-09 10:59:07] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:60240]
[2023-01-09 10:59:13] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:46344]
[2023-01-09 10:59:21] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:46344]
[2023-01-09 11:00:27] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:60240]
[2023-01-09 11:01:26] frigate.http                   ERROR   : No recordings found for the requested time range
[2023-01-09 11:04:42] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:53340]
[2023-01-09 11:07:57] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:42318]
[2023-01-09 11:08:00] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:54438]
[2023-01-09 11:08:33] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:54438]
[2023-01-09 11:08:33] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:42318]
[2023-01-09 11:08:33] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:46640]
[2023-01-09 11:08:34] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:53040]
[2023-01-09 11:08:35] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:53040]
[2023-01-09 11:08:36] frigate.http                   ERROR   : No recordings found for the requested time range

 

Edited by headtrip0
spelling and additional info
Link to comment
1 hour ago, headtrip0 said:
[2023-01-09 10:06:47] frigate.mqtt                   INFO    : Turning on snapshots for Doorbell via mqtt
[2023-01-09 10:06:47] ws4py                          INFO    : Using epoll
[2023-01-09 10:07:06] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:57006]
[2023-01-09 10:07:08] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:57006]
[2023-01-09 10:07:08] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:57018]
[2023-01-09 10:07:15] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:47726]
[2023-01-09 10:07:19] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:47726]
[2023-01-09 10:07:22] frigate.http                   ERROR   : No recordings found for the requested time range
[2023-01-09 10:07:32] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:36742]
[2023-01-09 10:07:35] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:51734]
[2023-01-09 10:07:38] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:51734]
[2023-01-09 10:13:52] frigate.http                   ERROR   : No recordings found for the requested time range
[2023-01-09 10:16:57] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:57018]
[2023-01-09 10:16:57] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:36742]
[2023-01-09 10:17:17] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:43654]
[2023-01-09 10:18:57] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:43654]
[2023-01-09 10:30:47] frigate.video                  ERROR   : Doorbell: Unable to read frames from ffmpeg process.
[2023-01-09 10:30:47] frigate.video                  ERROR   : Doorbell: ffmpeg process is not running. exiting capture thread...
[2023-01-09 10:30:47] watchdog.Doorbell              ERROR   : Ffmpeg process crashed unexpectedly for Doorbell.
[2023-01-09 10:30:47] watchdog.Doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   : [flv @ 0x55c13f5665c0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   : [rtsp @ 0x55c13f549bc0] CSeq 21 expected, 0 received.
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x55c1402a8a00] cabac decode of qscale diff failed at 148 94
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x55c1402a8a00] error while decoding MB 148 94, bytestream 5410
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x55c140377c40] Increasing reorder buffer to 1
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   : rtsp://admin:[email protected]:554/h264Preview_01_main: corrupt decoded frame in stream 0
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   : [h264 @ 0x55c1401d9700] error while decoding MB 132 119, bytestream 350
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   : rtsp://admin:[email protected]:554/h264Preview_01_main: Connection timed out
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   :     Last message repeated 15 times
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   : rtsp://admin:[email protected]:554/h264Preview_01_main: corrupt decoded frame in stream 0
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   : rtsp://admin:[email protected]:554/h264Preview_01_main: Connection timed out
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   : [flv @ 0x55c13f5665c0] Failed to update header with correct duration.
[2023-01-09 10:30:47] ffmpeg.Doorbell.detect         ERROR   : [flv @ 0x55c13f5665c0] Failed to update header with correct filesize.
[2023-01-09 10:35:38] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:59668]
[2023-01-09 10:35:39] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:35400]
[2023-01-09 10:35:42] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:35400]
[2023-01-09 10:35:57] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:39446]
[2023-01-09 10:36:06] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:39446]
[2023-01-09 10:36:58] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:59668]
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[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.

I do seem to be having ffmpeg errors... any advise?

No, please ask on github https://github.com/blakeblackshear/frigate/issues

Link to comment

Hey Guys,

I am fairly new to Unraid (second day) and had Frigate running in a VM on my Synology. 

My config file is quite large, but everything has worked very well for the last few years. 

Due to CPU limitations I would now like to switch to Unraid

 

About my setup:
I have several H264 capable cameras and one camera that can only do H265 (called Spielzimmer in the config). 


So far I have solved it by configuring ffmpeg hwaccel_args once globally and for the one H265 camera the hwaccell_args was adjusted again. This seems to no longer work after initial tests with the Unraid container. Generally ffmpeg configurations do not seem to be provided here or? Only when I comment out ffmpeg Frigate runs and I get images of the H264 camera displayed. 
How do I then set that I would also like to record the sound and that the H265 stream must first be transcoded with Intel QuickSync? 
 

My old config is this: 

 

# yaml-language-server: $schema=http://homeassistant:5000/api/config/schema

mqtt:
  host: 10.20.60.113
  port: 1883
  user: ****
  password: ****

detectors:
  coral:
    type: edgetpu
    device: usb


cameras:
  Spielzimmer:
    ffmpeg:
    #  output_args:
    #    record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 copy -tag:v hvc1 -c:a aac
    #    rtmp: -c copy -f flv -tag:v hvc1
      inputs:
        - path: rtsp://****:****@10.20.60.87:556/Streaming/Channels/102/
          roles:
            - detect
            - record
        #- path: rtsp://****:****@10.20.60.87:556/Streaming/Channels/101/
        #  roles:
        #    - record
    best_image_timeout: 60
    detect:
      width: 640
      height: 480
      fps: 5
    motion:
      mask:
        - 640,316,640,0,531,0,360,0,350,62
        - 386,336,498,436,508,415,497,346,436,298,414,306
        - 291,0,254,275,116,350,97,37
    mqtt:
      enabled: True
      timestamp: True
      bounding_box: True
      crop: True
      height: 270
      quality: 100



  Sauna:
    ffmpeg:
      inputs:
        - path: rtsp://****:****[email protected]:556/Streaming/Channels/103
          roles:
            - detect
            - rtmp
        - path: rtsp://****:****[email protected]:556/Streaming/Channels/101
          roles:
            - record
            #- rtmp
    #best_image_timeout: 60
    motion:
      mask:
        - 37,105,501,102,506,47,37,42
        - 1920,0,1920,281,1485,313,1046,397,983,0
        - 1072,464,1242,472,1255,341,1082,201
        - 1920,1080,1920,587,1344,514,1189,563,1099,652,837,827,1033,791,1119,945,960,1080
        - 1633,0,1920,0,1920,546,1795,532,1742,551,1698,543,1615,529,1558,446,1563,342
    mqtt:
      enabled: True
      timestamp: True
      bounding_box: True
      crop: True
      height: 270
      quality: 100

  Hintereingang:
    ffmpeg:
      inputs:
        - path: rtsp://****:****@10.20.60.103:556/Streaming/Channels/103
          roles:
            - detect
            - rtmp  
        - path: rtsp://****:****@10.20.60.103:556/Streaming/Channels/101
          roles:
            - record
            #- rtmp
    best_image_timeout: 60
    motion:
      mask:
        - 743,0,1800,0,1789,324,1159,345,877,373,846,490,696,535,563,461,469,529,292,881,0,639,0,469,0,0
    mqtt:
      enabled: True
      timestamp: True
      bounding_box: True
      crop: True
      height: 270
      quality: 100

  Hinten:
    ffmpeg:
      inputs:
        - path: rtsp://****:****@10.20.60.105:556/Streaming/Channels/103
          roles:
            - detect
            - rtmp
        - path: rtsp://****:****@10.20.60.105:556/Streaming/Channels/101
          roles:
            - record
            #- rtmp
    best_image_timeout: 60
    mqtt:
      enabled: True
      timestamp: True
      bounding_box: True
      crop: True
      height: 270
      quality: 100

  Tor:
    ffmpeg:
      inputs:
        - path: rtsp://****:****@10.20.60.106:556/Streaming/Channels/103
          roles:
            - detect
            - rtmp
        - path: rtsp://****:****@10.20.60.106:556/Streaming/Channels/101
          roles:
            - record
            #- rtmp
    #best_image_timeout: 60
    mqtt:
      enabled: True
      timestamp: True
      bounding_box: True
      crop: True
      height: 270
      quality: 100

birdseye:
  enabled: True
  width: 1920
  height: 1080
  quality: 27
  mode: continuous

timestamp_style:
  position: "tl"
  format: "%d/%m/%Y %H:%M:%S"
  color:
    red: 255
    green: 255
    blue: 255
  thickness: 2
  effect: shadow

motion:
  threshold: 50
  contour_area: 30
  delta_alpha: 0.2
  frame_alpha: 0.2
  frame_height: 50
  #mask: 0,900,1080,900,1080,1920,0,1920
  improve_contrast: True


record:
  enabled: True
  expire_interval: 60
  retain:
    days: 5
    mode: all
  events:
    pre_capture: 10
    post_capture: 15
    retain:
      default: 1
      mode: active_objects
      objects:
        person: 7
        cat: 7


objects:
  track:
    - person
    - mouse
    - cat
    - dog
    - laptop
    - handbag
    - umbrella
    - backpack
    - cell phone
    - bicycle
    - cow
    - sheep
    - bird
    - bear
    #- car
    - baseball bat
    - tennis racket
    - knife
    - bottle
    - scissors
  filters:
    person:
      min_area: 1000
      max_area: 400000
      min_score: 0.6
      threshold: 0.75
    cat:
      min_score: 0.7
      threshold: 0.80
    laptop:
      min_score: 0.8
      threshold: 0.9
    bird:
      min_score: 0.8
      threshold: 0.9
      max_area: 90000
    dog:
      min_score: 0.75
      threshold: 0.85
    umbrella:
      min_score: 0.7
      threshold: 0.84
      max_area: 202000
    mouse: 
      min_score: 0.7
      threshold: 0.84
      max_area: 6000
    bear:
      min_score: 0.7
      threshold: 0.9
      max_area: 24000
    sheep:
      min_score: 0.7
      threshold: 0.85
    backpack:
      min_score: 0.75
      threshold: 0.85
ffmpeg:
  global_args: -hide_banner -loglevel warning
  hwaccel_args:
    - -hwaccel_output_format
    -  -c:v h264_qsv
  input_args: -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1
  output_args:
    detect: -f rawvideo -pix_fmt yuv420p
    record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac
    rtmp: -c:v copy -c:a aac -f flv
environment_vars:
  LIBVA_DRIVER_NAME: i965
detect:
  width: 1920
  height: 1080
  fps: 5
  enabled: True
  max_disappeared: 25
  stationary:
    interval: 10
    max_frames:
      objects:
        person: 1000
        cat: 5000

rtmp:
  enabled: False

snapshots:
  enabled: True
  timestamp: True
  bounding_box: True
  crop: True
  #height: 175
  required_zones: []
  retain:
    default: 10
    objects:
      person: 15
      cat: 10
      bear: 5
      dog: 5

 

Link to comment
44 minutes ago, Mibelosa said:

Hey Guys,

I am fairly new to Unraid (second day) and had Frigate running in a VM on my Synology. 

My config file is quite large, but everything has worked very well for the last few years. 

Due to CPU limitations I would now like to switch to Unraid

 

About my setup:
I have several H264 capable cameras and one camera that can only do H265 (called Spielzimmer in the config). 


So far I have solved it by configuring ffmpeg hwaccel_args once globally and for the one H265 camera the hwaccell_args was adjusted again. This seems to no longer work after initial tests with the Unraid container. Generally ffmpeg configurations do not seem to be provided here or? Only when I comment out ffmpeg Frigate runs and I get images of the H264 camera displayed. 
How do I then set that I would also like to record the sound and that the H265 stream must first be transcoded with Intel QuickSync? 
 

My old config is this: 

 

# yaml-language-server: $schema=http://homeassistant:5000/api/config/schema

mqtt:
  host: 10.20.60.113
  port: 1883
  user: ****
  password: ****

detectors:
  coral:
    type: edgetpu
    device: usb


cameras:
  Spielzimmer:
    ffmpeg:
    #  output_args:
    #    record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 copy -tag:v hvc1 -c:a aac
    #    rtmp: -c copy -f flv -tag:v hvc1
      inputs:
        - path: rtsp://****:****@10.20.60.87:556/Streaming/Channels/102/
          roles:
            - detect
            - record
        #- path: rtsp://****:****@10.20.60.87:556/Streaming/Channels/101/
        #  roles:
        #    - record
    best_image_timeout: 60
    detect:
      width: 640
      height: 480
      fps: 5
    motion:
      mask:
        - 640,316,640,0,531,0,360,0,350,62
        - 386,336,498,436,508,415,497,346,436,298,414,306
        - 291,0,254,275,116,350,97,37
    mqtt:
      enabled: True
      timestamp: True
      bounding_box: True
      crop: True
      height: 270
      quality: 100



  Sauna:
    ffmpeg:
      inputs:
        - path: rtsp://****:****[email protected]:556/Streaming/Channels/103
          roles:
            - detect
            - rtmp
        - path: rtsp://****:****[email protected]:556/Streaming/Channels/101
          roles:
            - record
            #- rtmp
    #best_image_timeout: 60
    motion:
      mask:
        - 37,105,501,102,506,47,37,42
        - 1920,0,1920,281,1485,313,1046,397,983,0
        - 1072,464,1242,472,1255,341,1082,201
        - 1920,1080,1920,587,1344,514,1189,563,1099,652,837,827,1033,791,1119,945,960,1080
        - 1633,0,1920,0,1920,546,1795,532,1742,551,1698,543,1615,529,1558,446,1563,342
    mqtt:
      enabled: True
      timestamp: True
      bounding_box: True
      crop: True
      height: 270
      quality: 100

  Hintereingang:
    ffmpeg:
      inputs:
        - path: rtsp://****:****@10.20.60.103:556/Streaming/Channels/103
          roles:
            - detect
            - rtmp  
        - path: rtsp://****:****@10.20.60.103:556/Streaming/Channels/101
          roles:
            - record
            #- rtmp
    best_image_timeout: 60
    motion:
      mask:
        - 743,0,1800,0,1789,324,1159,345,877,373,846,490,696,535,563,461,469,529,292,881,0,639,0,469,0,0
    mqtt:
      enabled: True
      timestamp: True
      bounding_box: True
      crop: True
      height: 270
      quality: 100

  Hinten:
    ffmpeg:
      inputs:
        - path: rtsp://****:****@10.20.60.105:556/Streaming/Channels/103
          roles:
            - detect
            - rtmp
        - path: rtsp://****:****@10.20.60.105:556/Streaming/Channels/101
          roles:
            - record
            #- rtmp
    best_image_timeout: 60
    mqtt:
      enabled: True
      timestamp: True
      bounding_box: True
      crop: True
      height: 270
      quality: 100

  Tor:
    ffmpeg:
      inputs:
        - path: rtsp://****:****@10.20.60.106:556/Streaming/Channels/103
          roles:
            - detect
            - rtmp
        - path: rtsp://****:****@10.20.60.106:556/Streaming/Channels/101
          roles:
            - record
            #- rtmp
    #best_image_timeout: 60
    mqtt:
      enabled: True
      timestamp: True
      bounding_box: True
      crop: True
      height: 270
      quality: 100

birdseye:
  enabled: True
  width: 1920
  height: 1080
  quality: 27
  mode: continuous

timestamp_style:
  position: "tl"
  format: "%d/%m/%Y %H:%M:%S"
  color:
    red: 255
    green: 255
    blue: 255
  thickness: 2
  effect: shadow

motion:
  threshold: 50
  contour_area: 30
  delta_alpha: 0.2
  frame_alpha: 0.2
  frame_height: 50
  #mask: 0,900,1080,900,1080,1920,0,1920
  improve_contrast: True


record:
  enabled: True
  expire_interval: 60
  retain:
    days: 5
    mode: all
  events:
    pre_capture: 10
    post_capture: 15
    retain:
      default: 1
      mode: active_objects
      objects:
        person: 7
        cat: 7


objects:
  track:
    - person
    - mouse
    - cat
    - dog
    - laptop
    - handbag
    - umbrella
    - backpack
    - cell phone
    - bicycle
    - cow
    - sheep
    - bird
    - bear
    #- car
    - baseball bat
    - tennis racket
    - knife
    - bottle
    - scissors
  filters:
    person:
      min_area: 1000
      max_area: 400000
      min_score: 0.6
      threshold: 0.75
    cat:
      min_score: 0.7
      threshold: 0.80
    laptop:
      min_score: 0.8
      threshold: 0.9
    bird:
      min_score: 0.8
      threshold: 0.9
      max_area: 90000
    dog:
      min_score: 0.75
      threshold: 0.85
    umbrella:
      min_score: 0.7
      threshold: 0.84
      max_area: 202000
    mouse: 
      min_score: 0.7
      threshold: 0.84
      max_area: 6000
    bear:
      min_score: 0.7
      threshold: 0.9
      max_area: 24000
    sheep:
      min_score: 0.7
      threshold: 0.85
    backpack:
      min_score: 0.75
      threshold: 0.85
ffmpeg:
  global_args: -hide_banner -loglevel warning
  hwaccel_args:
    - -hwaccel_output_format
    -  -c:v h264_qsv
  input_args: -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1
  output_args:
    detect: -f rawvideo -pix_fmt yuv420p
    record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac
    rtmp: -c:v copy -c:a aac -f flv
environment_vars:
  LIBVA_DRIVER_NAME: i965
detect:
  width: 1920
  height: 1080
  fps: 5
  enabled: True
  max_disappeared: 25
  stationary:
    interval: 10
    max_frames:
      objects:
        person: 1000
        cat: 5000

rtmp:
  enabled: False

snapshots:
  enabled: True
  timestamp: True
  bounding_box: True
  crop: True
  #height: 175
  required_zones: []
  retain:
    default: 10
    objects:
      person: 15
      cat: 10
      bear: 5
      dog: 5

 

I'm not sure tha this can be done on the config file:

 

environment_vars:
  LIBVA_DRIVER_NAME: i965

 

You should edit the template on unraid and add a variable. Furthermore, if you are using the i965 driver, is your intel chip <10th Generation? Because then you have defined this:

  hwaccel_args:
    - -hwaccel_output_format
    -  -c:v h264_qsv

 

But for <10th gen you should use (https://docs.frigate.video/configuration/hardware_acceleration#intel-based-cpus-10th-generation-via-quicksync):

 

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

 

Beside that, the only thin I can say that ffmpeg can be tricky. Next frigate version witch is actually in beta simplifies the input and output arguments definition with preconfigured presets, that I think can help you a lot in this case.

  • Like 1
Link to comment

Hi together,

 

Since I’ve been searched for long time how to get a coral running on my system and the CORAL USB is sold out or crazy more expensive finally I found a solution that worked for me.

 

I was able to order a good price dual edge tpu, but I had only pcie x1 free on my board.

After a few unsuccessful attempts, I finally found the right one.

I found the “Dual Edge TPU Adapter - PCIe x1”.

I plugged in, installing the 'Coral Accelerator Module Driver' app, change the frigate config to Dual

and it just works!

The advantage is, for the same price of a Coral USB I have now two Cores instead of one!

 

Here is the link for the adapter from Github:

https://github.com/magic-blue-smoke/Dual-Edge-TPU-Adapter

 

And I ordered here:

https://www.makerfabs.com/dual-edge-tpu-adapter.html

  • Like 1
Link to comment
2 hours ago, Daniel Schneider said:

Hi together,

 

Since I’ve been searched for long time how to get a coral running on my system and the CORAL USB is sold out or crazy more expensive finally I found a solution that worked for me.

 

I was able to order a good price dual edge tpu, but I had only pcie x1 free on my board.

After a few unsuccessful attempts, I finally found the right one.

I found the “Dual Edge TPU Adapter - PCIe x1”.

I plugged in, installing the 'Coral Accelerator Module Driver' app, change the frigate config to Dual

and it just works!

The advantage is, for the same price of a Coral USB I have now two Cores instead of one!

 

Here is the link for the adapter from Github:

https://github.com/magic-blue-smoke/Dual-Edge-TPU-Adapter

 

And I ordered here:

https://www.makerfabs.com/dual-edge-tpu-adapter.html

Where did you find stock of dual edge tpu?

 

Anyway, make sure you a have a correct thermal dissipation as Dual Edge TPU gets very hot and there is a real fire hazard. I think that the driver will shutdown the tpu before it gets dangerous (correct me @ich777) but just in case...

Edited by yayitazale
Link to comment
1 hour ago, yayitazale said:

Anyway, make sure you a have a correct thermal dissipation as Dual Edge TPU gets very hot and there is a real fire hazard. I think that the driver will shutdown the tpu before it gets dangerous (correct me @ich777) but just in case...

Exactly, but if there is no thermal solution applied to the Dual Edge TPU even a short period of time could overheat the TPU, especially the power circuit is at least according to the Coral Team really sensitive.

Link to comment
9 hours ago, Daniel Schneider said:

Here is the link for the adapter from Github:

https://github.com/magic-blue-smoke/Dual-Edge-TPU-Adapter

I had a blackout the other day and I don't think my m2. coral and/or adaptor survived.  Coral crashes the whole server after a couple of minutes causing a server reboot. This is after months of uptime.

Fortunately I have a spare USB coral to use.  Probably just order another adaptor to see exactly where the problem is.

Link to comment
  • 2 weeks later...

My frigate instance has been crashing recently.  Looking for some guidance.  Should I switch over to the new beta release?  Here are the logs from a start and eventual crash:

[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.
Plus API Key is not formatted correctly.
[2023-02-02 15:29:20] frigate.app INFO : Starting Frigate (0.11.1-2eada21)
Starting migrations
[2023-02-02 15:29:20] peewee_migrate INFO : Starting migrations
There is nothing to migrate
[2023-02-02 15:29:20] peewee_migrate INFO : There is nothing to migrate
[2023-02-02 15:29:20] detector.coral INFO : Starting detection process: 256
[2023-02-02 15:29:20] frigate.app INFO : Output process started: 257
[2023-02-02 15:29:20] ws4py INFO : Using epoll
[2023-02-02 15:29:20] frigate.app INFO : Camera processor started for Garage_Front: 262
[2023-02-02 15:29:20] frigate.app INFO : Camera processor started for Deck: 263
[2023-02-02 15:29:20] frigate.app INFO : Camera processor started for Porch: 264
[2023-02-02 15:29:20] frigate.app INFO : Camera processor started for AC_Side: 266
[2023-02-02 15:29:20] frigate.edgetpu INFO : Attempting to load TPU as usb
[2023-02-02 15:29:20] frigate.app INFO : Capture process started for Garage_Front: 267
[2023-02-02 15:29:20] frigate.app INFO : Capture process started for Deck: 268
[2023-02-02 15:29:20] frigate.app INFO : Capture process started for Porch: 274
[2023-02-02 15:29:20] frigate.app INFO : Capture process started for AC_Side: 278
[2023-02-02 15:29:21] ws4py INFO : Using epoll
[2023-02-02 15:29:23] frigate.edgetpu INFO : TPU found
[2023-02-02 15:29:28] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:38196]
[2023-02-02 15:29:31] ws4py INFO : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:39044]
[2023-02-02 15:29:34] ws4py INFO : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:39044]
[2023-02-02 15:30:28] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:38196]
[2023-02-02 15:32:55] ws4py INFO : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:40464]
[2023-02-02 16:50:45] ws4py INFO : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:40464]
Fatal Python error: Segmentation fault


Thread 0x000014b9ebe40700 (most recent call first):
File "/usr/lib/python3.9/threading.py", line 312 in wait
File "/usr/lib/python3.9/multiprocessing/queues.py", line 233 in _feed
File "/usr/lib/python3.9/threading.py", line 892 in run
File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x000014b9e9c3f700 (most recent call first):
File "/usr/lib/python3.9/threading.py", line 312 in wait
File "/usr/lib/python3.9/multiprocessing/queues.py", line 233 in _feed
File "/usr/lib/python3.9/threading.py", line 892 in run
File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x000014b9e143b700 (most recent call first):
File "/usr/lib/python3.9/threading.py", line 312 in wait
File "/usr/lib/python3.9/multiprocessing/queues.py", line 233 in _feed
File "/usr/lib/python3.9/threading.py", line 892 in run
File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x000014b9df23a700 (most recent call first):
File "/usr/lib/python3.9/threading.py", line 312 in wait
File "/usr/lib/python3.9/multiprocessing/queues.py", line 233 in _feed
File "/usr/lib/python3.9/threading.py", line 892 in run
File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x000014b9dd039700 (most recent call first):
File "/usr/lib/python3.9/multiprocessing/synchronize.py", line 261 in wait
File "/usr/lib/python3.9/multiprocessing/synchronize.py", line 349 in wait
File "/opt/frigate/frigate/watchdog.py", line 24 in run
File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x000014b9dae38700 (most recent call first):
File "/usr/lib/python3.9/multiprocessing/synchronize.py", line 261 in wait
File "/usr/lib/python3.9/multiprocessing/synchronize.py", line 349 in wait
File "/opt/frigate/frigate/stats.py", line 155 in run
File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x000014b9d8c37700 (most recent call first):
File "/usr/lib/python3.9/multiprocessing/synchronize.py", line 261 in wait
File "/usr/lib/python3.9/multiprocessing/synchronize.py", line 349 in wait
File "/opt/frigate/frigate/record.py", line 567 in run
File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Current thread 0x000014b9d6a36700 (most recent call first):
File "/usr/lib/python3.9/selectors.py", line 349 in __init__
File "/usr/lib/python3.9/multiprocessing/connection.py", line 928 in wait
File "/usr/lib/python3.9/multiprocessing/connection.py", line 429 in _poll
File "/usr/lib/python3.9/multiprocessing/connection.py", line 262 in poll
File "/usr/lib/python3.9/multiprocessing/queues.py", line 115 in get
File "/opt/frigate/frigate/record.py", line 327 in run
File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x000014b9d4835700 (most recent call first):
File "/usr/lib/python3.9/multiprocessing/synchronize.py", line 261 in wait
File "/usr/lib/python3.9/multiprocessing/synchronize.py", line 349 in wait
File "/opt/frigate/frigate/events.py", line 292 in run
File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x000014b9d2634700 (most recent call first):
File "/usr/lib/python3.9/selectors.py", line 416 in select
File "/usr/lib/python3.9/multiprocessing/connection.py", line 936 in wait
File "/usr/lib/python3.9/multiprocessing/connection.py", line 429 in _poll
File "/usr/lib/python3.9/multiprocessing/connection.py", line 262 in poll
File "/usr/lib/python3.9/multiprocessing/queues.py", line 113 in get
File "/opt/frigate/frigate/events.py", line 58 in run
File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x000014b9d0433700 (most recent call first):
File "/usr/lib/python3.9/selectors.py", line 416 in select
File "/usr/lib/python3.9/socketserver.py", line 232 in serve_forever
File "/usr/lib/python3.9/threading.py", line 892 in run
File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x000014b9ce232700 (most recent call first):
File "/usr/local/lib/python3.9/dist-packages/ws4py/manager.py", line 141 in poll
File "/usr/local/lib/python3.9/dist-packages/ws4py/manager.py", line 312 in run
File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x000014b9cc031700 (most recent call first):
File "/usr/lib/python3.9/selectors.py", line 416 in select
File "/usr/lib/python3.9/multiprocessing/connection.py", line 936 in wait
File "/usr/lib/python3.9/multiprocessing/connection.py", line 429 in _poll
File "/usr/lib/python3.9/multiprocessing/connection.py", line 262 in poll
File "/usr/lib/python3.9/multiprocessing/queues.py", line 113 in get
File "/opt/frigate/frigate/object_processing.py", line 895 in run
File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x000014b9c9e30700 (most recent call first):
File "/usr/local/lib/python3.9/dist-packages/paho/mqtt/client.py", line 1150 in _loop
File "/usr/local/lib/python3.9/dist-packages/paho/mqtt/client.py", line 1756 in loop_forever
File "/usr/local/lib/python3.9/dist-packages/paho/mqtt/client.py", line 3591 in _thread_main
File "/usr/lib/python3.9/threading.py", line 892 in run
File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x000014b9c7c2f700 (most recent call first):
File "/usr/lib/python3.9/threading.py", line 312 in wait
File "/usr/lib/python3.9/queue.py", line 171 in get
File "/usr/local/lib/python3.9/dist-packages/playhouse/sqliteq.py", line 159 in loop
File "/usr/local/lib/python3.9/dist-packages/playhouse/sqliteq.py", line 136 in run
File "/usr/local/lib/python3.9/dist-packages/playhouse/sqliteq.py", line 266 in run
File "/usr/lib/python3.9/threading.py", line 892 in run
File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x000014b9c5a2e700 (most recent call first):
File "/usr/lib/python3.9/threading.py", line 312 in wait
File "/usr/lib/python3.9/multiprocessing/queues.py", line 233 in _feed
File "/usr/lib/python3.9/threading.py", line 892 in run
File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x000014b9f7148740 (most recent call first):
File "/usr/lib/python3.9/selectors.py", line 416 in select
File "/usr/lib/python3.9/socketserver.py", line 232 in serve_forever
File "/usr/local/lib/python3.9/dist-packages/werkzeug/serving.py", line 741 in serve_forever
File "/usr/local/lib/python3.9/dist-packages/werkzeug/serving.py", line 1098 in run_simple
File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 914 in run
File "/opt/frigate/frigate/app.py", line 383 in start
File "/opt/frigate/frigate/__main__.py", line 16 in <module>
File "/usr/lib/python3.9/runpy.py", line 87 in _run_code
File "/usr/lib/python3.9/runpy.py", line 197 in _run_module_as_main
[cmd] python3 exited 267
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting

 

Link to comment

Hi, 

I am very interested in this project as I no longer want to run a VM just for Blue Iris,

 

1, I have tried to install but finding the instructions very fragmented and not neccassarily relating to unraid, is there a step by step guide to unraid installation anywhere?

 

2, Do I need an accelerator? I have a 13600K, will I notice a large increase in CPU?

 

Many thanks in advance!

Link to comment
7 hours ago, mbc0 said:

Hi, 

I am very interested in this project as I no longer want to run a VM just for Blue Iris,

 

1, I have tried to install but finding the instructions very fragmented and not neccassarily relating to unraid, is there a step by step guide to unraid installation anywhere?

 

2, Do I need an accelerator? I have a 13600K, will I notice a large increase in CPU?

 

Many thanks in advance!

1:
No, the only thing I can offer you is the post in my personal blog where I explain the installation in unraid but it is in Spanish (you can translate it to English with google): https://firstcommit.dev/2022/01/09/frigate/

To do the installation in unraid you just have to edit the template entries according to your needs. To create the configuration file you should read the documentation on the frigate webpage as it is very complete (there is nothing special to do in that file because you installed it on unraid, it doesn't depend on that but on your hardware and cameras and so on): https://docs.frigate.video/

2:
It is not strictly necessary but yes, depending on the number of cameras and their resolution, you will notice an important impact on your server performance. In the next version of frigate (it is in beta right now) you will be able to use your Intel embedded GPU or an Nvidia graphics card for detection as well as for hardware acceleration of decoding and encoding of the streams (finding stock of TPU cards is tricky right now).

Link to comment
43 minutes ago, yayitazale said:

1:
No, the only thing I can offer you is the post in my personal blog where I explain the installation in unraid but it is in Spanish (you can translate it to English with google): https://firstcommit.dev/2022/01/09/frigate/

To do the installation in unraid you just have to edit the template entries according to your needs. To create the configuration file you should read the documentation on the frigate webpage as it is very complete (there is nothing special to do in that file because you installed it on unraid, it doesn't depend on that but on your hardware and cameras and so on): https://docs.frigate.video/

2:
It is not strictly necessary but yes, depending on the number of cameras and their resolution, you will notice an important impact on your server performance. In the next version of frigate (it is in beta right now) you will be able to use your Intel embedded GPU or an Nvidia graphics card for detection as well as for hardware acceleration of decoding and encoding of the streams (finding stock of TPU cards is tricky right now).

Thank you so much for your detailed reply and your blog looks excellent! I am looking forward to working through that later 🙂

 

I currently have 6 cameras (5X2K and 1X4K) and running Blue Iris I have a cpu usage of approx 6% but obviously there is no AI going on, just recording raw to hard disk and using low res sub streams to the web viewer.  I am currently trialing Agent-DVR but really struggling with the interface, I can't be sure that it is doing what it should, it does not fill me with confidence so after some reading, Frigate appears to be the way forward.

 

I will hold off on buying any acceleration as I have a 13600K CPU with iGPU so when the beta is available with iGPU encoding that will be interesting to test.

 

Again, Many thanks for your reply!

Link to comment
42 minutes ago, mbc0 said:

Thank you so much for your detailed reply and your blog looks excellent! I am looking forward to working through that later 🙂

 

I currently have 6 cameras (5X2K and 1X4K) and running Blue Iris I have a cpu usage of approx 6% but obviously there is no AI going on, just recording raw to hard disk and using low res sub streams to the web viewer.  I am currently trialing Agent-DVR but really struggling with the interface, I can't be sure that it is doing what it should, it does not fill me with confidence so after some reading, Frigate appears to be the way forward.

 

I will hold off on buying any acceleration as I have a 13600K CPU with iGPU so when the beta is available with iGPU encoding that will be interesting to test.

 

Again, Many thanks for your reply!

You can already test the Beta 7 in unraid (it's the CA store with the link to the beta docs in the description) but I think that it still will recieve some changes in the near future until the final stable version is released.

  • Like 1
Link to comment

Frigate was working so well on UNRAID with my wyze cams and no CORAL, but  it stopped working few weeks ago, this is what I see in the logs:

 

text  error  warn  system  array  login  

[2023-02-13 15:39:27] frigate.video                  ERROR   : garden2: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:39:27] frigate.video                  ERROR   : frontyard: Unable to read frames from ffmpeg process.
[2023-02-13 15:39:27] frigate.video                  ERROR   : garage: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:39:27] frigate.video                  ERROR   : frontyard: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:39:32] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:53244]
[2023-02-13 15:39:34] watchdog.frontyard             ERROR   : Ffmpeg process crashed unexpectedly for frontyard.
[2023-02-13 15:39:34] watchdog.frontyard             ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:39:34] ffmpeg.frontyard.detect        ERROR   : [tcp @ 0x55f1ef216240] Connection to tcp://192.168.20.125:554?timeout=5000000 failed: No route to host
[2023-02-13 15:39:34] ffmpeg.frontyard.detect        ERROR   : rtsp://XXXX:[email protected]/live: No route to host
[2023-02-13 15:39:34] watchdog.garage                ERROR   : Ffmpeg process crashed unexpectedly for garage.
[2023-02-13 15:39:34] watchdog.garage                ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:39:34] ffmpeg.garage.detect           ERROR   : [tcp @ 0x55cacbc1f240] Connection to tcp://192.168.20.53:554?timeout=5000000 failed: No route to host
[2023-02-13 15:39:34] ffmpeg.garage.detect           ERROR   : rtsp://XXXXX:[email protected]/live: No route to host
[2023-02-13 15:39:34] watchdog.garden2               ERROR   : Ffmpeg process crashed unexpectedly for garden2.
[2023-02-13 15:39:34] watchdog.garden2               ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:39:34] ffmpeg.garden2.detect          ERROR   : [tcp @ 0x5557daca5240] Connection to tcp://192.168.20.191:554?timeout=5000000 failed: No route to host
[2023-02-13 15:39:34] ffmpeg.garden2.detect          ERROR   : rtsp://XXX:[email protected]/live: No route to host
[2023-02-13 15:39:37] frigate.video                  ERROR   : frontyard: Unable to read frames from ffmpeg process.
[2023-02-13 15:39:37] frigate.video                  ERROR   : garden2: Unable to read frames from ffmpeg process.
[2023-02-13 15:39:37] frigate.video                  ERROR   : frontyard: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:39:37] frigate.video                  ERROR   : garden2: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:39:37] frigate.video                  ERROR   : garage: Unable to read frames from ffmpeg process.
[2023-02-13 15:39:37] frigate.video                  ERROR   : garage: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:39:44] watchdog.garage                ERROR   : Ffmpeg process crashed unexpectedly for garage.
[2023-02-13 15:39:44] watchdog.frontyard             ERROR   : Ffmpeg process crashed unexpectedly for frontyard.
[2023-02-13 15:39:44] watchdog.garage                ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:39:44] watchdog.frontyard             ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:39:44] watchdog.garden2               ERROR   : Ffmpeg process crashed unexpectedly for garden2.
[2023-02-13 15:39:44] ffmpeg.garage.detect           ERROR   : [tcp @ 0x556c74d47240] Connection to tcp://192.168.20.53:554?timeout=5000000 failed: No route to host
[2023-02-13 15:39:44] ffmpeg.frontyard.detect        ERROR   : [tcp @ 0x55b22779b240] Connection to tcp://192.168.20.125:554?timeout=5000000 failed: No route to host
[2023-02-13 15:39:44] ffmpeg.garage.detect           ERROR   : rtsp://XXX:[email protected]/live: No route to host
[2023-02-13 15:39:44] ffmpeg.frontyard.detect        ERROR   : rtsp://XXXX:[email protected]/live: No route to host
[2023-02-13 15:39:44] watchdog.garden2               ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:39:44] ffmpeg.garden2.detect          ERROR   : [tcp @ 0x55b6a4ac6240] Connection to tcp://192.168.20.191:554?timeout=5000000 failed: No route to host
[2023-02-13 15:39:44] ffmpeg.garden2.detect          ERROR   : rtsp://XXXX:[email protected]/live: No route to host
[2023-02-13 15:39:47] frigate.video                  ERROR   : garage: Unable to read frames from ffmpeg process.
[2023-02-13 15:39:47] frigate.video                  ERROR   : garden2: Unable to read frames from ffmpeg process.
[2023-02-13 15:39:47] frigate.video                  ERROR   : frontyard: Unable to read frames from ffmpeg process.
[2023-02-13 15:39:47] frigate.video                  ERROR   : frontyard: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:39:47] frigate.video                  ERROR   : garage: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:39:47] frigate.video                  ERROR   : garden2: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:39:54] watchdog.garage                ERROR   : Ffmpeg process crashed unexpectedly for garage.
[2023-02-13 15:39:54] watchdog.garage                ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:39:54] ffmpeg.garage.detect           ERROR   : [tcp @ 0x564047538240] Connection to tcp://192.168.20.53:554?timeout=5000000 failed: No route to host
[2023-02-13 15:39:54] ffmpeg.garage.detect           ERROR   : rtsp://XXXX:[email protected]/live: No route to host
[2023-02-13 15:39:54] watchdog.frontyard             ERROR   : Ffmpeg process crashed unexpectedly for frontyard.
[2023-02-13 15:39:54] watchdog.frontyard             ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:39:54] ffmpeg.frontyard.detect        ERROR   : [tcp @ 0x5601e680a240] Connection to tcp://192.168.20.125:554?timeout=5000000 failed: No route to host
[2023-02-13 15:39:54] ffmpeg.frontyard.detect        ERROR   : rtsp://XXXX:[email protected]/live: No route to host
[2023-02-13 15:39:54] watchdog.garden2               ERROR   : Ffmpeg process crashed unexpectedly for garden2.
[2023-02-13 15:39:54] watchdog.garden2               ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:39:54] ffmpeg.garden2.detect          ERROR   : [tcp @ 0x55d00efb0240] Connection to tcp://192.168.20.191:554?timeout=5000000 failed: No route to host
[2023-02-13 15:39:54] ffmpeg.garden2.detect          ERROR   : rtsp://XXXX:[email protected]/live: No route to host
[2023-02-13 15:39:57] frigate.video                  ERROR   : garden2: Unable to read frames from ffmpeg process.
[2023-02-13 15:39:57] frigate.video                  ERROR   : garden2: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:39:57] frigate.video                  ERROR   : garage: Unable to read frames from ffmpeg process.
[2023-02-13 15:39:57] frigate.video                  ERROR   : frontyard: Unable to read frames from ffmpeg process.
[2023-02-13 15:39:57] frigate.video                  ERROR   : garage: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:39:57] frigate.video                  ERROR   : frontyard: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:39:58] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:53244]
Plus API Key is not formatted correctly.
[2023-02-13 15:40:03] frigate.app                    INFO    : Starting Frigate (0.11.1-2eada21)
Starting migrations
[2023-02-13 15:40:03] peewee_migrate                 INFO    : Starting migrations
There is nothing to migrate
[2023-02-13 15:40:03] peewee_migrate                 INFO    : There is nothing to migrate
[2023-02-13 15:40:03] detector.cpu                   INFO    : Starting detection process: 225
[2023-02-13 15:40:03] frigate.edgetpu                WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
[2023-02-13 15:40:03] frigate.app                    INFO    : Output process started: 227
[2023-02-13 15:40:03] ws4py                          INFO    : Using epoll
[2023-02-13 15:40:03] frigate.app                    INFO    : Camera processor started for frontyard: 231
[2023-02-13 15:40:03] frigate.app                    INFO    : Camera processor started for garage: 233
[2023-02-13 15:40:03] frigate.app                    INFO    : Camera processor started for garden2: 234
[2023-02-13 15:40:03] frigate.app                    INFO    : Capture process started for frontyard: 236
[2023-02-13 15:40:03] frigate.app                    INFO    : Capture process started for garage: 239
[2023-02-13 15:40:03] frigate.app                    INFO    : Capture process started for garden2: 243
[2023-02-13 15:40:04] ws4py                          INFO    : Using epoll
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[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.
[2023-02-13 15:40:06] frigate.video                  ERROR   : frontyard: Unable to read frames from ffmpeg process.
[2023-02-13 15:40:06] frigate.video                  ERROR   : garage: Unable to read frames from ffmpeg process.
[2023-02-13 15:40:06] frigate.video                  ERROR   : garden2: Unable to read frames from ffmpeg process.
[2023-02-13 15:40:06] frigate.video                  ERROR   : garden2: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:40:06] frigate.video                  ERROR   : frontyard: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:40:06] frigate.video                  ERROR   : garage: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:40:23] watchdog.frontyard             ERROR   : Ffmpeg process crashed unexpectedly for frontyard.
[2023-02-13 15:40:23] watchdog.frontyard             ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:40:23] ffmpeg.frontyard.detect        ERROR   : [tcp @ 0x560f38bb4240] Connection to tcp://192.168.20.125:554?timeout=5000000 failed: No route to host
XXXXXX[2023-02-13 15:40:23] ffmpeg.garage.detect           ERROR   : rtsp://XXXX:[email protected]/live: No route to host
[2023-02-13 15:40:23] watchdog.garden2               ERROR   : Ffmpeg process crashed unexpectedly for garden2.
[2023-02-13 15:40:23] watchdog.garden2               ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:40:23] ffmpeg.garden2.detect          ERROR   : [tcp @ 0x55eef851c240] Connection to tcp://192.168.20.191:554?timeout=5000000 failed: No route to host
[2023-02-13 15:40:23] ffmpeg.garden2.detect          ERROR   : rtsp://XXXXX:[email protected]/live: No route to host
[2023-02-13 15:40:26] frigate.video                  ERROR   : garage: Unable to read frames from ffmpeg process.
[2023-02-13 15:40:26] frigate.video                  ERROR   : garage: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:40:26] frigate.video                  ERROR   : frontyard: Unable to read frames from ffmpeg process.
[2023-02-13 15:40:26] frigate.video                  ERROR   : frontyard: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:40:26] frigate.video                  ERROR   : garden2: Unable to read frames from ffmpeg process.
[2023-02-13 15:40:26] frigate.video                  ERROR   : garden2: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:40:33] watchdog.frontyard             ERROR   : Ffmpeg process crashed unexpectedly for frontyard.
[2023-02-13 15:40:33] watchdog.frontyard             ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:40:33] ffmpeg.frontyard.detect        ERROR   : [tcp @ 0x5592338a5240] Connection to tcp://192.168.20.125:554?timeout=5000000 failed: No route to host
[2023-02-13 15:40:33] ffmpeg.frontyard.detect        ERROR   : rtsp://XXXX:[email protected]/live: No route to host
[2023-02-13 15:40:33] watchdog.garage                ERROR   : Ffmpeg process crashed unexpectedly for garage.
[2023-02-13 15:40:33] watchdog.garage                ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:40:33] ffmpeg.garage.detect           ERROR   : [tcp @ 0x55c9068a5240] Connection to tcp://192.168.20.53:554?timeout=5000000 failed: No route to host
[2023-02-13 15:40:33] ffmpeg.garage.detect           ERROR   : rtsp://XXXX:[email protected]/live: No route to host
[2023-02-13 15:40:33] watchdog.garden2               ERROR   : Ffmpeg process crashed unexpectedly for garden2.
[2023-02-13 15:40:33] watchdog.garden2               ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:40:33] ffmpeg.garden2.detect          ERROR   : [tcp @ 0x559985af1240] Connection to tcp://192.168.20.191:554?timeout=5000000 failed: No route to host
[2023-02-13 15:40:33] ffmpeg.garden2.detect          ERROR   : rtsp://XXXX:[email protected]/live: No route to host
[2023-02-13 15:40:36] frigate.video                  ERROR   : frontyard: Unable to read frames from ffmpeg process.
[2023-02-13 15:40:36] frigate.video                  ERROR   : frontyard: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:40:36] frigate.video                  ERROR   : garage: Unable to read frames from ffmpeg process.
[2023-02-13 15:40:36] frigate.video                  ERROR   : garden2: Unable to read frames from ffmpeg process.
[2023-02-13 15:40:36] frigate.video                  ERROR   : garage: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:40:36] frigate.video                  ERROR   : garden2: ffmpeg process is not running. exiting capture thread...
cc[2023-02-13 15:40:43] watchdog.frontyard             ERROR   : Ffmpeg process crashed unexpectedly for frontyard.
[2023-02-13 15:40:43] watchdog.frontyard             ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:40:43] ffmpeg.frontyard.detect        ERROR   : [tcp @ 0x55956ca01240] Connection to tcp://192.168.20.125:554?timeout=5000000 failed: No route to host
[2023-02-13 15:40:43] ffmpeg.frontyard.detect        ERROR   : rtsp://XXX:[email protected]/live: No route to host
[2023-02-13 15:40:43] watchdog.garage                ERROR   : Ffmpeg process crashed unexpectedly for garage.
[2023-02-13 15:40:43] watchdog.garage                ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:40:43] ffmpeg.garage.detect           ERROR   : [tcp @ 0x562f1930d240] Connection to tcp://192.168.20.53:554?timeout=5000000 failed: No route to host
[2023-02-13 15:40:43] ffmpeg.garage.detect           ERROR   : rtsp://XXX:[email protected]/live: No route to host
[2023-02-13 15:40:43] watchdog.garden2               ERROR   : Ffmpeg process crashed unexpectedly for garden2.
[2023-02-13 15:40:43] watchdog.garden2               ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:40:43] ffmpeg.garden2.detect          ERROR   : [tcp @ 0x555712ff3240] Connection to tcp://192.168.20.191:554?timeout=5000000 failed: No route to host
[2023-02-13 15:40:43] ffmpeg.garden2.detect          ERROR   : rtsp://CCC:[email protected]/live: No route to host
[2023-02-13 15:40:46] frigate.video                  ERROR   : garage: Unable to read frames from ffmpeg process.
[2023-02-13 15:40:46] frigate.video                  ERROR   : garage: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:40:46] frigate.video                  ERROR   : frontyard: Unable to read frames from ffmpeg process.
[2023-02-13 15:40:46] frigate.video                  ERROR   : garden2: Unable to read frames from ffmpeg process.
[2023-02-13 15:40:46] frigate.video                  ERROR   : frontyard: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:40:46] frigate.video                  ERROR   : garden2: ffmpeg process is not running. exiting capture thread...

 

 

And this is my congif


mqtt:
  host: 192.168.20.5
  port: 1883
  topic_prefix: frigate
  client_id: frigate
  user: XXXX
  password: XXXXX
  stats_interval: 60
cameras:
  frontyard:
    ffmpeg:
      inputs:
        - path: rtsp://XXXXX:[email protected]/live
          roles:
            - detect
#            - rtmp
    detect:
      width: 1920
      height: 1080
      fps: 5
    record: # <----- Enable recording
      enabled: True
    motion:
        mask:
          - 0,0,413,0,692,950,0,1080
          - 1920,1080,1920,1023,1920,939,1673,1006,1652,1080
          - 897,317,1052,317,1077,405,1098,759,1272,813,1339,929,1063,1029,696,977




  garage:
    ffmpeg:
      inputs:
        - path: rtsp://XXX:[email protected]/live
          roles:
            - detect
#            - rtmp
##    birdseye:
 ##     enabled: True

    detect:
      width: 1920
      height: 1080
      fps: 5
    record: # <----- Enable recording
      enabled: True
    motion:

    
    
    
#  garden:
#    ffmpeg:
#      inputs:
#        - path: rtsp://XXXX:[email protected]/live
#          roles:
#            - detect
#            - rtmp
##    birdseye:
 ##     enabled: True
#
#    detect:
#      width: 1920
#      height: 1080
#      fps: 5
#    record: # <----- Enable recording
#      enabled: True
#    motion:
        
    
  garden2:
    ffmpeg:
      inputs:
        - path: rtsp://xxxxx:[email protected]/live
          roles:
            - detect
#            - rtmp
##    birdseye:
 ##     enabled: True

    detect:
#      width: 1280
#      height: 720
      width: 1920
      height: 1080
      fps: 5
    record: # <----- Enable recording
      enabled: True
    motion:
      mask:
        - 0,0,411,0,463,296,1331,252,1427,220,1476,153,1507,170,1551,218,1415,377,1323,377,1226,371,1153,363,1090,340,1109,371,1025,356,918,386,773,432,667,436,547,449,402,472,356,453,333,457,277,474,208,511,136,505,21,499,0,488 
        - 1092,0,1059,65,994,78,889,69,769,54,641,0 
        - 1920,895,1884,876,1434,367,1432,298,1436,163,1409,96,1302,57,1138,0,1920,0
        - 1920,1080,1920,1000,1660,979,1664,1014,1668,1080
        

    
record:
  enabled: True
  events:
    retain:
      default: 30
    
    
snapshots:
      # Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
      # This value can be set via MQTT and will be updated in startup based on retained value
      enabled: true
      # Optional: print a timestamp on the snapshots (default: shown below)
      timestamp: true
      # Optional: draw bounding box on the snapshots (default: shown below)
      bounding_box: true
      # Optional: crop the snapshot (default: shown below)
      crop: False
#      # Optional: height to resize the snapshot to (default: original size)
#      height: 175
      # Optional: Camera override for retention settings (default: global values)
      retain:
        # Required: Default retention days (default: shown below)
        default: 10


    
    
# Optional: birdseye configuration
#birdseye:
  # Optional: Enable birdseye view (default: shown below)
#  enabled: True
#enabled: False
  # Optional: Width of the output resolution (default: shown below)
##  width: 1280
  # Optional: Height of the output resolution (default: shown below)
##  height: 720
  # Optional: Encoding quality of the mpeg1 feed (default: shown below)
  # 1 is the highest quality, and 31 is the lowest. Lower quality feeds utilize less CPU resources.
##  quality: 8
  # Optional: Mode of the view. Available options are: objects, motion, and continuous
  #   objects - cameras are included if they have had a tracked object within the last 30 seconds
  #   motion - cameras are included if motion was detected in the last 30 seconds
  #   continuous - all cameras are included always
#  mode: continuous    
#   rtmp:
#     enabled: False # <-- RTMP should be disabled if your stream is not H264
 #   detect:
#      width: 1280 # <---- update for your camera's resolution
#      height: 720 # <---- update for your camera's resolution


#    clips:
      # Required: enables clips for the camera (default: shown below)
      # This value can be set via MQTT and will be updated in startup based on retained value
##      enabled: True
      # Optional: Number of seconds before the event to include in the clips (default: shown below)
####      pre_capture: 2
      # Optional: Number of seconds after the event to include in the clips (default: shown below)
 ##     post_capture: 2
      # Optional: Objects to save clips for. (default: all tracked objects)
##      objects:
##        - person
##        - car
      # Optional: Camera override for retention settings (default: global values)
##      retain:
        # Required: Default retention days (default: shown below)
#        default: 10
        # Optional: Per object retention days
#        objects:
#          person: 15
    # Optional: Configuration for the jpg snapshots written to the clips directory for each event

 

Link to comment
7 hours ago, netfox said:

Frigate was working so well on UNRAID with my wyze cams and no CORAL, but  it stopped working few weeks ago, this is what I see in the logs:

 

text  error  warn  system  array  login  

[2023-02-13 15:39:27] frigate.video                  ERROR   : garden2: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:39:27] frigate.video                  ERROR   : frontyard: Unable to read frames from ffmpeg process.
[2023-02-13 15:39:27] frigate.video                  ERROR   : garage: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:39:27] frigate.video                  ERROR   : frontyard: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:39:32] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:53244]
[2023-02-13 15:39:34] watchdog.frontyard             ERROR   : Ffmpeg process crashed unexpectedly for frontyard.
[2023-02-13 15:39:34] watchdog.frontyard             ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:39:34] ffmpeg.frontyard.detect        ERROR   : [tcp @ 0x55f1ef216240] Connection to tcp://192.168.20.125:554?timeout=5000000 failed: No route to host
[2023-02-13 15:39:34] ffmpeg.frontyard.detect        ERROR   : rtsp://XXXX:[email protected]/live: No route to host
[2023-02-13 15:39:34] watchdog.garage                ERROR   : Ffmpeg process crashed unexpectedly for garage.
[2023-02-13 15:39:34] watchdog.garage                ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:39:34] ffmpeg.garage.detect           ERROR   : [tcp @ 0x55cacbc1f240] Connection to tcp://192.168.20.53:554?timeout=5000000 failed: No route to host
[2023-02-13 15:39:34] ffmpeg.garage.detect           ERROR   : rtsp://XXXXX:[email protected]/live: No route to host
[2023-02-13 15:39:34] watchdog.garden2               ERROR   : Ffmpeg process crashed unexpectedly for garden2.
[2023-02-13 15:39:34] watchdog.garden2               ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:39:34] ffmpeg.garden2.detect          ERROR   : [tcp @ 0x5557daca5240] Connection to tcp://192.168.20.191:554?timeout=5000000 failed: No route to host
[2023-02-13 15:39:34] ffmpeg.garden2.detect          ERROR   : rtsp://XXX:[email protected]/live: No route to host
[2023-02-13 15:39:37] frigate.video                  ERROR   : frontyard: Unable to read frames from ffmpeg process.
[2023-02-13 15:39:37] frigate.video                  ERROR   : garden2: Unable to read frames from ffmpeg process.
[2023-02-13 15:39:37] frigate.video                  ERROR   : frontyard: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:39:37] frigate.video                  ERROR   : garden2: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:39:37] frigate.video                  ERROR   : garage: Unable to read frames from ffmpeg process.
[2023-02-13 15:39:37] frigate.video                  ERROR   : garage: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:39:44] watchdog.garage                ERROR   : Ffmpeg process crashed unexpectedly for garage.
[2023-02-13 15:39:44] watchdog.frontyard             ERROR   : Ffmpeg process crashed unexpectedly for frontyard.
[2023-02-13 15:39:44] watchdog.garage                ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:39:44] watchdog.frontyard             ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:39:44] watchdog.garden2               ERROR   : Ffmpeg process crashed unexpectedly for garden2.
[2023-02-13 15:39:44] ffmpeg.garage.detect           ERROR   : [tcp @ 0x556c74d47240] Connection to tcp://192.168.20.53:554?timeout=5000000 failed: No route to host
[2023-02-13 15:39:44] ffmpeg.frontyard.detect        ERROR   : [tcp @ 0x55b22779b240] Connection to tcp://192.168.20.125:554?timeout=5000000 failed: No route to host
[2023-02-13 15:39:44] ffmpeg.garage.detect           ERROR   : rtsp://XXX:[email protected]/live: No route to host
[2023-02-13 15:39:44] ffmpeg.frontyard.detect        ERROR   : rtsp://XXXX:[email protected]/live: No route to host
[2023-02-13 15:39:44] watchdog.garden2               ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:39:44] ffmpeg.garden2.detect          ERROR   : [tcp @ 0x55b6a4ac6240] Connection to tcp://192.168.20.191:554?timeout=5000000 failed: No route to host
[2023-02-13 15:39:44] ffmpeg.garden2.detect          ERROR   : rtsp://XXXX:[email protected]/live: No route to host
[2023-02-13 15:39:47] frigate.video                  ERROR   : garage: Unable to read frames from ffmpeg process.
[2023-02-13 15:39:47] frigate.video                  ERROR   : garden2: Unable to read frames from ffmpeg process.
[2023-02-13 15:39:47] frigate.video                  ERROR   : frontyard: Unable to read frames from ffmpeg process.
[2023-02-13 15:39:47] frigate.video                  ERROR   : frontyard: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:39:47] frigate.video                  ERROR   : garage: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:39:47] frigate.video                  ERROR   : garden2: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:39:54] watchdog.garage                ERROR   : Ffmpeg process crashed unexpectedly for garage.
[2023-02-13 15:39:54] watchdog.garage                ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:39:54] ffmpeg.garage.detect           ERROR   : [tcp @ 0x564047538240] Connection to tcp://192.168.20.53:554?timeout=5000000 failed: No route to host
[2023-02-13 15:39:54] ffmpeg.garage.detect           ERROR   : rtsp://XXXX:[email protected]/live: No route to host
[2023-02-13 15:39:54] watchdog.frontyard             ERROR   : Ffmpeg process crashed unexpectedly for frontyard.
[2023-02-13 15:39:54] watchdog.frontyard             ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:39:54] ffmpeg.frontyard.detect        ERROR   : [tcp @ 0x5601e680a240] Connection to tcp://192.168.20.125:554?timeout=5000000 failed: No route to host
[2023-02-13 15:39:54] ffmpeg.frontyard.detect        ERROR   : rtsp://XXXX:[email protected]/live: No route to host
[2023-02-13 15:39:54] watchdog.garden2               ERROR   : Ffmpeg process crashed unexpectedly for garden2.
[2023-02-13 15:39:54] watchdog.garden2               ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:39:54] ffmpeg.garden2.detect          ERROR   : [tcp @ 0x55d00efb0240] Connection to tcp://192.168.20.191:554?timeout=5000000 failed: No route to host
[2023-02-13 15:39:54] ffmpeg.garden2.detect          ERROR   : rtsp://XXXX:[email protected]/live: No route to host
[2023-02-13 15:39:57] frigate.video                  ERROR   : garden2: Unable to read frames from ffmpeg process.
[2023-02-13 15:39:57] frigate.video                  ERROR   : garden2: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:39:57] frigate.video                  ERROR   : garage: Unable to read frames from ffmpeg process.
[2023-02-13 15:39:57] frigate.video                  ERROR   : frontyard: Unable to read frames from ffmpeg process.
[2023-02-13 15:39:57] frigate.video                  ERROR   : garage: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:39:57] frigate.video                  ERROR   : frontyard: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:39:58] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:53244]
Plus API Key is not formatted correctly.
[2023-02-13 15:40:03] frigate.app                    INFO    : Starting Frigate (0.11.1-2eada21)
Starting migrations
[2023-02-13 15:40:03] peewee_migrate                 INFO    : Starting migrations
There is nothing to migrate
[2023-02-13 15:40:03] peewee_migrate                 INFO    : There is nothing to migrate
[2023-02-13 15:40:03] detector.cpu                   INFO    : Starting detection process: 225
[2023-02-13 15:40:03] frigate.edgetpu                WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
[2023-02-13 15:40:03] frigate.app                    INFO    : Output process started: 227
[2023-02-13 15:40:03] ws4py                          INFO    : Using epoll
[2023-02-13 15:40:03] frigate.app                    INFO    : Camera processor started for frontyard: 231
[2023-02-13 15:40:03] frigate.app                    INFO    : Camera processor started for garage: 233
[2023-02-13 15:40:03] frigate.app                    INFO    : Camera processor started for garden2: 234
[2023-02-13 15:40:03] frigate.app                    INFO    : Capture process started for frontyard: 236
[2023-02-13 15:40:03] frigate.app                    INFO    : Capture process started for garage: 239
[2023-02-13 15:40:03] frigate.app                    INFO    : Capture process started for garden2: 243
[2023-02-13 15:40:04] ws4py                          INFO    : Using epoll
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[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.
[2023-02-13 15:40:06] frigate.video                  ERROR   : frontyard: Unable to read frames from ffmpeg process.
[2023-02-13 15:40:06] frigate.video                  ERROR   : garage: Unable to read frames from ffmpeg process.
[2023-02-13 15:40:06] frigate.video                  ERROR   : garden2: Unable to read frames from ffmpeg process.
[2023-02-13 15:40:06] frigate.video                  ERROR   : garden2: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:40:06] frigate.video                  ERROR   : frontyard: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:40:06] frigate.video                  ERROR   : garage: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:40:23] watchdog.frontyard             ERROR   : Ffmpeg process crashed unexpectedly for frontyard.
[2023-02-13 15:40:23] watchdog.frontyard             ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:40:23] ffmpeg.frontyard.detect        ERROR   : [tcp @ 0x560f38bb4240] Connection to tcp://192.168.20.125:554?timeout=5000000 failed: No route to host
XXXXXX[2023-02-13 15:40:23] ffmpeg.garage.detect           ERROR   : rtsp://XXXX:[email protected]/live: No route to host
[2023-02-13 15:40:23] watchdog.garden2               ERROR   : Ffmpeg process crashed unexpectedly for garden2.
[2023-02-13 15:40:23] watchdog.garden2               ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:40:23] ffmpeg.garden2.detect          ERROR   : [tcp @ 0x55eef851c240] Connection to tcp://192.168.20.191:554?timeout=5000000 failed: No route to host
[2023-02-13 15:40:23] ffmpeg.garden2.detect          ERROR   : rtsp://XXXXX:[email protected]/live: No route to host
[2023-02-13 15:40:26] frigate.video                  ERROR   : garage: Unable to read frames from ffmpeg process.
[2023-02-13 15:40:26] frigate.video                  ERROR   : garage: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:40:26] frigate.video                  ERROR   : frontyard: Unable to read frames from ffmpeg process.
[2023-02-13 15:40:26] frigate.video                  ERROR   : frontyard: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:40:26] frigate.video                  ERROR   : garden2: Unable to read frames from ffmpeg process.
[2023-02-13 15:40:26] frigate.video                  ERROR   : garden2: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:40:33] watchdog.frontyard             ERROR   : Ffmpeg process crashed unexpectedly for frontyard.
[2023-02-13 15:40:33] watchdog.frontyard             ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:40:33] ffmpeg.frontyard.detect        ERROR   : [tcp @ 0x5592338a5240] Connection to tcp://192.168.20.125:554?timeout=5000000 failed: No route to host
[2023-02-13 15:40:33] ffmpeg.frontyard.detect        ERROR   : rtsp://XXXX:[email protected]/live: No route to host
[2023-02-13 15:40:33] watchdog.garage                ERROR   : Ffmpeg process crashed unexpectedly for garage.
[2023-02-13 15:40:33] watchdog.garage                ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:40:33] ffmpeg.garage.detect           ERROR   : [tcp @ 0x55c9068a5240] Connection to tcp://192.168.20.53:554?timeout=5000000 failed: No route to host
[2023-02-13 15:40:33] ffmpeg.garage.detect           ERROR   : rtsp://XXXX:[email protected]/live: No route to host
[2023-02-13 15:40:33] watchdog.garden2               ERROR   : Ffmpeg process crashed unexpectedly for garden2.
[2023-02-13 15:40:33] watchdog.garden2               ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:40:33] ffmpeg.garden2.detect          ERROR   : [tcp @ 0x559985af1240] Connection to tcp://192.168.20.191:554?timeout=5000000 failed: No route to host
[2023-02-13 15:40:33] ffmpeg.garden2.detect          ERROR   : rtsp://XXXX:[email protected]/live: No route to host
[2023-02-13 15:40:36] frigate.video                  ERROR   : frontyard: Unable to read frames from ffmpeg process.
[2023-02-13 15:40:36] frigate.video                  ERROR   : frontyard: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:40:36] frigate.video                  ERROR   : garage: Unable to read frames from ffmpeg process.
[2023-02-13 15:40:36] frigate.video                  ERROR   : garden2: Unable to read frames from ffmpeg process.
[2023-02-13 15:40:36] frigate.video                  ERROR   : garage: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:40:36] frigate.video                  ERROR   : garden2: ffmpeg process is not running. exiting capture thread...
cc[2023-02-13 15:40:43] watchdog.frontyard             ERROR   : Ffmpeg process crashed unexpectedly for frontyard.
[2023-02-13 15:40:43] watchdog.frontyard             ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:40:43] ffmpeg.frontyard.detect        ERROR   : [tcp @ 0x55956ca01240] Connection to tcp://192.168.20.125:554?timeout=5000000 failed: No route to host
[2023-02-13 15:40:43] ffmpeg.frontyard.detect        ERROR   : rtsp://XXX:[email protected]/live: No route to host
[2023-02-13 15:40:43] watchdog.garage                ERROR   : Ffmpeg process crashed unexpectedly for garage.
[2023-02-13 15:40:43] watchdog.garage                ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:40:43] ffmpeg.garage.detect           ERROR   : [tcp @ 0x562f1930d240] Connection to tcp://192.168.20.53:554?timeout=5000000 failed: No route to host
[2023-02-13 15:40:43] ffmpeg.garage.detect           ERROR   : rtsp://XXX:[email protected]/live: No route to host
[2023-02-13 15:40:43] watchdog.garden2               ERROR   : Ffmpeg process crashed unexpectedly for garden2.
[2023-02-13 15:40:43] watchdog.garden2               ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2023-02-13 15:40:43] ffmpeg.garden2.detect          ERROR   : [tcp @ 0x555712ff3240] Connection to tcp://192.168.20.191:554?timeout=5000000 failed: No route to host
[2023-02-13 15:40:43] ffmpeg.garden2.detect          ERROR   : rtsp://CCC:[email protected]/live: No route to host
[2023-02-13 15:40:46] frigate.video                  ERROR   : garage: Unable to read frames from ffmpeg process.
[2023-02-13 15:40:46] frigate.video                  ERROR   : garage: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:40:46] frigate.video                  ERROR   : frontyard: Unable to read frames from ffmpeg process.
[2023-02-13 15:40:46] frigate.video                  ERROR   : garden2: Unable to read frames from ffmpeg process.
[2023-02-13 15:40:46] frigate.video                  ERROR   : frontyard: ffmpeg process is not running. exiting capture thread...
[2023-02-13 15:40:46] frigate.video                  ERROR   : garden2: ffmpeg process is not running. exiting capture thread...

 

 

And this is my congif


mqtt:
  host: 192.168.20.5
  port: 1883
  topic_prefix: frigate
  client_id: frigate
  user: XXXX
  password: XXXXX
  stats_interval: 60
cameras:
  frontyard:
    ffmpeg:
      inputs:
        - path: rtsp://XXXXX:[email protected]/live
          roles:
            - detect
#            - rtmp
    detect:
      width: 1920
      height: 1080
      fps: 5
    record: # <----- Enable recording
      enabled: True
    motion:
        mask:
          - 0,0,413,0,692,950,0,1080
          - 1920,1080,1920,1023,1920,939,1673,1006,1652,1080
          - 897,317,1052,317,1077,405,1098,759,1272,813,1339,929,1063,1029,696,977




  garage:
    ffmpeg:
      inputs:
        - path: rtsp://XXX:[email protected]/live
          roles:
            - detect
#            - rtmp
##    birdseye:
 ##     enabled: True

    detect:
      width: 1920
      height: 1080
      fps: 5
    record: # <----- Enable recording
      enabled: True
    motion:

    
    
    
#  garden:
#    ffmpeg:
#      inputs:
#        - path: rtsp://XXXX:[email protected]/live
#          roles:
#            - detect
#            - rtmp
##    birdseye:
 ##     enabled: True
#
#    detect:
#      width: 1920
#      height: 1080
#      fps: 5
#    record: # <----- Enable recording
#      enabled: True
#    motion:
        
    
  garden2:
    ffmpeg:
      inputs:
        - path: rtsp://xxxxx:[email protected]/live
          roles:
            - detect
#            - rtmp
##    birdseye:
 ##     enabled: True

    detect:
#      width: 1280
#      height: 720
      width: 1920
      height: 1080
      fps: 5
    record: # <----- Enable recording
      enabled: True
    motion:
      mask:
        - 0,0,411,0,463,296,1331,252,1427,220,1476,153,1507,170,1551,218,1415,377,1323,377,1226,371,1153,363,1090,340,1109,371,1025,356,918,386,773,432,667,436,547,449,402,472,356,453,333,457,277,474,208,511,136,505,21,499,0,488 
        - 1092,0,1059,65,994,78,889,69,769,54,641,0 
        - 1920,895,1884,876,1434,367,1432,298,1436,163,1409,96,1302,57,1138,0,1920,0
        - 1920,1080,1920,1000,1660,979,1664,1014,1668,1080
        

    
record:
  enabled: True
  events:
    retain:
      default: 30
    
    
snapshots:
      # Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
      # This value can be set via MQTT and will be updated in startup based on retained value
      enabled: true
      # Optional: print a timestamp on the snapshots (default: shown below)
      timestamp: true
      # Optional: draw bounding box on the snapshots (default: shown below)
      bounding_box: true
      # Optional: crop the snapshot (default: shown below)
      crop: False
#      # Optional: height to resize the snapshot to (default: original size)
#      height: 175
      # Optional: Camera override for retention settings (default: global values)
      retain:
        # Required: Default retention days (default: shown below)
        default: 10


    
    
# Optional: birdseye configuration
#birdseye:
  # Optional: Enable birdseye view (default: shown below)
#  enabled: True
#enabled: False
  # Optional: Width of the output resolution (default: shown below)
##  width: 1280
  # Optional: Height of the output resolution (default: shown below)
##  height: 720
  # Optional: Encoding quality of the mpeg1 feed (default: shown below)
  # 1 is the highest quality, and 31 is the lowest. Lower quality feeds utilize less CPU resources.
##  quality: 8
  # Optional: Mode of the view. Available options are: objects, motion, and continuous
  #   objects - cameras are included if they have had a tracked object within the last 30 seconds
  #   motion - cameras are included if motion was detected in the last 30 seconds
  #   continuous - all cameras are included always
#  mode: continuous    
#   rtmp:
#     enabled: False # <-- RTMP should be disabled if your stream is not H264
 #   detect:
#      width: 1280 # <---- update for your camera's resolution
#      height: 720 # <---- update for your camera's resolution


#    clips:
      # Required: enables clips for the camera (default: shown below)
      # This value can be set via MQTT and will be updated in startup based on retained value
##      enabled: True
      # Optional: Number of seconds before the event to include in the clips (default: shown below)
####      pre_capture: 2
      # Optional: Number of seconds after the event to include in the clips (default: shown below)
 ##     post_capture: 2
      # Optional: Objects to save clips for. (default: all tracked objects)
##      objects:
##        - person
##        - car
      # Optional: Camera override for retention settings (default: global values)
##      retain:
        # Required: Default retention days (default: shown below)
#        default: 10
        # Optional: Per object retention days
#        objects:
#          person: 15
    # Optional: Configuration for the jpg snapshots written to the clips directory for each event

 

 

 

Hi:

 

Did you chnage anything in your architecture, your cameras or so? Your main error is "No route to host" so frigate is not able to connect to your cameras.

Link to comment

I am trying to use my NVIDIA GPU i have in my system its a old K2200 but thought its dormant so may as wel put it to use.  

 

I have changed my container and removed the Intel/AMD GPU mapping and then added extra parameter --gpus all.

 

this does not seem to use the GPU what have I done wrong?

Link to comment
8 minutes ago, SohailS said:

I am trying to use my NVIDIA GPU i have in my system its a old K2200 but thought its dormant so may as wel put it to use.  

 

I have changed my container and removed the Intel/AMD GPU mapping and then added extra parameter --gpus all.

 

this does not seem to use the GPU what have I done wrong?

Did you configured the hardware accel. part correctly in the config file?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.