frigate: [Config Support]: Detect broken after latest update

Describe the problem you are having

After this latest update, Frigate seems unable to detect or see the cameras. I made no changes to my config between updates. Please let me know what other information I can provide! Thanks in advance!

Version

Frigate (0.13.1-34fb1c2)

Frigate config file

2024-02-12 22:46:52.359737163  [INFO] Preparing Frigate...
2024-02-12 22:46:52.388586095  [INFO] Starting Frigate...
2024-02-12 22:46:54.562451034  [2024-02-12 22:46:54] frigate.app                    INFO    : Starting Frigate (0.13.1-34fb1c2)
2024-02-12 22:46:54.645818330  [2024-02-12 22:46:54] peewee_migrate.logs            INFO    : Starting migrations
2024-02-12 22:46:54.657182939  [2024-02-12 22:46:54] peewee_migrate.logs            INFO    : There is nothing to migrate
2024-02-12 22:46:54.664702686  [2024-02-12 22:46:54] frigate.app                    INFO    : Recording process started: 299
2024-02-12 22:46:54.670617223  [2024-02-12 22:46:54] frigate.app                    INFO    : go2rtc process pid: 90
2024-02-12 22:46:54.716912471  [2024-02-12 22:46:54] detector.coral                 INFO    : Starting detection process: 309
2024-02-12 22:46:54.720444200  [2024-02-12 22:46:54] frigate.app                    INFO    : Output process started: 311
2024-02-12 22:46:54.731751286  [2024-02-12 22:46:54] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as pci
2024-02-12 22:46:54.848454499  [2024-02-12 22:46:54] frigate.app                    INFO    : Camera processor started for garage: 320
2024-02-12 22:46:54.848459840  [2024-02-12 22:46:54] frigate.app                    INFO    : Camera processor started for back_porch: 322
2024-02-12 22:46:54.848465264  [2024-02-12 22:46:54] frigate.app                    INFO    : Camera processor started for garden: 324
2024-02-12 22:46:54.848468147  [2024-02-12 22:46:54] frigate.app                    INFO    : Camera processor started for front: 326
2024-02-12 22:46:54.848488772  [2024-02-12 22:46:54] frigate.app                    INFO    : Capture process started for garage: 332
2024-02-12 22:46:54.848491703  [2024-02-12 22:46:54] frigate.app                    INFO    : Capture process started for back_porch: 333
2024-02-12 22:46:54.848493897  [2024-02-12 22:46:54] frigate.app                    INFO    : Capture process started for garden: 335
2024-02-12 22:46:54.848526915  [2024-02-12 22:46:54] frigate.app                    INFO    : Capture process started for front: 338
2024-02-12 22:46:54.869805549  [2024-02-12 22:46:54] frigate.detectors.plugins.edgetpu_tfl INFO    : TPU found
2024-02-12 22:46:59.989942422  [2024-02-12 22:46:59] frigate.video                  ERROR   : garage: Unable to read frames from ffmpeg process.
2024-02-12 22:46:59.989950219  [2024-02-12 22:46:59] frigate.video                  ERROR   : garage: ffmpeg process is not running. exiting capture thread...
2024-02-12 22:47:00.027268443  [2024-02-12 22:47:00] frigate.video                  ERROR   : garden: Unable to read frames from ffmpeg process.
2024-02-12 22:47:00.027842482  [2024-02-12 22:47:00] frigate.video                  ERROR   : garden: ffmpeg process is not running. exiting capture thread...
2024-02-12 22:47:14.922487836  [2024-02-12 22:47:14] ffmpeg.front.record            ERROR   : rtsp://127.0.0.1:8554/front?video=copy&audio=aac: Invalid data found when processing input
2024-02-12 22:47:14.922936923  [2024-02-12 22:47:14] watchdog.front                 INFO    : Terminating the existing ffmpeg process...
2024-02-12 22:47:14.945111420  [2024-02-12 22:47:14] watchdog.garage                ERROR   : Ffmpeg process crashed unexpectedly for garage.
2024-02-12 22:47:14.945116836  [2024-02-12 22:47:14] watchdog.garage                ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-12 22:47:14.945119202  [2024-02-12 22:47:14] ffmpeg.garage.detect           ERROR   : rtsp://127.0.0.1:8554/garage_sub?video=copy: Invalid data found when processing input
2024-02-12 22:47:14.958865479  [2024-02-12 22:47:14] watchdog.garden                ERROR   : Ffmpeg process crashed unexpectedly for garden.
2024-02-12 22:47:14.958870963  [2024-02-12 22:47:14] watchdog.garden                ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-12 22:47:14.958873166  [2024-02-12 22:47:14] ffmpeg.garden.detect           ERROR   : rtsp://127.0.0.1:8554/garden_sub?video=copy: Invalid data found when processing input
2024-02-12 22:47:14.966088803  [2024-02-12 22:47:14] watchdog.front                 INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-12 22:47:14.980916904  [2024-02-12 22:47:14] frigate.record.maintainer      DEBUG   : Copied /media/frigate/recordings/2024-02-13/04/back_porch/47.01.mp4 in 0.17976117134094238 seconds.
2024-02-12 22:47:20.102286728  [2024-02-12 22:47:20] frigate.video                  ERROR   : garage: Unable to read frames from ffmpeg process.
2024-02-12 22:47:20.102436699  [2024-02-12 22:47:20] frigate.video                  ERROR   : garage: ffmpeg process is not running. exiting capture thread...
2024-02-12 22:47:20.111045938  [2024-02-12 22:47:20] frigate.video                  ERROR   : garden: Unable to read frames from ffmpeg process.
2024-02-12 22:47:20.111203293  [2024-02-12 22:47:20] frigate.video                  ERROR   : garden: ffmpeg process is not running. exiting capture thread...
2024-02-12 22:47:20.139355436  [2024-02-12 22:47:20] frigate.record.maintainer      DEBUG   : Copied /media/frigate/recordings/2024-02-13/04/back_porch/47.09.mp4 in 0.39928507804870605 seconds.
2024-02-12 22:47:24.969608122  [2024-02-12 22:47:24] watchdog.garage                ERROR   : Ffmpeg process crashed unexpectedly for garage.
2024-02-12 22:47:24.969815498  [2024-02-12 22:47:24] watchdog.garage                ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-12 22:47:24.970055454  [2024-02-12 22:47:24] ffmpeg.garage.detect           ERROR   : rtsp://127.0.0.1:8554/garage_sub?video=copy: Invalid data found when processing input
2024-02-12 22:47:24.973011049  [2024-02-12 22:47:24] ffmpeg.front.record            ERROR   : rtsp://127.0.0.1:8554/front?video=copy&audio=aac: Invalid data found when processing input
2024-02-12 22:47:24.973200129  [2024-02-12 22:47:24] watchdog.front                 INFO    : Terminating the existing ffmpeg process...
2024-02-12 22:47:24.973203227  [2024-02-12 22:47:24] watchdog.front                 INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-12 22:47:25.010637524  [2024-02-12 22:47:25] watchdog.garden                ERROR   : Ffmpeg process crashed unexpectedly for garden.
2024-02-12 22:47:25.010643014  [2024-02-12 22:47:25] watchdog.garden                ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-12 22:47:25.010645871  [2024-02-12 22:47:25] ffmpeg.garden.detect           ERROR   : rtsp://127.0.0.1:8554/garden_sub?video=copy: Invalid data found when processing input
2024-02-12 22:47:29.916285432  [2024-02-12 22:47:29] frigate.record.maintainer      DEBUG   : Copied /media/frigate/recordings/2024-02-13/04/back_porch/47.19.mp4 in 0.186384916305542 seconds.
2024-02-12 22:47:30.136340171  [2024-02-12 22:47:30] frigate.video                  ERROR   : garden: Unable to read frames from ffmpeg process.
2024-02-12 22:47:30.136491562  [2024-02-12 22:47:30] frigate.video                  ERROR   : garden: ffmpeg process is not running. exiting capture thread...
2024-02-12 22:47:34.909935903  [2024-02-12 22:47:34] frigate.record.maintainer      DEBUG   : Copied /media/frigate/recordings/2024-02-13/04/garage/47.20.mp4 in 0.16187500953674316 seconds.
2024-02-12 22:47:34.983383780  [2024-02-12 22:47:34] ffmpeg.front.record            ERROR   : rtsp://127.0.0.1:8554/front?video=copy&audio=aac: Invalid data found when processing input
2024-02-12 22:47:34.983647007  [2024-02-12 22:47:34] watchdog.front                 INFO    : Terminating the existing ffmpeg process...
2024-02-12 22:47:34.983650701  [2024-02-12 22:47:34] watchdog.front                 INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-12 22:47:35.022457202  [2024-02-12 22:47:35] watchdog.garden                ERROR   : Ffmpeg process crashed unexpectedly for garden.
2024-02-12 22:47:35.022567782  [2024-02-12 22:47:35] watchdog.garden                ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-12 22:47:35.022648654  [2024-02-12 22:47:35] ffmpeg.garden.detect           ERROR   : rtsp://127.0.0.1:8554/garden_sub?video=copy: Invalid data found when processing input
2024-02-12 22:47:40.154010672  [2024-02-12 22:47:40] frigate.video                  ERROR   : garden: Unable to read frames from ffmpeg process.
2024-02-12 22:47:40.154118488  [2024-02-12 22:47:40] frigate.video                  ERROR   : garden: ffmpeg process is not running. exiting capture thread...
2024-02-12 22:47:44.992682788  [2024-02-12 22:47:44] ffmpeg.front.record            ERROR   : rtsp://127.0.0.1:8554/front?video=copy&audio=aac: Invalid data found when processing input
2024-02-12 22:47:44.992796517  [2024-02-12 22:47:44] watchdog.front                 INFO    : Terminating the existing ffmpeg process...
2024-02-12 22:47:44.992942975  [2024-02-12 22:47:44] watchdog.front                 INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-12 22:47:45.036383381  [2024-02-12 22:47:45] watchdog.garden                ERROR   : Ffmpeg process crashed unexpectedly for garden.
2024-02-12 22:47:45.036569003  [2024-02-12 22:47:45] watchdog.garden                ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-12 22:47:45.036663227  [2024-02-12 22:47:45] ffmpeg.garden.detect           ERROR   : rtsp://127.0.0.1:8554/garden_sub?video=copy: Invalid data found when processing input
2024-02-12 22:47:49.673938606  [2024-02-12 22:47:49] frigate.record.maintainer      DEBUG   : Found 2 old frames.
2024-02-12 22:47:50.165852329  [2024-02-12 22:47:50] frigate.video                  ERROR   : garden: Unable to read frames from ffmpeg process.
2024-02-12 22:47:50.165972215  [2024-02-12 22:47:50] frigate.video                  ERROR   : garden: ffmpeg process is not running. exiting capture thread...
2024-02-12 22:47:53.107784690  [2024-02-12 22:47:53] frigate.video                  ERROR   : back_porch: Unable to read frames from ffmpeg process.
2024-02-12 22:47:53.110428563  [2024-02-12 22:47:53] frigate.video                  ERROR   : back_porch: ffmpeg process is not running. exiting capture thread...
2024-02-12 22:47:53.120185463  [2024-02-12 22:47:53] frigate.video                  ERROR   : garage: Unable to read frames from ffmpeg process.
2024-02-12 22:47:53.120578206  [2024-02-12 22:47:53] frigate.video                  ERROR   : garage: ffmpeg process is not running. exiting capture thread...
2024-02-12 22:47:53.126243719  [2024-02-12 22:47:53] frigate.video                  ERROR   : front: Unable to read frames from ffmpeg process.
2024-02-12 22:47:53.126400673  [2024-02-12 22:47:53] frigate.video                  ERROR   : front: ffmpeg process is not running. exiting capture thread...
2024-02-12 22:47:54.945527384  [2024-02-12 22:47:54] watchdog.back_porch            ERROR   : Ffmpeg process crashed unexpectedly for back_porch.
2024-02-12 22:47:54.945680378  [2024-02-12 22:47:54] watchdog.back_porch            ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-12 22:47:54.945852881  [2024-02-12 22:47:54] ffmpeg.back_porch.detect       ERROR   : rtsp://127.0.0.1:8554/back_porch_sub?video=copy: Connection timed out
2024-02-12 22:47:54.946300001  [2024-02-12 22:47:54] ffmpeg.back_porch.detect       ERROR   :     Last message repeated 1 times
2024-02-12 22:47:54.956511726  [2024-02-12 22:47:54] ffmpeg.back_porch.record       ERROR   : [segment @ 0x557639cebd40] 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
2024-02-12 22:47:54.956641162  [2024-02-12 22:47:54] ffmpeg.back_porch.record       ERROR   : rtsp://127.0.0.1:8554/back_porch?video=copy&audio=aac: Connection timed out
2024-02-12 22:47:54.956771324  [2024-02-12 22:47:54] watchdog.back_porch            INFO    : Terminating the existing ffmpeg process...
2024-02-12 22:47:54.956885736  [2024-02-12 22:47:54] watchdog.back_porch            INFO    : Waiting for ffmpeg to exit gracefully...
2024-02-12 22:47:54.988691475  [2024-02-12 22:47:54] watchdog.garage                ERROR   : Ffmpeg process crashed unexpectedly for garage.
2024-02-12 22:47:54.988858903  [2024-02-12 22:47:54] watchdog.garage                ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-12 22:47:54.989044068  [2024-02-12 22:47:54] ffmpeg.garage.detect           ERROR   : rtsp://127.0.0.1:8554/garage_sub?video=copy: Connection timed out
2024-02-12 22:47:54.989157041  [2024-02-12 22:47:54] ffmpeg.garage.detect           ERROR   :     Last message repeated 1 times
2024-02-12 22:47:54.999585132  [2024-02-12 22:47:54] ffmpeg.garage.record           ERROR   : [segment @ 0x556c65632fc0] 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
2024-02-12 22:47:54.999725611  [2024-02-12 22:47:54] ffmpeg.garage.record           ERROR   : rtsp://127.0.0.1:8554/garage?video=copy&audio=aac: Connection timed out

