Closed sebastian-tischer closed 1 year ago
Looks like you're running home assistant integration beta, which wouldn't affect frigates handling of the stream.
So you're saying moving back to the 4.x frigate integration and the issue goes away?
I notice you are running detect at 25 fps, this is discouraged and won't help with detection results in most cases but greatly increases resource usage. The default 5 fps or up to 10 fps for scenes with fast moving objects is recommended. The detect fps doesn't need to match the cameras fps.
Wow that was fast π π€£
I can try to downgrade, let me check.
I use the camera around the house, so no real fast moving objects... I moved to 25 fps in order to maybe retreive the stream faster.
I moved to 25 fps in order to maybe retreive the stream faster.
That will not help, without go2rtc setup the stream in frigate webUI is limited to 10 fps anyway.
Downgraded but still get strange, regular outages "No frames have been received, check error logs" - see 23:49+ for IN-9408-Garten.
In camera logs it says also, that the target (in that case frigate) is not picking up the rtsp stream.
2023-09-15 21:48:01.395562417 [INFO] Starting Frigate... 2023-09-15 21:48:10.485506577 [2023-09-15 23:48:10] frigate.app INFO : Starting Frigate (0.12.1-367d724) 2023-09-15 21:48:10.674796768 [2023-09-15 23:48:10] frigate.app INFO : Creating directory: /tmp/cache 2023-09-15 21:48:10.689873661 [2023-09-15 23:48:10] peewee_migrate INFO : Starting migrations 2023-09-15 21:48:10.711623714 [2023-09-15 23:48:10] peewee_migrate INFO : There is nothing to migrate 2023-09-15 21:48:10.827939400 [2023-09-15 23:48:10] frigate.app INFO : Output process started: 300 2023-09-15 21:48:10.843076681 [2023-09-15 23:48:10] detector.coral INFO : Starting detection process: 299 2023-09-15 21:48:10.890273266 [2023-09-15 23:48:10] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb 2023-09-15 21:48:10.907337694 [2023-09-15 23:48:10] frigate.app INFO : Camera processor started for IN-9408-Eingang: 303 2023-09-15 21:48:10.987050341 [2023-09-15 23:48:10] frigate.app INFO : Camera processor started for IN-9408-Garten: 306 2023-09-15 21:48:10.999256903 [2023-09-15 23:48:10] frigate.app INFO : Camera processor started for IN-8401-Flur: 310 2023-09-15 21:48:11.046029248 [2023-09-15 23:48:11] frigate.app INFO : Camera processor started for Tapo-Garage: 312 2023-09-15 21:48:11.127747468 [2023-09-15 23:48:11] frigate.app INFO : Capture process started for IN-9408-Eingang: 314 2023-09-15 21:48:11.180633473 [2023-09-15 23:48:11] frigate.app INFO : Capture process started for IN-9408-Garten: 316 2023-09-15 21:48:11.367221409 [2023-09-15 23:48:11] frigate.app INFO : Capture process started for IN-8401-Flur: 320 2023-09-15 21:48:11.383527042 [2023-09-15 23:48:11] frigate.app INFO : Capture process started for Tapo-Garage: 324 2023-09-15 21:48:18.706584920 [2023-09-15 23:48:18] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found 2023-09-15 21:48:51.441184754 [2023-09-15 23:48:51] watchdog.IN-9408-Eingang INFO : No frames received from IN-9408-Eingang in 20 seconds. Exiting ffmpeg... 2023-09-15 21:48:51.442886031 [2023-09-15 23:48:51] watchdog.IN-9408-Eingang INFO : Waiting for ffmpeg to exit gracefully... 2023-09-15 21:48:51.564576432 [2023-09-15 23:48:51] watchdog.IN-8401-Flur INFO : No frames received from IN-8401-Flur in 20 seconds. Exiting ffmpeg... 2023-09-15 21:48:51.570654317 [2023-09-15 23:48:51] watchdog.IN-8401-Flur INFO : Waiting for ffmpeg to exit gracefully... 2023-09-15 21:48:51.628064279 [2023-09-15 23:48:51] watchdog.IN-9408-Garten INFO : No frames received from IN-9408-Garten in 20 seconds. Exiting ffmpeg... 2023-09-15 21:48:51.630033277 [2023-09-15 23:48:51] watchdog.IN-9408-Garten INFO : Waiting for ffmpeg to exit gracefully... 2023-09-15 21:48:51.684472741 [2023-09-15 23:48:51] frigate.video ERROR : IN-8401-Flur: Unable to read frames from ffmpeg process. 2023-09-15 21:48:51.687505869 [2023-09-15 23:48:51] frigate.video ERROR : IN-8401-Flur: ffmpeg process is not running. exiting capture thread... 2023-09-15 21:48:51.744138535 [2023-09-15 23:48:51] frigate.video ERROR : IN-9408-Garten: Unable to read frames from ffmpeg process. 2023-09-15 21:48:51.746675959 [2023-09-15 23:48:51] frigate.video ERROR : IN-9408-Garten: ffmpeg process is not running. exiting capture thread... 2023-09-15 21:49:01.693513694 [2023-09-15 23:49:01] watchdog.IN-8401-Flur ERROR : Ffmpeg process crashed unexpectedly for IN-8401-Flur. 2023-09-15 21:49:01.698998672 [2023-09-15 23:49:01] watchdog.IN-8401-Flur ERROR : The following ffmpeg logs include the last 100 lines prior to exit. 2023-09-15 21:49:01.699786357 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.701291152 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.702272188 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.704390854 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.705662964 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.706977222 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.707720666 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.709974424 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.710805479 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.712543237 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.713512144 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.715345217 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.716768512 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.718595530 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.720044103 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.721778935 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.723936397 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.725485377 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.726361710 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.728083616 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.728786153 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.730001300 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.730668522 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.731763688 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.732436780 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.733697298 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.734360353 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.735540519 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.736212648 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.737243462 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.738583850 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.739789739 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.742112867 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.744552736 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.745622087 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.746593938 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.747903196 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.748855196 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.750990306 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.751431953 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.754003748 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.754460877 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.755718969 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.756097488 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.757581338 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.757998431 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.760575670 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.760995855 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.763079298 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.791333558 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.792434502 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.803078569 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.803998216 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.804920068 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.805884586 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.807179881 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.808423880 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.809446806 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.810110972 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.823792574 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.823806445 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.824391981 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.826000702 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.826976906 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.828472719 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.832151162 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.832166643 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.832993457 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.833902364 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.835983048 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.837021696 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.837680065 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.838865602 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.839562083 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.840795212 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.841395174 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.842539433 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.847537374 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.847557078 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.847560393 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.847576374 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.847658022 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.848174522 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.850544613 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.851920482 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.853829055 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.855392573 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.856787257 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.858166627 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.859382626 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.860639958 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.862038624 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.863170012 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.864415493 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.865946344 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.867081788 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.867843343 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [segment @ 0x55927f5940] 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-09-15 21:49:01.869321916 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [segment @ 0x55927f5940] Non-monotonous DTS in output stream 0:0; previous: 0, current: 0; changing to 1. This may result in incorrect timestamps in the output file. 2023-09-15 21:49:01.869997526 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [rtsp @ 0x55927c9290] CSeq 6 expected, 0 received. 2023-09-15 21:49:01.871518655 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.871959803 [2023-09-15 23:49:01] watchdog.IN-9408-Garten ERROR : Ffmpeg process crashed unexpectedly for IN-9408-Garten. 2023-09-15 21:49:01.873858080 [2023-09-15 23:49:01] watchdog.IN-9408-Garten ERROR : The following ffmpeg logs include the last 100 lines prior to exit. 2023-09-15 21:49:01.875133949 [2023-09-15 23:49:01] ffmpeg.IN-9408-Garten.detect ERROR : [segment @ 0x5598fead80] 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-09-15 21:49:01.876461652 [2023-09-15 23:49:01] ffmpeg.IN-9408-Garten.detect ERROR : [segment @ 0x5598fead80] Non-monotonous DTS in output stream 0:0; previous: 0, current: 0; changing to 1. This may result in incorrect timestamps in the output file. 2023-09-15 21:49:01.877618207 [2023-09-15 23:49:01] ffmpeg.IN-9408-Garten.detect ERROR : [rtsp @ 0x5598fbe290] CSeq 6 expected, 0 received. 2023-09-15 21:49:01.878746502 [2023-09-15 23:49:01] ffmpeg.IN-9408-Garten.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:19.618345700 [2023-09-15 23:49:19] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:49:19.625159808 [2023-09-15 23:49:19] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:49:19.627552695 [2023-09-15 23:49:19] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:49:19.630518675 [2023-09-15 23:49:19] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:49:19.634103265 [2023-09-15 23:49:19] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:49:19.636433523 [2023-09-15 23:49:19] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:49:19.646680258 [2023-09-15 23:49:19] frigate.video ERROR : IN-9408-Eingang: ffmpeg process is not running. exiting capture thread... 2023-09-15 21:49:29.649532645 [2023-09-15 23:49:29] watchdog.IN-9408-Eingang ERROR : Ffmpeg process crashed unexpectedly for IN-9408-Eingang. 2023-09-15 21:49:29.650874570 [2023-09-15 23:49:29] watchdog.IN-9408-Eingang ERROR : The following ffmpeg logs include the last 100 lines prior to exit. 2023-09-15 21:49:29.651634273 [2023-09-15 23:49:29] ffmpeg.IN-9408-Eingang.detect ERROR : [segment @ 0x559cb35940] 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-09-15 21:49:29.653136939 [2023-09-15 23:49:29] ffmpeg.IN-9408-Eingang.detect ERROR : [segment @ 0x559cb35940] Non-monotonous DTS in output stream 0:0; previous: 0, current: 0; changing to 1. This may result in incorrect timestamps in the output file. 2023-09-15 21:49:29.654732845 [2023-09-15 23:49:29] ffmpeg.IN-9408-Eingang.detect ERROR : [rtsp @ 0x559cb09290] CSeq 6 expected, 0 received. 2023-09-15 21:49:29.656740252 [2023-09-15 23:49:29] ffmpeg.IN-9408-Eingang.detect ERROR : Last message repeated 5 times 2023-09-15 21:50:21.941615593 [2023-09-15 23:50:21] watchdog.IN-9408-Garten INFO : No frames received from IN-9408-Garten in 20 seconds. Exiting ffmpeg... 2023-09-15 21:50:21.944066722 [2023-09-15 23:50:21] watchdog.IN-9408-Garten INFO : Waiting for ffmpeg to exit gracefully... 2023-09-15 21:50:29.728160417 [2023-09-15 23:50:29] watchdog.IN-9408-Eingang INFO : No frames received from IN-9408-Eingang in 20 seconds. Exiting ffmpeg... 2023-09-15 21:50:29.731616860 [2023-09-15 23:50:29] watchdog.IN-9408-Eingang INFO : Waiting for ffmpeg to exit gracefully... 2023-09-15 21:50:29.912101110 [2023-09-15 23:50:29] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:50:29.917519441 [2023-09-15 23:50:29] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:50:29.922900901 [2023-09-15 23:50:29] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:50:29.925167473 [2023-09-15 23:50:29] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:50:29.927337231 [2023-09-15 23:50:29] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:50:29.928872601 [2023-09-15 23:50:29] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:50:29.930322619 [2023-09-15 23:50:29] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:50:29.932485284 [2023-09-15 23:50:29] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:50:29.939308799 [2023-09-15 23:50:29] frigate.video ERROR : IN-9408-Eingang: ffmpeg process is not running. exiting capture thread... 2023-09-15 21:50:35.114432183 [2023-09-15 23:50:35] frigate.video ERROR : IN-9408-Garten: Unable to read frames from ffmpeg process. 2023-09-15 21:50:35.119296829 [2023-09-15 23:50:35] frigate.video ERROR : IN-9408-Garten: Unable to read frames from ffmpeg process. 2023-09-15 21:50:35.119313625 [2023-09-15 23:50:35] frigate.video ERROR : IN-9408-Garten: Unable to read frames from ffmpeg process. 2023-09-15 21:50:35.121605531 [2023-09-15 23:50:35] frigate.video ERROR : IN-9408-Garten: ffmpeg process is not running. exiting capture thread... 2023-09-15 21:50:39.972197655 [2023-09-15 23:50:39] watchdog.IN-9408-Eingang ERROR : Ffmpeg process crashed unexpectedly for IN-9408-Eingang. 2023-09-15 21:50:39.975479265 [2023-09-15 23:50:39] watchdog.IN-9408-Eingang ERROR : The following ffmpeg logs include the last 100 lines prior to exit. 2023-09-15 21:50:39.975507024 [2023-09-15 23:50:39] ffmpeg.IN-9408-Eingang.detect ERROR : [h264 @ 0x5580aa33f0] sps_id 0 out of range 2023-09-15 21:50:39.987820943 [2023-09-15 23:50:39] ffmpeg.IN-9408-Eingang.detect ERROR : [h264 @ 0x5580aa33f0] non-existing PPS 0 referenced 2023-09-15 21:50:39.988788794 [2023-09-15 23:50:39] ffmpeg.IN-9408-Eingang.detect ERROR : [h264 @ 0x5580aa33f0] sps_id 0 out of range 2023-09-15 21:50:39.989783164 [2023-09-15 23:50:39] ffmpeg.IN-9408-Eingang.detect ERROR : [h264 @ 0x5580aa33f0] non-existing PPS 0 referenced 2023-09-15 21:50:39.990799886 [2023-09-15 23:50:39] ffmpeg.IN-9408-Eingang.detect ERROR : [h264 @ 0x5580aa33f0] decode_slice_header error 2023-09-15 21:50:40.007954173 [2023-09-15 23:50:39] ffmpeg.IN-9408-Eingang.detect ERROR : [h264 @ 0x5580aa33f0] no frame! 2023-09-15 21:50:40.008984135 [2023-09-15 23:50:39] ffmpeg.IN-9408-Eingang.detect ERROR : [segment @ 0x5580accd80] 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-09-15 21:50:40.010368912 [2023-09-15 23:50:39] ffmpeg.IN-9408-Eingang.detect ERROR : [segment @ 0x5580accd80] Non-monotonous DTS in output stream 0:0; previous: 0, current: 0; changing to 1. This may result in incorrect timestamps in the output file. 2023-09-15 21:50:40.013079447 [2023-09-15 23:50:39] ffmpeg.IN-9408-Eingang.detect ERROR : [h264 @ 0x5580b33700] Increasing reorder buffer to 1 2023-09-15 21:50:40.014324095 [2023-09-15 23:50:39] ffmpeg.IN-9408-Eingang.detect ERROR : [rtsp @ 0x5580aa0290] CSeq 6 expected, 0 received. 2023-09-15 21:50:40.015580261 [2023-09-15 23:50:39] ffmpeg.IN-9408-Eingang.detect ERROR : Last message repeated 1 times 2023-09-15 21:50:45.125720077 [2023-09-15 23:50:45] watchdog.IN-9408-Garten ERROR : Ffmpeg process crashed unexpectedly for IN-9408-Garten. 2023-09-15 21:50:45.161502464 [2023-09-15 23:50:45] watchdog.IN-9408-Garten ERROR : The following ffmpeg logs include the last 100 lines prior to exit. 2023-09-15 21:50:45.163816592 [2023-09-15 23:50:45] ffmpeg.IN-9408-Garten.detect ERROR : [segment @ 0x5578c72d80] 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-09-15 21:50:45.163838277 [2023-09-15 23:50:45] ffmpeg.IN-9408-Garten.detect ERROR : [rtsp @ 0x5578c46290] CSeq 7 expected, 0 received. 2023-09-15 21:50:45.163940740 [2023-09-15 23:50:45] ffmpeg.IN-9408-Garten.detect ERROR : Last message repeated 2 times 2023-09-15 21:51:20.029625263 [2023-09-15 23:51:20] watchdog.IN-9408-Eingang INFO : No frames received from IN-9408-Eingang in 20 seconds. Exiting ffmpeg... 2023-09-15 21:51:20.029640134 [2023-09-15 23:51:20] watchdog.IN-9408-Eingang INFO : Waiting for ffmpeg to exit gracefully... 2023-09-15 21:51:25.246975328 [2023-09-15 23:51:25] watchdog.IN-9408-Garten INFO : No frames received from IN-9408-Garten in 20 seconds. Exiting ffmpeg... 2023-09-15 21:51:25.250213881 [2023-09-15 23:51:25] watchdog.IN-9408-Garten INFO : Waiting for ffmpeg to exit gracefully... 2023-09-15 21:51:39.364011969 [2023-09-15 23:51:39] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:51:39.367036985 [2023-09-15 23:51:39] frigate.video ERROR : IN-9408-Eingang: ffmpeg process is not running. exiting capture thread... 2023-09-15 21:51:49.372905634 [2023-09-15 23:51:49] watchdog.IN-9408-Eingang ERROR : Ffmpeg process crashed unexpectedly for IN-9408-Eingang. 2023-09-15 21:51:49.372919301 [2023-09-15 23:51:49] watchdog.IN-9408-Eingang ERROR : The following ffmpeg logs include the last 100 lines prior to exit. 2023-09-15 21:51:49.372925301 [2023-09-15 23:51:49] ffmpeg.IN-9408-Eingang.detect ERROR : [segment @ 0x55919a0940] 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-09-15 21:51:49.372930875 [2023-09-15 23:51:49] ffmpeg.IN-9408-Eingang.detect ERROR : [segment @ 0x55919a0940] Non-monotonous DTS in output stream 0:0; previous: 0, current: 0; changing to 1. This may result in incorrect timestamps in the output file. 2023-09-15 21:51:49.372936338 [2023-09-15 23:51:49] ffmpeg.IN-9408-Eingang.detect ERROR : [rtsp @ 0x5591974290] CSeq 6 expected, 0 received. 2023-09-15 21:51:49.373072764 [2023-09-15 23:51:49] ffmpeg.IN-9408-Eingang.detect ERROR : Last message repeated 1 times 2023-09-15 21:51:54.850103557 [2023-09-15 23:51:54] frigate.video ERROR : IN-9408-Garten: Unable to read frames from ffmpeg process. 2023-09-15 21:51:54.856558035 [2023-09-15 23:51:54] frigate.video ERROR : IN-9408-Garten: Unable to read frames from ffmpeg process. 2023-09-15 21:51:54.862014939 [2023-09-15 23:51:54] frigate.video ERROR : IN-9408-Garten: Unable to read frames from ffmpeg process. 2023-09-15 21:51:54.866146511 [2023-09-15 23:51:54] frigate.video ERROR : IN-9408-Garten: Unable to read frames from ffmpeg process. 2023-09-15 21:51:54.866160714 [2023-09-15 23:51:54] frigate.video ERROR : IN-9408-Garten: ffmpeg process is not running. exiting capture thread... 2023-09-15 21:51:57.555959518 [2023-09-15 23:51:57] frigate.record WARNING : Discarding a corrupt recording segment: /tmp/cache/IN-9408-Garten-20230915235103.mp4 2023-09-15 21:52:04.879645990 [2023-09-15 23:52:04] watchdog.IN-9408-Garten ERROR : Ffmpeg process crashed unexpectedly for IN-9408-Garten. 2023-09-15 21:52:04.879665731 [2023-09-15 23:52:04] watchdog.IN-9408-Garten ERROR : The following ffmpeg logs include the last 100 lines prior to exit. 2023-09-15 21:52:04.879671675 [2023-09-15 23:52:04] ffmpeg.IN-9408-Garten.detect ERROR : [segment @ 0x55ba16dd30] 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-09-15 21:52:04.879675416 [2023-09-15 23:52:04] ffmpeg.IN-9408-Garten.detect ERROR : [h264 @ 0x55ba129b80] Increasing reorder buffer to 1 2023-09-15 21:52:04.879679064 [2023-09-15 23:52:04] ffmpeg.IN-9408-Garten.detect ERROR : [h264 @ 0x55ba129b80] top block unavailable for requested intra mode -1 2023-09-15 21:52:04.879682527 [2023-09-15 23:52:04] ffmpeg.IN-9408-Garten.detect ERROR : [h264 @ 0x55ba129b80] error while decoding MB 103 0, bytestream -3 2023-09-15 21:52:04.880156805 [2023-09-15 23:52:04] ffmpeg.IN-9408-Garten.detect ERROR : rtsp://:@192.168.2.128/livestream/12: corrupt decoded frame in stream 0 2023-09-15 21:52:44.968848654 [2023-09-15 23:52:44] watchdog.IN-9408-Garten INFO : No frames received from IN-9408-Garten in 20 seconds. Exiting ffmpeg... 2023-09-15 21:52:44.969471579 [2023-09-15 23:52:44] watchdog.IN-9408-Garten INFO : Waiting for ffmpeg to exit gracefully... 2023-09-15 21:52:46.398758508 [2023-09-15 23:52:46] frigate.video ERROR : IN-9408-Garten: Unable to read frames from ffmpeg process. 2023-09-15 21:52:46.401547007 [2023-09-15 23:52:46] frigate.video ERROR : IN-9408-Garten: Unable to read frames from ffmpeg process. 2023-09-15 21:52:46.404807264 [2023-09-15 23:52:46] frigate.video ERROR : IN-9408-Garten: Unable to read frames from ffmpeg process. 2023-09-15 21:52:46.406677930 [2023-09-15 23:52:46] frigate.video ERROR : IN-9408-Garten: ffmpeg process is not running. exiting capture thread... 2023-09-15 21:52:56.436668180 [2023-09-15 23:52:56] watchdog.IN-9408-Garten ERROR : Ffmpeg process crashed unexpectedly for IN-9408-Garten. 2023-09-15 21:52:56.438442809 [2023-09-15 23:52:56] watchdog.IN-9408-Garten ERROR : The following ffmpeg logs include the last 100 lines prior to exit. 2023-09-15 21:52:56.438458716 [2023-09-15 23:52:56] ffmpeg.IN-9408-Garten.detect ERROR : [segment @ 0x558567d940] 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-09-15 21:52:56.438462772 [2023-09-15 23:52:56] ffmpeg.IN-9408-Garten.detect ERROR : [rtsp @ 0x5585651290] CSeq 6 expected, 0 received. 2023-09-15 21:52:56.438466161 [2023-09-15 23:52:56] ffmpeg.IN-9408-Garten.detect ERROR : Last message repeated 1 times
Please send a screenshot of the system page
Many things look not great here --
Coral inference time should be close to if not below 10, 100 is quite high and implies some slowdown or usb cable / port issue.
Also the cpu usages are very high. What hardware is this system running? Hwaccel is highly recommended especially when decoding higher resolutions like 1920x1080 for detect.
I use a raspberry pi 4 4GB and have the coral attached via the recommended USB port.
What would you recommend and how should I install hwaccel? :)
Stupid question - I use hassio on the raspberry, can I do that there as well?
Or do you recommend a different hardware?
it can be done but it is not documented, I am not sure exactly how in HA OS.
The docs have a list of recommended hardware https://docs.frigate.video/frigate/hardware#server
do these cameras not have substreams?
Im seeing a similar issue here too.
frame= 5193 fps= 22 q=-1.0 size=N/A time=00:03:59.11 bitrate=N/A speed=1.01x
14:05:48.712 ERR [exec] timeout url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.150.13/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=123456789 -map 0:v:0? -c:v:0 copy -map 0:a:0? -c:a:0 copy -map 0:a:0? -c:a:1 libopus -ar:a:1 48000 -ac:a:1 2 -application:a:1 voip -min_comp 0 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2023-09-16 14:05:48.713702957 14:05:48.713 DBG [exec] run url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.150.13/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=123456789 -map 0:v:0? -c:v:0 copy -map 0:a:0? -c:a:0 copy -map 0:a:0? -c:a:1 libopus -ar:a:1 48000 -ac:a:1 2 -application:a:1 voip -min_comp 0 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2023-09-16 14:05:48.716122279 14:05:48.715 TRC [exec] close url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.150.13/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=123456789 -map 0:v:0? -c:v:0 copy -map 0:a:0? -c:a:0 copy -map 0:a:0? -c:a:1 libopus -ar:a:1 48000 -ac:a:1 2 -application:a:1 voip -min_comp 0 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2023-09-16 14:05:48.723196275 14:05:48.723 ERR [exec] timeout url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.150.12/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=123456789 -map 0:v:0? -c:v:0 copy -map 0:a:0? -c:a:0 copy -map 0:a:0? -c:a:1 libopus -ar:a:1 48000 -ac:a:1 2 -application:a:1 voip -min_comp 0 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2023-09-16 14:05:48.723513253 14:05:48.723 DBG [exec] run url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.150.12/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=123456789 -map 0:v:0? -c:v:0 copy -map 0:a:0? -c:a:0 copy -map 0:a:0? -c:a:1 libopus -ar:a:1 48000 -ac:a:1 2 -application:a:1 voip -min_comp 0 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2023-09-16 14:05:48.726727822 14:05:48.726 TRC [exec] close url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.150.12/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=123456789 -map 0:v:0? -c:v:0 copy -map 0:a:0? -c:a:0 copy -map 0:a:0? -c:a:1 libopus -ar:a:1 48000 -ac:a:1 2 -application:a:1 voip -min_comp 0 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2023-09-16 14:05:48.986672143 frame= 5199 fps= 22 q=-1.0 size=N/A time=00:03:59.41 bitrate=N/A speed=1.01x
frame= 5936 fps= 25 q=-1.0 size=N/A time=00:03:59.40 bitrate=N/A speed=1.01x
14:05:48.986 DBG [exec] run url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.150.11/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=123456789 -c copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2023-09-16 14:05:48.988113575 14:05:48.987 DBG [exec] run url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.150.10/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=123456789 -c copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2023-09-16 14:05:48.995352785 frame= 4715 fps= 20 q=-1.0 size=N/A time=00:03:59.75 bitrate=N/A speed=1.02x
14:05:48.995 DBG [exec] run url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.150.15/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=123456789 -c copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2023-09-16 14:05:49.000076363 14:05:48.999 DBG [exec] run url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.150.14/flv?port=1935&app=bcs&stream=channel1_ext.bcs&user=admin&password=123456789 -c copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
Im seeing a similar issue here too.
please create your own issue, this user is not running 0.13
do these cameras not have substreams?
Sh** what's that? I used rtsp since the docu recommended it and used the url INSTAR is providing π
a sub stream is a stream from the camera that is a lower resolution / frame rate than the main stream.
a sub stream is a stream from the camera that is a lower resolution / frame rate than the main stream.
Ah thanks man - yeah I can easily reduce the resolution. But I wanted to have high res pictures when viewing the cam.
Let me reduce it quickly :)
Ah thanks man - yeah I can easily reduce the resolution. But I wanted to have high res pictures when viewing the cam.
right, but that is the benefit of the sub stream. It is a separate stream that is lower resolution without affecting the resolution of the main stream.
This is why frigate recommends high quality cameras that have 3+ streams, so you can have high resolution for record while also having a middle resolution stream for detection
I changed the rtsp stream url - when editing the last number, the stream uses lower resolution.
Detect resolution in Config I left unchanged and also deleted birdsview.
mqtt:
host: 192.168.2.109
port: 1883
user: hass-mqtt
password: mqtt
detectors:
coral:
type: edgetpu
device: usb
ffmpeg:
hwaccel_args: preset-rpi-64-h264
detect:
width: 1920
height: 1080
fps: 5
enabled: True
max_disappeared: 25
objects:
track:
- person
filters:
person:
min_score: 0.8
threshold: 0.7
record:
enabled: True
expire_interval: 60
events:
pre_capture: 5
post_capture: 5
objects:
- person
retain:
default: 5
mode: motion
objects:
person: 15
snapshots:
enabled: True
clean_copy: True
bounding_box: True
crop: False
retain:
default: 5
objects:
person: 15
cameras:
IN-9408-Eingang:
ffmpeg:
inputs:
- path: rtsp://operator-kamera:qyw8xU8mkr.zh4R7znL3@192.168.2.127/livestream/13
roles:
- detect
- record
IN-9408-Garten:
ffmpeg:
inputs:
- path: rtsp://operator-kamera:qyw8xU8mkr.zh4R7znL3@192.168.2.128/livestream/13
roles:
- detect
- record
IN-8401-Flur:
ffmpeg:
inputs:
- path: rtsp://operator-kamera:qyw8xU8mkr.zh4R7znL3@192.168.2.146/livestream/13
roles:
- detect
- record
Tapo-Garage:
ffmpeg:
inputs:
- path: rtsp://operator-kamera:McN9foGXqtK2xPi@192.168.2.147:554/stream1
roles:
- detect
- record
you need to lower detect resolution if you are running detect on a lower resolution stream. and there is no reason to also record on the same lower resolution
https://docs.frigate.video/guides/getting_started#step-6-enable-recording-andor-snapshots
Ah got it. So you recommend the detect stream is low while record stream higher?
this is covered in detail https://docs.frigate.video/frigate/camera_setup
That helped a lot - got it working now and as of now with go2rtc looks good:
mqtt:
host: 192.168.2.109
port: 1883
user: hass-mqtt
password: mqtt
detectors:
coral:
type: edgetpu
device: usb
ffmpeg:
hwaccel_args: preset-rpi-64-h264
detect:
width: 640
height: 360
fps: 5
enabled: True
max_disappeared: 25
objects:
track:
- person
filters:
person:
min_score: 0.8
threshold: 0.7
record:
enabled: True
expire_interval: 60
events:
pre_capture: 5
post_capture: 5
objects:
- person
retain:
default: 5
mode: motion
objects:
person: 15
snapshots:
enabled: True
clean_copy: True
bounding_box: True
crop: False
retain:
default: 5
objects:
person: 15
cameras:
Eingang:
ffmpeg:
inputs:
- path: rtsp://operator-kamera:qyw8xU8mkr.zh4R7znL3@192.168.2.127/livestream/13
roles:
- detect
- path: rtsp://operator-kamera:qyw8xU8mkr.zh4R7znL3@192.168.2.127/livestream/11
roles:
- record
Garten:
ffmpeg:
inputs:
- path: rtsp://operator-kamera:qyw8xU8mkr.zh4R7znL3@192.168.2.128/livestream/13
roles:
- detect
- path: rtsp://operator-kamera:qyw8xU8mkr.zh4R7znL3@192.168.2.128/livestream/11
roles:
- record
Garage:
ffmpeg:
inputs:
- path: rtsp://operator-kamera:McN9foGXqtK2xPi@192.168.2.147:554/stream2
roles:
- detect
- path: rtsp://operator-kamera:McN9foGXqtK2xPi@192.168.2.147:554/stream1
roles:
- record
go2rtc:
streams:
Eingang:
- rtsp://operator-kamera:qyw8xU8mkr.zh4R7znL3@192.168.2.127/livestream/11
- "ffmpeg:Eingang#video=h264"
Garten:
- rtsp://operator-kamera:qyw8xU8mkr.zh4R7znL3@192.168.2.128/livestream/11
- "ffmpeg:Garten#video=h264"
Garage:
- rtsp://operator-kamera:McN9foGXqtK2xPi@192.168.2.147:554/stream1
What I still noticed, is the high inferenced speed ms for the coral - any option to optimize it besides nuc?
FFPROBE give that: [{"return_code":1,"stderr":"","stdout":""},{"return_code":1,"stderr":"","stdout":""}]
What I still noticed, is the high inferenced speed ms for the coral - any option to optimize it besides nuc?
I don't think so, as far as I know all RPi usb ports are the same
Shit ok - so upgrade hardware recommended for 3 LAN camera + 1 Wlan cam?
In general yes, users have had better performance
Going to go ahead and close this since the original issue is solved. Feel free to create a new issue if something else comes up.
Describe the problem you are having
Hi team,
since the current beta, I have huge trouble keeping the rtsp stream from my camera running. I get the error " No frames have been received, check error logs" very often and the stream just crashes.
I contacted the camera producer and they noticed in the log, that frigate / rtsp stream receiver is not picking up the rtsp stream fast enough, so that the camera writes it into the internal memory.
Furthermore, the camera screens are not updated each second - neither in frigate plugin, nor dashboard nor the birdseye.
I attach the logs - please tell me if I can provide anything else to support you. Warm regards Sebastian
Version
v5.0.0-beta.1
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
No response
Operating system
HassOS
Install method
HassOS Addon
Coral version
USB
Network connection
Wired
Camera make and model
2x INSTAR 9408, 1x INSTAR 8401, 1x TP-Link Tapo C225
Any other information that may be helpful
No response