Relevant log output

2024-02-12 22:46:52.361664244  [INFO] Preparing new go2rtc config...
2024-02-12 22:46:52.961897621  [INFO] Starting go2rtc...
2024-02-12 22:46:53.095347641  22:46:53.092 INF go2rtc version 1.8.4 linux/amd64
2024-02-12 22:46:53.095352252  22:46:53.093 INF [api] listen addr=:1984
2024-02-12 22:46:53.095357231  22:46:53.093 INF [rtsp] listen addr=:8554
2024-02-12 22:46:53.095359473  22:46:53.093 INF [webrtc] listen addr=:8555
2024-02-12 22:46:54.877532510  22:46:54.877 DBG [exec] run url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.1.186/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=user&password=pass -c copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2024-02-12 22:46:54.894537949  22:46:54.894 DBG [exec] run url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.1.157/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=user&password=pass -c copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2024-02-12 22:46:54.903264422  22:46:54.903 DBG [exec] run url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.1.187/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=user&password=pass -c copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2024-02-12 22:46:54.916390748  22:46:54.916 DBG [exec] run url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.1.188/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=user&password=pass -c copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2024-02-12 22:46:54.923018691  22:46:54.922 DBG [exec] run url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.1.157/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=user&password=pass -map 0:v:0? -c:v:0 copy -map 0:a:0? -c:a:0 copy -map 0:a:0? -c:a:1 libopus -application:a:1 lowdelay -frame_duration 20 -min_comp 0 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2024-02-12 22:46:54.929050883  22:46:54.928 DBG [exec] run url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.1.186/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=user&password=pass -map 0:v:0? -c:v:0 copy -map 0:a:0? -c:a:0 copy -map 0:a:0? -c:a:1 libopus -application:a:1 lowdelay -frame_duration 20 -min_comp 0 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2024-02-12 22:46:54.930144086  22:46:54.929 DBG [exec] run url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.1.187/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=user&password=pass -map 0:v:0? -c:v:0 copy -map 0:a:0? -c:a:0 copy -map 0:a:0? -c:a:1 libopus -application:a:1 lowdelay -frame_duration 20 -min_comp 0 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2024-02-12 22:46:54.946085092  22:46:54.945 DBG [exec] run url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.1.188/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=user&password=pass -map 0:v:0? -c:v:0 copy -map 0:a:0? -c:a:0 copy -map 0:a:0? -c:a:1 libopus -application:a:1 lowdelay -frame_duration 20 -min_comp 0 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2024-02-12 22:46:58.803335568  Input #0, flv, from 'http://192.168.1.187/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=user&password=pass':
2024-02-12 22:46:58.803339545    Metadata:
2024-02-12 22:46:58.803451627      displayWidth    : 2560
2024-02-12 22:46:58.803454841      displayHeight   : 1920
2024-02-12 22:46:58.803456596    Duration: 00:00:00.00, start: 0.000000, bitrate: N/A
2024-02-12 22:46:58.803458438    Stream #0:0: Video: h264 (High), yuv420p(progressive), 2560x1920, 12 fps, 12 tbr, 1k tbn
2024-02-12 22:46:58.803503335    Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp
2024-02-12 22:46:58.804146646  Stream mapping:
2024-02-12 22:46:58.804148714    Stream #0:0 -> #0:0 (copy)
2024-02-12 22:46:58.804167875    Stream #0:1 -> #0:1 (copy)
2024-02-12 22:46:58.804169648    Stream #0:1 -> #0:2 (aac (native) -> opus (libopus))
2024-02-12 22:46:58.804171066  Press [q] to stop, [?] for help
2024-02-12 22:46:58.825617034  [libopus @ 0x55a50d12be00] No bit rate set. Defaulting to 64000 bps.
2024-02-12 22:46:58.870565578  22:46:58.870 DBG [exec] run launch=3.940207204s
2024-02-12 22:46:58.871329632  Output #0, rtsp, to 'rtsp://127.0.0.1:8554/c1d7e786c56814cb932eea7233f3d718':
2024-02-12 22:46:58.871333097    Metadata:
2024-02-12 22:46:58.871335128      displayWidth    : 2560
2024-02-12 22:46:58.871336682      displayHeight   : 1920
2024-02-12 22:46:58.871338394      encoder         : Lavf59.27.100
2024-02-12 22:46:58.871340392    Stream #0:0: Video: h264 (High), yuv420p(progressive), 2560x1920, q=2-31, 12 fps, 12 tbr, 90k tbn
2024-02-12 22:46:58.871342182    Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp (default)
2024-02-12 22:46:58.871372607    Stream #0:2: Audio: opus, 16000 Hz, mono, flt, 64 kb/s
2024-02-12 22:46:58.871375027      Metadata:
2024-02-12 22:46:58.871376713        encoder         : Lavc59.37.100 libopus
2024-02-12 22:46:59.154622679  frame=    0 fps=0.0 q=-1.0 size=N/A time=00:00:03.42 bitrate=N/A speed=3.42e+06x    
Input #0, flv, from 'http://192.168.1.188/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=user&password=pass':
2024-02-12 22:46:59.154627194    Metadata:
2024-02-12 22:46:59.154629152      displayWidth    : 2560
2024-02-12 22:46:59.154630644      displayHeight   : 1920
2024-02-12 22:46:59.154659523    Duration: 00:00:00.00, start: 0.000000, bitrate: N/A
2024-02-12 22:46:59.154671728    Stream #0:0: Video: h264 (High), yuv420p(progressive), 2560x1920, 11 fps, 12 tbr, 1k tbn
2024-02-12 22:46:59.154686499    Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp
2024-02-12 22:46:59.155379318  Stream mapping:
2024-02-12 22:46:59.155382632    Stream #0:0 -> #0:0 (copy)
2024-02-12 22:46:59.155384439    Stream #0:1 -> #0:1 (copy)
2024-02-12 22:46:59.155405121    Stream #0:1 -> #0:2 (aac (native) -> opus (libopus))
2024-02-12 22:46:59.155406982  Press [q] to stop, [?] for help
2024-02-12 22:46:59.157066362  [libopus @ 0x5648c4768000] No bit rate set. Defaulting to 64000 bps.
2024-02-12 22:46:59.162889236  Input #0, flv, from 'http://192.168.1.157/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=user&password=pass':
2024-02-12 22:46:59.162894076    Metadata:
2024-02-12 22:46:59.162896055      displayWidth    : 896
2024-02-12 22:46:59.162897934      displayHeight   : 672
2024-02-12 22:46:59.162929226    Duration: 00:00:00.00, start: 0.000000, bitrate: N/A
2024-02-12 22:46:59.162949183    Stream #0:0: Video: h264 (High), yuv420p(progressive), 896x672, 12 fps, 12 tbr, 1k tbn
2024-02-12 22:46:59.163139065    Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp
2024-02-12 22:46:59.202301611  22:46:59.202 DBG [exec] run launch=4.256171089s
2024-02-12 22:46:59.202397742  Output #0, rtsp, to 'rtsp://127.0.0.1:8554/cdbd9699db8dd0db7a20ac99b8125eac':
2024-02-12 22:46:59.202429509    Metadata:
2024-02-12 22:46:59.202480945      displayWidth    : 2560
2024-02-12 22:46:59.202534244      displayHeight   : 1920
2024-02-12 22:46:59.202585084      encoder         : Lavf59.27.100
2024-02-12 22:46:59.202725239    Stream #0:0: Video: h264 (High), yuv420p(progressive), 2560x1920, q=2-31, 11 fps, 12 tbr, 90k tbn
2024-02-12 22:46:59.202818379    Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp (default)
2024-02-12 22:46:59.202910994    Stream #0:2: Audio: opus, 16000 Hz, mono, flt, 64 kb/s
2024-02-12 22:46:59.202913097      Metadata:
2024-02-12 22:46:59.202914474        encoder         : Lavc59.37.100 libopus
2024-02-12 22:46:59.206828920  frame=    0 fps=0.0 q=-1.0 size=N/A time=00:00:03.47 bitrate=N/A speed=N/A    
22:46:59.206 DBG [exec] run launch=4.312348048s
2024-02-12 22:46:59.207085374  Output #0, rtsp, to 'rtsp://127.0.0.1:8554/daba65cef465fd8983b8fbd4810eef73':
2024-02-12 22:46:59.207087756    Metadata:
2024-02-12 22:46:59.207089328      displayWidth    : 896
2024-02-12 22:46:59.207090802      displayHeight   : 672
2024-02-12 22:46:59.207092304      encoder         : Lavf59.27.100
2024-02-12 22:46:59.207094206    Stream #0:0: Video: h264 (High), yuv420p(progressive), 896x672, q=2-31, 12 fps, 12 tbr, 90k tbn
2024-02-12 22:46:59.207095799    Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp
2024-02-12 22:46:59.207097145  Stream mapping:
2024-02-12 22:46:59.207098547    Stream #0:0 -> #0:0 (copy)
2024-02-12 22:46:59.207099889    Stream #0:1 -> #0:1 (copy)
2024-02-12 22:46:59.207101262  Press [q] to stop, [?] for help
2024-02-12 22:46:59.582332003  frame=    0 fps=0.0 q=-1.0 size=N/A time=00:00:03.45 bitrate=N/A speed=N/A    
frame=    0 fps=0.0 q=-1.0 size=N/A time=00:00:03.93 bitrate=N/A speed=6.94x    
Input #0, flv, from 'http://192.168.1.187/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=user&password=pass':
2024-02-12 22:46:59.582336934    Metadata:
2024-02-12 22:46:59.582338833      displayWidth    : 896
2024-02-12 22:46:59.582340602      displayHeight   : 672
2024-02-12 22:46:59.582366276    Duration: 00:00:00.00, start: -0.012000, bitrate: N/A
2024-02-12 22:46:59.582389608    Stream #0:0: Video: h264 (High), yuv420p(progressive), 896x672, 12 fps, 12 tbr, 1k tbn
2024-02-12 22:46:59.582432690    Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp
2024-02-12 22:46:59.630186215  22:46:59.629 DBG [exec] run launch=4.726839142s
2024-02-12 22:46:59.630663273  Output #0, rtsp, to 'rtsp://127.0.0.1:8554/9c82b76d4724dd0f64dd1cf8a0f7e9ae':
2024-02-12 22:46:59.630666344    Metadata:
2024-02-12 22:46:59.630668025      displayWidth    : 896
2024-02-12 22:46:59.630703914      displayHeight   : 672
2024-02-12 22:46:59.630706073      encoder         : Lavf59.27.100
2024-02-12 22:46:59.630866093    Stream #0:0: Video: h264 (High), yuv420p(progressive), 896x672, q=2-31, 12 fps, 12 tbr, 90k tbn
2024-02-12 22:46:59.631001266    Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp
2024-02-12 22:46:59.631003461  Stream mapping:
2024-02-12 22:46:59.631021121    Stream #0:0 -> #0:0 (copy)
2024-02-12 22:46:59.631022681    Stream #0:1 -> #0:1 (copy)
2024-02-12 22:46:59.631294301  Press [q] to stop, [?] for help
2024-02-12 22:46:59.841733691  frame=    0 fps=0.0 q=-1.0 size=N/A time=00:00:03.45 bitrate=N/A speed=3.46e+06x    
frame=    0 fps=0.0 q=-1.0 size=N/A time=00:00:03.98 bitrate=N/A speed=7.25x    
frame=    0 fps=0.0 q=-1.0 size=N/A time=00:00:03.96 bitrate=N/A speed=7.63x    
Input #0, flv, from 'http://192.168.1.186/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=user&password=pass':
2024-02-12 22:46:59.841737917    Metadata:
2024-02-12 22:46:59.841739585      displayWidth    : 2560
2024-02-12 22:46:59.841741178      displayHeight   : 1920
2024-02-12 22:46:59.841767337    Duration: 00:00:00.00, start: 0.000000, bitrate: N/A
2024-02-12 22:46:59.841965289    Stream #0:0: Video: h264 (High), yuv420p(progressive), 2560x1920, 12 fps, 12 tbr, 1k tbn
2024-02-12 22:46:59.841967597    Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp
2024-02-12 22:46:59.842582624  Stream mapping:
2024-02-12 22:46:59.842585601    Stream #0:0 -> #0:0 (copy)
2024-02-12 22:46:59.842587320    Stream #0:1 -> #0:1 (copy)
2024-02-12 22:46:59.842607096    Stream #0:1 -> #0:2 (aac (native) -> opus (libopus))
2024-02-12 22:46:59.842609277  Press [q] to stop, [?] for help
2024-02-12 22:46:59.925380748  [libopus @ 0x55b0567dcb00] No bit rate set. Defaulting to 64000 bps.
2024-02-12 22:46:59.970569403  frame=    6 fps=5.5 q=-1.0 size=N/A time=00:00:04.51 bitrate=N/A speed=4.17x    
22:46:59.970 DBG [exec] run launch=5.041190972s
2024-02-12 22:46:59.970574808  Output #0, rtsp, to 'rtsp://127.0.0.1:8554/519246f47ba27b73b1835ab2665b9c06':
2024-02-12 22:46:59.970576724    Metadata:
2024-02-12 22:46:59.970578484      displayWidth    : 2560
2024-02-12 22:46:59.970603692      displayHeight   : 1920
2024-02-12 22:46:59.970605483      encoder         : Lavf59.27.100
2024-02-12 22:46:59.970678088    Stream #0:0: Video: h264 (High), yuv420p(progressive), 2560x1920, q=2-31, 12 fps, 12 tbr, 90k tbn
2024-02-12 22:46:59.970770121    Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp (default)
2024-02-12 22:46:59.970836320    Stream #0:2: Audio: opus, 16000 Hz, mono, flt, 64 kb/s
2024-02-12 22:46:59.970865172      Metadata:
2024-02-12 22:46:59.970915177        encoder         : Lavc59.37.100 libopus
2024-02-12 22:47:00.145425349  frame=    0 fps=0.0 q=-1.0 size=N/A time=00:00:03.46 bitrate=N/A speed=N/A    
Input #0, flv, from 'http://192.168.1.157/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=user&password=pass':
2024-02-12 22:47:00.145430109    Metadata:
2024-02-12 22:47:00.145432150      displayWidth    : 2560
2024-02-12 22:47:00.145434124      displayHeight   : 1920
2024-02-12 22:47:00.145469478    Duration: 00:00:00.00, start: 0.000000, bitrate: N/A
2024-02-12 22:47:00.145483083    Stream #0:0: Video: h264 (High), yuv420p(progressive), 2560x1920, 11 fps, 12 tbr, 1k tbn
2024-02-12 22:47:00.145515610    Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp
2024-02-12 22:47:00.146288057  Stream mapping:
2024-02-12 22:47:00.146291087    Stream #0:0 -> #0:0 (copy)
2024-02-12 22:47:00.146292499    Stream #0:1 -> #0:1 (copy)
2024-02-12 22:47:00.146313732    Stream #0:1 -> #0:2 (aac (native) -> opus (libopus))
2024-02-12 22:47:00.146315651  Press [q] to stop, [?] for help
2024-02-12 22:47:00.166470315  frame=    0 fps=0.0 q=-1.0 size=N/A time=00:00:03.96 bitrate=N/A speed=7.69x    
[libopus @ 0x557aa9f1e540] No bit rate set. Defaulting to 64000 bps.
2024-02-12 22:47:00.210786677  22:47:00.210 DBG [exec] run launch=5.287758855s
2024-02-12 22:47:00.210791512  Output #0, rtsp, to 'rtsp://127.0.0.1:8554/d457774661279a6d3790de21d046fcbe':
2024-02-12 22:47:00.210832130    Metadata:
2024-02-12 22:47:00.210834434      displayWidth    : 2560
2024-02-12 22:47:00.210836038      displayHeight   : 1920
2024-02-12 22:47:00.210837575      encoder         : Lavf59.27.100
2024-02-12 22:47:00.210953184    Stream #0:0: Video: h264 (High), yuv420p(progressive), 2560x1920, q=2-31, 11 fps, 12 tbr, 90k tbn
2024-02-12 22:47:00.211180460    Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp (default)
2024-02-12 22:47:00.211183211    Stream #0:2: Audio: opus, 16000 Hz, mono, flt, 64 kb/s
2024-02-12 22:47:00.211184990      Metadata:

Frigate stats

No response

Operating system

Debian

Install method

Docker Compose

Coral version

PCIe

Any other information that may be helpful

No response

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (9 by maintainers)

Most upvoted comments

Although I don’t see things breaking hard after a few days, I observe a lot of icvExtractPattern assertions too after an upgrade to 0.13.1, where a previous version before was quiet. (That was 0.12.1; for my own record, the upgrade occurred on February 16th.)

the error you are referring to would have been impossible to occur on 0.12 because we did not use opencv for recording info in 0.12.

Since then I’m observing frigate to create and save many more recording segments than I remember it doing before. Running out of disk space may explain the breakage you’re seeing.

the release notes said that motion detection may be more sensitive in this release, you probably need to tune your motion detection

Playing around with a few things, I’m still having troubles getting it 100% stable…the best I’ve got so far is h2.64 set to baseline + go2rtc v1.6.2.

This is my current issue under this setup:

2024-02-16 21:58:01.707040308  
2024-02-16 21:58:06.799216971  [2024-02-16 21:58:06] frigate.video                  ERROR   : garden: Unable to read frames from ffmpeg process.
2024-02-16 21:58:06.799591144  [2024-02-16 21:58:06] frigate.video                  ERROR   : garden: ffmpeg process is not running. exiting capture thread...
2024-02-16 21:58:11.504150122  [2024-02-16 21:58:11] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-16 21:58:11.685849114  [2024-02-16 21:58:11] watchdog.garden                ERROR   : Ffmpeg process crashed unexpectedly for garden.
2024-02-16 21:58:11.685853900  [2024-02-16 21:58:11] watchdog.garden                ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-16 21:58:11.685856618  [2024-02-16 21:58:11] ffmpeg.garden.detect           ERROR   : rtsp://127.0.0.1:8554/garden_sub?video=copy: Invalid data found when processing input
2024-02-16 21:58:11.749454796  [ERROR:0@1583.860] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2024-02-16 21:58:11.749459799  
2024-02-16 21:58:11.749462214  OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2024-02-16 21:58:11.749463768  
2024-02-16 21:58:11.749465351  
2024-02-16 21:58:21.504733595  [2024-02-16 21:58:21] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-16 21:58:21.669752495  [ERROR:0@1593.780] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2024-02-16 21:58:21.669757237  
2024-02-16 21:58:21.669760073  OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2024-02-16 21:58:21.669761581  
2024-02-16 21:58:21.669763169  
2024-02-16 21:58:31.681629670  [ERROR:0@1603.792] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2024-02-16 21:58:31.681634649  
2024-02-16 21:58:31.681637260  OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2024-02-16 21:58:31.681638862  
2024-02-16 21:58:31.681640400  
2024-02-16 21:58:41.671651642  [ERROR:0@1613.782] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2024-02-16 21:58:41.671656097  
2024-02-16 21:58:41.671658855  OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2024-02-16 21:58:41.671660398  
2024-02-16 21:58:41.671661895  
2024-02-16 21:58:51.668402113  [ERROR:0@1623.775] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2024-02-16 21:58:51.668406174  
2024-02-16 21:58:51.668408273  OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2024-02-16 21:58:51.668409588  
2024-02-16 21:58:51.668410879  
2024-02-16 21:59:01.666139085  [ERROR:0@1633.777] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2024-02-16 21:59:01.666143700  
2024-02-16 21:59:01.666145988  OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2024-02-16 21:59:01.666147369  
2024-02-16 21:59:01.666148853  
2024-02-16 21:59:11.656850455  [ERROR:0@1643.767] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2024-02-16 21:59:11.656855212  
2024-02-16 21:59:11.656858078  OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2024-02-16 21:59:11.656859758  
2024-02-16 21:59:11.656861322  
2024-02-16 21:59:21.701092404  [ERROR:0@1653.808] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2024-02-16 21:59:21.701096401  
2024-02-16 21:59:21.701098791  OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2024-02-16 21:59:21.701100138  
2024-02-16 21:59:21.701101402  

viewing a camera live is not a good indication of whether or not a stream is working well. Many live players mask these issues.

It can be caused by any number of things from camera firmware bugs to network issues