Closed SuperMaximus1984 closed 3 months ago
Have you recompiled the trt models to use the new version? Like the release notes said models generated previously are not supported.
/trt-models/efficientdet_lite3_512_ptq_edgetpu.tflite
No, I'm not using TRT Models here, it's just the homonymous name of folder where I placed TRT & TFLITE models. Here I use Coral USD & EfficientDet model. By the way, did Tensorflow become more efficient in 0.13 compared to 0.12. It's kind of an off-topic, but according to my tests TRT YoloV7 was much inferior compared to EfficientDet model in terms of false positives detection. As soon as I get Coral detector running smoothly, I'll start experimenting with TRT.
The main change in 0.13 is that models are generated automatically for trt on first startup.
What are the frigate logs after running for 5 minutes?
The Firgate logs are unchanged after running for 5 minutes:
2024-01-21 22:14:43.468230607 [INFO] Preparing Frigate...
2024-01-21 22:14:43.477142601 [INFO] Starting Frigate...
2024-01-21 22:14:44.534857817 [2024-01-21 22:14:44] frigate.app INFO : Starting Frigate (0.13.0-49814b3)
2024-01-21 22:14:44.615900839 [2024-01-21 22:14:44] peewee_migrate.logs INFO : Starting migrations
2024-01-21 22:14:44.619030073 [2024-01-21 22:14:44] peewee_migrate.logs INFO : There is nothing to migrate
2024-01-21 22:14:44.623817329 [2024-01-21 22:14:44] frigate.app INFO : Recording process started: 450
2024-01-21 22:14:44.625873411 [2024-01-21 22:14:44] frigate.app INFO : go2rtc process pid: 98
2024-01-21 22:14:44.649159622 [2024-01-21 22:14:44] detector.coral INFO : Starting detection process: 460
2024-01-21 22:14:47.296180979 [2024-01-21 22:14:44] frigate.app INFO : Output process started: 462
2024-01-21 22:14:47.296364168 [2024-01-21 22:14:44] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb
2024-01-21 22:14:47.296763798 [2024-01-21 22:14:44] frigate.app INFO : Camera processor started for ptz: 471
2024-01-21 22:14:47.296844796 [2024-01-21 22:14:44] frigate.app INFO : Camera processor started for front: 472
2024-01-21 22:14:47.296921032 [2024-01-21 22:14:44] frigate.app INFO : Camera processor started for back: 475
2024-01-21 22:14:47.296993620 [2024-01-21 22:14:44] frigate.app INFO : Camera processor started for sosed: 476
2024-01-21 22:14:47.297069255 [2024-01-21 22:14:44] frigate.app INFO : Camera processor started for trucks: 478
2024-01-21 22:14:47.297174027 [2024-01-21 22:14:44] frigate.app INFO : Camera processor started for trucks_back: 482
2024-01-21 22:14:47.297246923 [2024-01-21 22:14:44] frigate.app INFO : Capture process started for ptz: 485
2024-01-21 22:14:47.297318148 [2024-01-21 22:14:44] frigate.app INFO : Capture process started for front: 489
2024-01-21 22:14:47.297389394 [2024-01-21 22:14:44] frigate.app INFO : Capture process started for back: 494
2024-01-21 22:14:47.297464049 [2024-01-21 22:14:44] frigate.app INFO : Capture process started for sosed: 500
2024-01-21 22:14:47.297536440 [2024-01-21 22:14:44] frigate.app INFO : Capture process started for trucks: 520
2024-01-21 22:14:47.297610643 [2024-01-21 22:14:44] frigate.app INFO : Capture process started for trucks_back: 525
2024-01-21 22:14:47.304767666 [2024-01-21 22:14:47] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
Was something changed in FFMPEG interaction in 0.13? I see frames skipped in Detect here, which was not the issue in 0.12 (0 skipped there all the time):
The weird thing is that camera screenshots on the main Frigate dashboard are not getting updated after Frigate restart. And the more I refresh the page browser the less screenshots I see (I see "No frames have been received, check error logs" messages on all camera preview windows). In 0.12 I saw regular camera image updates (once per 5 seconds or so).
No nothing changed with ffmpeg. Also if I understand what you're saying that is not correct, there is no such functionality to refresh the images on the main camera dashboard. Can you send a full screenshot of the entire system page please
@NickM-27 Yes, you're right, I misinterpreted it a bit: after I refresh the page in 0.12 I see changes in camera images, while in 0.13 I see either a static (previous) image or the message about "No frames.." on a black screen. In the meantime I need an operable Frigate by tomorrow, thus I had to revert to 0.12. If this is what you need, it's same for 0.12 and 0.13 (unless the latter starts to skip the frames):
100 milliseconds of inference time is crazy high, so that is most likely the problem. I'd suggest using the built in model and see if that fixes the issue
100 milliseconds of inference time is crazy high, so that is most likely the problem. I'd suggest using the built in model and see if that fixes the issue
Same inference time in 0.12, and no problems at all, not a single frame skipped. Built-in model, albeit gives lesser inference time, quality-wise is much more inferior to EfficientDet.
There's something wrong/different in 0.13 for sure.
The skipped frames counter was broken in 0.12, so no skipped frames doesn't mean it wasn't actually skipping frames
100ms is really slow, it means you can only run 10 inferences per second, which is not nearly enough for 5 fps across 6 cameras
In any case, we've not had any other reports of this issue so it will likely be something fairly specific
@NickM-27 OK, I can try reconfiguring Frigate for TensorRT despite its model's inferiority in terms of accuracy, but I don't think the inference time has something to do with constantly disappearing streams in 0.13. When "No frames.." appears, the system doesn't work, logically. And in 0.12 it works. Would you please elaborate on your earlier message regarding TensorRT models generated at first run in 0.13? Does it mean I should not compile them on my own? Here's my previous TensorRT 0.12 config part:
detectors:
tensorrt:
type: tensorrt
device: 0
model:
path: /trt-models/yolov7x-640.trt
input_tensor: nchw
input_pixel_format: rgb
width: 640
height: 640
I've tried running with TRT, now the inference time is much better, but it doesn't change the "No frames.." issue appearing periodically (very frequently).
the inference time has a direct affect on this issue, because when frigate is sitting waiting for the object detection inference to complete it is unable to process other frames and that means the frame times fall behind causing frigate to return the no frames received image.
we still see loads of skipped frames which means something is still very wrong here. I wouldn't expect that to occur with 47 ms inference speed but it seems something is quite wrong here. I think the best thing for testing is to use the built in coral model and that should give an inference time of 10 ms and see if it still occurs at that point
another thing you could try is just turning off detect in the dashboard for all cameras and see if the issue improves
@NickM-27 Yeah, I managed to get 27-33 ms inference time with TRT Yolov7-640 model. Now it doesn't skip anything and "No frames" message doesn't appear.
However I regret that the EfficientDet model takes so much time for inference. That model is much more false-proof than the standard one.
Because the models aren't trained on security camera images they definitely vary highly from camera to camera in terms of false positives.
@NickM-27 One more question - I have a PTZ camera with parameters like this:
cameras:
ptz:
ffmpeg:
hwaccel_args: preset-nvidia-h264
inputs:
- path: rtsp://login:pass@192.168.0.8:554/axis-media/media.amp
roles:
- detect
detect:
width: 1920
height: 1080
fps: 5
objects:
track:
- person
- car
- truck
- bicycle
- motorcycle
record:
enabled: true
retain:
days: 10
mode: motion
In Frigate 0.12 there was a clear recording from motion start till motion end (PTZ moves quickly, I assume the motion detection was leveraged immediately and recording started as well). Now in Frigate 0.13 I see only a part of my target motion recorded, it's abrupt (sometimes records only the end of clip). I assume it happens due to a novel Norfair motion detection. Is it somehow configurable so that I could get the needed result?
there are some things to clear up here:
I have the same problem, and in version 0.12 it doesn't happen, only in version 13
If anyone has any help, I have Reolink cameras. but in version 12 it works
I have Reolink RLC-523WA actually two separate HA setups. With Frigate 0.12.1 both setups are working, but upgrading Frigate to 0.13.2 those are not working. The following errors are coming: frigate.video ERROR : sipoo-piha: Unable to read frames from ffmpeg process. rigate.video ERROR : sipoo-piha: ffmpeg process is not running. exiting capture thread... watchdog.sipoo-piha ERROR : Ffmpeg process crashed unexpectedly for sipoo-piha.
By restoring back to Frigate 0.12.1 without any Config changes, the setups are working.
Very similar here. I get the 'No frames have been received, check error logs' very often on all cameras simultaneously. This wasn't happening on previous versions.
Very similar here. I get the 'No frames have been received, check error logs' very often on all cameras simultaneously. This wasn't happening on previous versions.
I have this nowadays working. It seems that it takes time to stabilize after upgrade from 0.12.1 to 0.13.2. It was taking even about 24 Hours.
I also have this same issue with a variety of Amcrest cameras after upgrading to 0.13.2. Nearly all of my cameras are giving the "no frames have been received" message, with a few intermittently successful frames being shown after multiple reloads of the camera page. Everything worked flawlessly with 0.12.1, so I've had to downgrade back to that version to have a functional NVR system.
So, after some fiddling, I found that I was able to get 0.13.2 working with a combination of using the ffmpeg:rtsp:// source in go2rtc along with the secondary lower VGA resolution camera streams at 640x480, then scaled up to 854x480 for detection to fix the aspect ratio. Previously with 0.12.1 I had been using the native camera resolution video scaled down to 1280x720 for detection without problem.
I'm still somewhat disappointed in this workaround, as JSMPEG quality suffers quite dramatically, but at least my home assistant integration is working again with the latest version.
Also getting this after moving to v0.13. Though I am guessing it is due to performance and high inference.
I'm getting this too after upgrading to v0.13. I'm having reolink camera with the recommended setup (using HTTP stream with lower resolution). I haven't found a solution yet. Part of the config (worked really well with v0.12)
go2rtc:
ffmpeg:
bin: ffmpeg
homekit: "-map -an -tune zerolatency -pix_fmt yuv420p -payload_type 99"
reolink: "-hwaccel vaapi -hwaccel_device /dev/dri/renderD128"
webrtc:
candidates:
- 192.168.5.7:8555
streams:
front_door:
- http://192.168.40.50/flv?port=1935&app=bcs&stream=channel2_sub.bcs&user=frigate&password={FRIGATE_RTSP_PASSWORD}
- "ffmpeg:front_door_sub#hardware"
ffmpeg:
hwaccel_args: preset-vaapi
input_args: preset-rtsp-restream
output_args:
record: preset-record-generic-audio-aac
cameras:
# Camera section...
Logs
2024-03-27 05:44:45.290634564 [INFO] Preparing Frigate...
2024-03-27 05:44:45.321618001 [INFO] Starting Frigate...
2024-03-27 05:44:46.431619316 [2024-03-27 05:44:46] frigate.app INFO : Starting Frigate (0.13.2-6476f8a)
2024-03-27 05:44:46.459680918 [2024-03-27 05:44:46] frigate.config WARNING : Customizing more than a detector model path is unsupported.
2024-03-27 05:44:46.469615587 [2024-03-27 05:44:46] peewee_migrate.logs INFO : Starting migrations
2024-03-27 05:44:46.472715796 [2024-03-27 05:44:46] peewee_migrate.logs INFO : There is nothing to migrate
2024-03-27 05:44:46.472830402 [2024-03-27 05:44:46] frigate.app INFO : Running database vacuum
2024-03-27 05:44:46.784920534 [2024-03-27 05:44:46] frigate.app INFO : Recording process started: 728
2024-03-27 05:44:46.785851580 [2024-03-27 05:44:46] frigate.app INFO : go2rtc process pid: 89
2024-03-27 05:44:46.800199393 [2024-03-27 05:44:46] detector.ov INFO : Starting detection process: 737
2024-03-27 05:44:46.804000899 [2024-03-27 05:44:46] frigate.app INFO : Output process started: 739
2024-03-27 05:44:46.842126066 [2024-03-27 05:44:46] frigate.app INFO : Camera processor started for front_door: 751
2024-03-27 05:44:46.845837706 [2024-03-27 05:44:46] frigate.app INFO : Camera processor started for garage: 754
2024-03-27 05:44:46.848592965 [2024-03-27 05:44:46] frigate.app INFO : Camera processor started for side_door: 755
2024-03-27 05:44:46.851794630 [2024-03-27 05:44:46] frigate.app INFO : Camera processor started for backyard_door: 775
2024-03-27 05:44:46.855017456 [2024-03-27 05:44:46] frigate.app INFO : Camera processor started for backyard: 776
2024-03-27 05:44:46.857874371 [2024-03-27 05:44:46] frigate.app INFO : Camera processor started for right_side: 778
2024-03-27 05:44:46.860685213 [2024-03-27 05:44:46] frigate.app INFO : Camera processor started for left_side: 781
2024-03-27 05:44:46.863694533 [2024-03-27 05:44:46] frigate.app INFO : Capture process started for front_door: 783
2024-03-27 05:44:46.867245543 [2024-03-27 05:44:46] frigate.app INFO : Capture process started for garage: 786
2024-03-27 05:44:46.870647347 [2024-03-27 05:44:46] frigate.app INFO : Capture process started for side_door: 790
2024-03-27 05:44:46.875149290 [2024-03-27 05:44:46] frigate.app INFO : Capture process started for backyard_door: 795
2024-03-27 05:44:46.878962989 [2024-03-27 05:44:46] frigate.app INFO : Capture process started for backyard: 800
2024-03-27 05:44:46.882721651 [2024-03-27 05:44:46] frigate.app INFO : Capture process started for right_side: 804
2024-03-27 05:44:46.886981312 [2024-03-27 05:44:46] frigate.app INFO : Capture process started for left_side: 808
2024-03-27 05:44:46.891577112 [2024-03-27 05:44:46] frigate.app INFO : Audio process started: 812
2024-03-27 05:44:47.172987107 [35mE: [xLinkUsb] [ 287172] [frigate.detecto] usb_find_device_with_bcd:266 Library has not been initialized when loaded[0m
2024-03-27 05:44:47.173264509 [35mE: [xLinkUsb] [ 287173] [frigate.detecto] usb_find_device_with_bcd:266 Library has not been initialized when loaded[0m
2024-03-27 05:44:47.279115579 [2024-03-27 05:44:47] frigate.detectors.plugins.openvino INFO : Model Input Shape: [1,300,300,3]
2024-03-27 05:44:47.279173734 [2024-03-27 05:44:47] frigate.detectors.plugins.openvino INFO : Model Output-0 Shape: [1,1,100,7]
2024-03-27 05:44:47.279194609 [2024-03-27 05:44:47] frigate.detectors.plugins.openvino INFO : Model has 1 Output Tensors
2024-03-27 05:44:48.365313260 [2024-03-27 05:44:48] frigate.util.services ERROR : Unable to poll intel GPU stats: Failed to initialize PMU! (Operation not permitted)
2024-03-27 05:44:48.365316903
2024-03-27 05:44:51.998861727 [2024-03-27 05:44:51] frigate.video ERROR : right_side: Unable to read frames from ffmpeg process.
2024-03-27 05:44:51.998891621 [2024-03-27 05:44:51] frigate.video ERROR : right_side: ffmpeg process is not running. exiting capture thread...
2024-03-27 05:45:06.898587933 [2024-03-27 05:45:06] watchdog.right_side ERROR : Ffmpeg process crashed unexpectedly for right_side.
2024-03-27 05:45:06.898661620 [2024-03-27 05:45:06] watchdog.right_side ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-03-27 05:45:06.898731034 [2024-03-27 05:45:06] ffmpeg.right_side.detect ERROR : rtsp://127.0.0.1:8554/right_side: Invalid data found when processing input
2024-03-27 05:45:12.013006916 [2024-03-27 05:45:12] frigate.video ERROR : right_side: Unable to read frames from ffmpeg process.
2024-03-27 05:45:12.013071426 [2024-03-27 05:45:12] frigate.video ERROR : right_side: ffmpeg process is not running. exiting capture thread...
2024-03-27 05:45:16.904831977 [2024-03-27 05:45:16] watchdog.right_side ERROR : Ffmpeg process crashed unexpectedly for right_side.
2024-03-27 05:45:16.904889109 [2024-03-27 05:45:16] watchdog.right_side ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-03-27 05:45:16.904934025 [2024-03-27 05:45:16] ffmpeg.right_side.detect ERROR : rtsp://127.0.0.1:8554/right_side: Invalid data found when processing input
2024-03-27 05:45:22.018222863 [2024-03-27 05:45:22] frigate.video ERROR : right_side: Unable to read frames from ffmpeg process.
2024-03-27 05:45:22.018286996 [2024-03-27 05:45:22] frigate.video ERROR : right_side: ffmpeg process is not running. exiting capture thread...
2024-03-27 05:45:26.910221430 [2024-03-27 05:45:26] watchdog.right_side ERROR : Ffmpeg process crashed unexpectedly for right_side.
2024-03-27 05:45:26.910284924 [2024-03-27 05:45:26] watchdog.right_side ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-03-27 05:45:26.910335333 [2024-03-27 05:45:26] ffmpeg.right_side.detect ERROR : rtsp://127.0.0.1:8554/right_side: Invalid data found when processing input
2024-03-27 05:45:32.024912364 [2024-03-27 05:45:32] frigate.video ERROR : right_side: Unable to read frames from ffmpeg process.
2024-03-27 05:45:32.024926891 [2024-03-27 05:45:32] frigate.video ERROR : right_side: ffmpeg process is not running. exiting capture thread...
2024-03-27 05:45:36.916651862 [2024-03-27 05:45:36] watchdog.right_side ERROR : Ffmpeg process crashed unexpectedly for right_side.
2024-03-27 05:45:36.916689981 [2024-03-27 05:45:36] watchdog.right_side ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-03-27 05:45:36.916728912 [2024-03-27 05:45:36] ffmpeg.right_side.detect ERROR : rtsp://127.0.0.1:8554/right_side: Invalid data found when processing input
2024-03-27 05:45:42.030827381 [2024-03-27 05:45:42] frigate.video ERROR : right_side: Unable to read frames from ffmpeg process.
2024-03-27 05:45:42.030868491 [2024-03-27 05:45:42] frigate.video ERROR : right_side: ffmpeg process is not running. exiting capture thread...
2024-03-27 05:45:46.922121526 [2024-03-27 05:45:46] watchdog.right_side ERROR : Ffmpeg process crashed unexpectedly for right_side.
2024-03-27 05:45:46.922178375 [2024-03-27 05:45:46] watchdog.right_side ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-03-27 05:45:46.922223299 [2024-03-27 05:45:46] ffmpeg.right_side.detect ERROR : rtsp://127.0.0.1:8554/right_side: Invalid data found when processing input
2024-03-27 05:45:52.036210046 [2024-03-27 05:45:52] frigate.video ERROR : right_side: Unable to read frames from ffmpeg process.
2024-03-27 05:45:52.036234118 [2024-03-27 05:45:52] frigate.video ERROR : right_side: ffmpeg process is not running. exiting capture thread...
2024-03-27 05:45:56.879248418 [2024-03-27 05:45:56] watchdog.front_door INFO : No frames received from front_door in 20 seconds. Exiting ffmpeg...
2024-03-27 05:45:56.879384732 [2024-03-27 05:45:56] watchdog.front_door INFO : Waiting for ffmpeg to exit gracefully...
2024-03-27 05:45:56.883268665 [2024-03-27 05:45:56] watchdog.garage INFO : No frames received from garage in 20 seconds. Exiting ffmpeg...
2024-03-27 05:45:56.883437595 [2024-03-27 05:45:56] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
2024-03-27 05:45:56.887184508 [2024-03-27 05:45:56] watchdog.side_door INFO : No frames received from side_door in 20 seconds. Exiting ffmpeg...
2024-03-27 05:45:56.887337595 [2024-03-27 05:45:56] watchdog.side_door INFO : Waiting for ffmpeg to exit gracefully...
2024-03-27 05:45:56.902977193 [2024-03-27 05:45:56] watchdog.left_side INFO : No frames received from left_side in 20 seconds. Exiting ffmpeg...
2024-03-27 05:45:56.903092188 [2024-03-27 05:45:56] watchdog.left_side INFO : Waiting for ffmpeg to exit gracefully...
2024-03-27 05:45:56.911088904 [2024-03-27 05:45:56] frigate.video ERROR : front_door: Unable to read frames from ffmpeg process.
2024-03-27 05:45:56.911544439 [2024-03-27 05:45:56] frigate.video ERROR : front_door: ffmpeg process is not running. exiting capture thread...
2024-03-27 05:45:56.913336503 [2024-03-27 05:45:56] frigate.video ERROR : garage: Unable to read frames from ffmpeg process.
2024-03-27 05:45:56.913475487 [2024-03-27 05:45:56] frigate.video ERROR : garage: ffmpeg process is not running. exiting capture thread...
2024-03-27 05:45:56.927993926 [2024-03-27 05:45:56] watchdog.right_side ERROR : Ffmpeg process crashed unexpectedly for right_side.
2024-03-27 05:45:56.928056725 [2024-03-27 05:45:56] watchdog.right_side ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-03-27 05:45:56.928106936 [2024-03-27 05:45:56] ffmpeg.right_side.detect ERROR : rtsp://127.0.0.1:8554/right_side: Invalid data found when processing input
2024-03-27 05:45:56.941687075 [2024-03-27 05:45:56] frigate.video ERROR : left_side: Unable to read frames from ffmpeg process.
2024-03-27 05:45:56.942156469 [2024-03-27 05:45:56] frigate.video ERROR : left_side: Unable to read frames from ffmpeg process.
2024-03-27 05:45:56.942243611 [2024-03-27 05:45:56] frigate.video ERROR : left_side: Unable to read frames from ffmpeg process.
2024-03-27 05:45:56.942300725 [2024-03-27 05:45:56] frigate.video ERROR : left_side: ffmpeg process is not running. exiting capture thread...
2024-03-27 05:45:56.942976070 [2024-03-27 05:45:56] watchdog.backyard INFO : No frames received from backyard in 20 seconds. Exiting ffmpeg...
2024-03-27 05:45:56.943228824 [2024-03-27 05:45:56] watchdog.backyard INFO : Waiting for ffmpeg to exit gracefully...
2024-03-27 05:45:56.943305827 [2024-03-27 05:45:56] watchdog.backyard_door INFO : No frames received from backyard_door in 20 seconds. Exiting ffmpeg...
2024-03-27 05:45:56.943590887 [2024-03-27 05:45:56] watchdog.backyard_door INFO : Waiting for ffmpeg to exit gracefully...
2024-03-27 05:45:56.944348248 [2024-03-27 05:45:56] frigate.video ERROR : side_door: Unable to read frames from ffmpeg process.
2024-03-27 05:45:56.944754717 [2024-03-27 05:45:56] frigate.video ERROR : side_door: ffmpeg process is not running. exiting capture thread...
2024-03-27 05:45:56.988484979 [2024-03-27 05:45:56] frigate.video ERROR : backyard: Unable to read frames from ffmpeg process.
2024-03-27 05:45:56.988615490 [2024-03-27 05:45:56] frigate.video ERROR : backyard: ffmpeg process is not running. exiting capture thread...
2024-03-27 05:45:57.016508291 [2024-03-27 05:45:57] frigate.video ERROR : backyard_door: Unable to read frames from ffmpeg process.
2024-03-27 05:45:57.016549728 [2024-03-27 05:45:57] frigate.video ERROR : backyard_door: ffmpeg process is not running. exiting capture thread...
2024-03-27 05:45:57.116533673 [2024-03-27 05:45:57] frigate.util.services ERROR : Unable to poll intel GPU stats: Failed to initialize PMU! (Operation not permitted)
2024-03-27 05:45:57.116536010
2024-03-27 05:46:02.046230722 [2024-03-27 05:46:02] frigate.video ERROR : right_side: Unable to read frames from ffmpeg process.
2024-03-27 05:46:02.046295837 [2024-03-27 05:46:02] frigate.video ERROR : right_side: ffmpeg process is not running. exiting capture thread...
2024-03-27 05:46:06.912752970 [2024-03-27 05:46:06] watchdog.front_door ERROR : Ffmpeg process crashed unexpectedly for front_door.
2024-03-27 05:46:06.912791258 [2024-03-27 05:46:06] watchdog.front_door ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-03-27 05:46:06.912845149 [2024-03-27 05:46:06] ffmpeg.front_door.detect ERROR : [segment @ 0x564aadb65b00] Non-monotonous DTS in output stream 0:0; previous: 4285470, current: 1079832; changing to 4285471. This may result in incorrect timestamps in the output file.
2024-03-27 05:46:06.912849275 [2024-03-27 05:46:06] ffmpeg.front_door.detect ERROR : [segment @ 0x564aadb65b00] Non-monotonous DTS in output stream 0:0; previous: 4285471, current: 1090632; changing to 4285472. This may result in incorrect timestamps in the output file.
2024-03-27 05:46:06.912855690 [2024-03-27 05:46:06] ffmpeg.front_door.detect ERROR : [segment @ 0x564aadb65b00] Non-monotonous DTS in output stream 0:0; previous: 4285472, current: 1097832; changing to 4285473. This may result in incorrect timestamps in the output file.
2024-03-27 05:46:06.912870973 [2024-03-27 05:46:06] ffmpeg.front_door.detect ERROR : [segment @ 0x564aadb65b00] Non-monotonous DTS in output stream 0:0; previous: 4285473, current: 1108632; changing to 4285474. This may result in incorrect timestamps in the output file.
Update: Downgrading go2rtc to 1.6.2 seems to fix the issue. I tested 1.7.0 and got the same issue.
@tobernguyen the config you have there is not the reolink recommended config, the difference being the recommended config uses ffmpeg:http
I couldn't solve the problem, I had to downgrade to 12. I would have to try changing the go2rtc version. Someone who confirmed if that would be the problem?
@tobernguyen the config you have there is not the reolink recommended config, the difference being the recommended config uses ffmpeg:http
@NickM-27 Thanks for pointing that out. I will consider trying that with the latest go2rtc. That said, I have used this configuration in v0.12 and have zero issues. Since downgrading go2rtc to 1.6.2, I have never seen the "No frames have been received, check error logs" anymore and the recordings are no longer broken midway.
@ithesk At least in my setup, I can confirm go2rtc was the culprit ^
@tobernguyen yes, the later go2rtc has issues with http flv hence the recommendation to use ffmpeg with it
@tobernguyen yes, the later go2rtc has issues with http flv hence the recommendation to use ffmpeg with it
I just tested using ffmpeg:http
with the embedded go2rtc (1.8.4) and it seems to work well! Thank you very much @NickM-27 !
I changed it to ffmpeg:http
but it did not help in my case. But I have one camera that I power on only during the night and I see in the logs that frigate is constantly trying to connect to it when it's. Wondering if that might be the problem. I'll try to check if the problem also happens when the camera is on.
Update: Downgrading go2rtc to 1.6.2 seems to fix the issue. I tested 1.7.0 and got the same issue.
how to download the version of go2rtc?
I currently have frigate in a docker container in proxmox.
@jaaneo try following the tips on this thread https://github.com/blakeblackshear/frigate/issues/6502#issuecomment-1556894356. Hopefully it steers you in the right path as all installations are slightly different.
Hi, I also just wanted to add that I am having issues with the OP's topic.
Tried to change go2rtc version from 1.8.4 to 1.8.5 no change, to 1.6.0 no change. to 1.9.0 no change.
I can see how the streamy are being picked up by the GPU but immediately disapear from nvidia-smi.
Only one out of six camera (all of my six cams are of the same model [Annke c800; HVEC only]) is working without any issues.
Storage or GPU Memory (tried 4GB to 24GB on a Tesla P40) cannot be an issue... since streams are aborting after only (max) 5 seconds.
If needed I can attache some logs.
Best, goeste
Update: Downgrading go2rtc to 1.6.2 seems to fix the issue. I tested 1.7.0 and got the same issue.
how to download the version of go2rtc? I currently have frigate in a docker container in proxmox.
just go here and download what you need: https://github.com/AlexxIT/go2rtc/releases make the file executable (chmod +x) and mv to go2rtc in /config of the frigate folder
@Goeste I tried all those versions you did as well and none of them worked for me. Go2rtc version 1.5.0 however has been perfect, super stable no issues across all my POE and WiFi based cameras.
Give 1.5.0 a go and good luck 🤞
@sebdoan TY for that ;)
guess what.. i rebootet all cams that were not working and now even with 1.9.0 everything works again... let's see for how long if it will fail again, i'll switch to 1.5.0
Ok, with 1.9.0. it failed again. I replade go2rtc with version 1.5.0 still failing... only one webcam is detecting objects, non of the other 5 is doing so...
I also see it's only failing when using the mainstream instead of the substream for detection (except for one camera....) weird...
OK, issue found.
all webcams were set to 6FPS where as the one that is working was on 12,5FPS. So... I set all others to 12,5 FPS and automagically streams reappear... no hanging since with go2rtc 1.9.1 :) My webcams are all Annke c800 (h265 streams)
I've also get the No frames have been received, check error logs issue
My experience is that eventually this will happen no matter what you do... My current fix is to automatically reboot frigate daily... The way I do this is running a nightly Proxmox lxc backup (which is the container in which my Proxmox instance is running)
In the end i found it was due to too little gpu memory. i expanded the memory for the vm and and reduced the fps on the cams ow everything is working fine even with the latest go2rtc version
Rebooting makes no difference to me, it like this right after a reboot. I'm running a NUC and have loads of RAM. What I have found to work is remming out these lines in my config:
ffmpeg: hwaccel_args: preset-vaapi retry_interval: 10
Hope this helps someone.
Hi, have the same problem since several days. I didn't change anything in my hardware, only tried some masks and birdseye options.
I have 6 cameras. Frigate runs for hours then I have this "No frames have been received" for always the same 1-2 cameras (Tapo), Reolink always works.
I can see Fatal Python error: Fatal Python error: Bus error
which seems to be a hardware stuck / performance problem? Frigate runs in Proxmox. Had no problems for months until now.
Here's my config:
mqtt:
host: 192.168.123.71
user: frigate
password: xxx
port: 1883
topic_prefix: frigate
client_id: frigate
birdseye:
enabled: true
mode: objects
#width: 2560
#height: 1440
inactivity_threshold: 10
ffmpeg:
hwaccel_args: preset-vaapi
output_args:
record: preset-record-generic-audio-aac
detectors:
coral:
type: edgetpu
device: usb
objects:
track:
- person
- car
- cat
- dog
- bicycle
- motorcycle
filters:
person:
min_area: 400 #5000
max_area: 100000
record:
enabled: true
retain:
days: 3
mode: motion
events:
pre_capture: 5
post_capture: 5
retain:
default: 30
mode: active_objects
cameras:
# Tapo C320WS - outdoor ueber Eingangstuer
outside_door:
ffmpeg:
inputs:
# High Resolution Stream
- path: rtsp://super:secret@192.168.123.150/stream1
roles:
- record
# Low Resolution Stream
- path: rtsp://super:secret@192.168.123.150/stream2
roles:
- detect
detect:
width: 640
height: 360
fps: 15
motion:
mask:
- 232,21,0,26,0,0,228,0
# Tapo C310 - outdoor corner
outside_corner:
ffmpeg:
inputs:
# High Resolution Stream
- path: rtsp://super:secret@192.168.123.151/stream1
roles:
- record
# Low Resolution Stream
- path: rtsp://super:secret@192.168.123.151/stream2
roles:
- detect
detect:
width: 2304
height: 1296
fps: 15
motion:
mask:
- 0,273,1343,200,2304,665,2304,0,0,0
- 2304,0,2304,571,851,82,851,0
# Tapo C310 - outdoor Klima
outside_klima:
ffmpeg:
inputs:
# High Resolution Stream
- path: rtsp://super:secret@192.168.123.152/stream1
roles:
- record
# Low Resolution Stream
- path: rtsp://super:secret@192.168.123.152/stream2
roles:
- detect
detect:
width: 640
height: 360
fps: 15
motion:
mask:
- 640,0,640,82,0,31,0,0
# Reolink E1 Pro - inside watching door
inside_door:
ffmpeg:
inputs:
# High Resolution Stream
- path: rtsp://super:secret@192.168.123.160:554/h264Preview_01_main
roles:
- record
# Low Resolution Stream
- path: rtsp://super:secret@192.168.123.160:554/h264Preview_01_sub
roles:
- detect
detect:
width: 640
height: 360
fps: 7
motion:
mask:
- 226,26,413,31,410,0,410,0,218,0
# Reolink E1 Pro - above kitchen door
inside_room_overview:
ffmpeg:
inputs:
# High Resolution Stream
- path: rtsp://super:secret@192.168.123.161:554/h264Preview_01_main
roles:
- record
# Low Resolution Stream
- path: rtsp://super:secret@192.168.123.161:554/h264Preview_01_sub
roles:
- detect
detect:
width: 640
height: 360
fps: 7
motion:
mask:
- 412,0,411,23,218,24,222,0
# Reolink E1 Pro - inside watching door
inside_kitchen:
ffmpeg:
inputs:
# High Resolution Stream
- path: rtsp://super:secret@192.168.123.162:554/h264Preview_01_main
roles:
- record
# Low Resolution Stream
- path: rtsp://super:secret@192.168.123.162:554/h264Preview_01_sub
roles:
- detect
detect:
width: 640
height: 360
fps: 7
motion:
mask:
- 223,0,222,28,415,27,410,0
Usually means that you just need to increase SHM, otherwise we need to see logs
Don't know how to increase SHM actually. I googled. Is this the equivalent to swap? I changed the CPU cores from 3 to 4 and the swap from 512 to 1024MB for the Proxmox LXC container now. Restarted Frigate and I immediatly see the same problem again for the same two cameras.
2024-06-20 17:53:34.575692309 [INFO] Preparing Frigate...
2024-06-20 17:53:34.587122831 [INFO] Starting Frigate...
2024-06-20 17:53:35.760851113 [2024-06-20 17:53:35] frigate.app INFO : Starting Frigate (0.13.2-6476f8a)
2024-06-20 17:53:35.816935451 [2024-06-20 17:53:35] peewee_migrate.logs INFO : Starting migrations
2024-06-20 17:53:35.820492565 [2024-06-20 17:53:35] peewee_migrate.logs INFO : There is nothing to migrate
2024-06-20 17:53:35.825324071 [2024-06-20 17:53:35] frigate.app INFO : Recording process started: 296
2024-06-20 17:53:35.827674998 [2024-06-20 17:53:35] frigate.app INFO : go2rtc process pid: 89
2024-06-20 17:53:35.851057949 [2024-06-20 17:53:35] detector.coral INFO : Starting detection process: 306
2024-06-20 17:53:38.473631417 [2024-06-20 17:53:35] frigate.app INFO : Output process started: 308
2024-06-20 17:53:38.473635564 [2024-06-20 17:53:35] frigate.app INFO : Camera processor started for outside_door: 337
2024-06-20 17:53:38.473640371 [2024-06-20 17:53:35] frigate.app INFO : Camera processor started for outside_corner: 338
2024-06-20 17:53:38.473642442 [2024-06-20 17:53:35] frigate.app INFO : Camera processor started for outside_klima: 340
2024-06-20 17:53:38.473669026 [2024-06-20 17:53:35] frigate.app INFO : Camera processor started for inside_door: 341
2024-06-20 17:53:38.473671409 [2024-06-20 17:53:35] frigate.app INFO : Camera processor started for inside_room_overview: 344
2024-06-20 17:53:38.473672839 [2024-06-20 17:53:35] frigate.app INFO : Camera processor started for inside_kitchen: 346
2024-06-20 17:53:38.473692454 [2024-06-20 17:53:35] frigate.app INFO : Capture process started for outside_door: 348
2024-06-20 17:53:38.473693934 [2024-06-20 17:53:35] frigate.app INFO : Capture process started for outside_corner: 352
2024-06-20 17:53:38.473695165 [2024-06-20 17:53:35] frigate.app INFO : Capture process started for outside_klima: 356
2024-06-20 17:53:38.473709520 [2024-06-20 17:53:35] frigate.app INFO : Capture process started for inside_door: 361
2024-06-20 17:53:38.473711070 [2024-06-20 17:53:35] frigate.app INFO : Capture process started for inside_room_overview: 365
2024-06-20 17:53:38.473712455 [2024-06-20 17:53:35] frigate.app INFO : Capture process started for inside_kitchen: 372
2024-06-20 17:53:38.478237829 [2024-06-20 17:53:36] frigate.video ERROR : outside_klima: Unable to read frames from ffmpeg process.
2024-06-20 17:53:38.478242345 [2024-06-20 17:53:36] frigate.video ERROR : outside_klima: ffmpeg process is not running. exiting capture thread...
2024-06-20 17:53:38.478243631 [2024-06-20 17:53:35] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb
2024-06-20 17:53:38.480700171 [2024-06-20 17:53:38] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2024-06-20 17:53:51.724712120 Fatal Python error: Bus error
2024-06-20 17:53:51.724715399
2024-06-20 17:53:51.724722243 Thread 0x000073354cc006c0 (most recent call first):
2024-06-20 17:53:51.724723558 File "/usr/lib/python3.9/threading.py", line 312 in wait
2024-06-20 17:53:51.724724657 File "/usr/lib/python3.9/multiprocessing/queues.py", line 233 in _feed
2024-06-20 17:53:51.724725665 File "/usr/lib/python3.9/threading.py", line 892 in run
2024-06-20 17:53:51.724726714 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2024-06-20 17:53:51.724727696 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2024-06-20 17:53:51.724728416
2024-06-20 17:53:51.724729325 Thread 0x0000733543a006c0 (most recent call first):
2024-06-20 17:53:51.724730279 File "/opt/frigate/frigate/log.py", line 95 in run
2024-06-20 17:53:51.724731363 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2024-06-20 17:53:51.724732384 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2024-06-20 17:53:51.724733147
2024-06-20 17:53:51.724734025 Current thread 0x00007335430006c0 (most recent call first):
2024-06-20 17:53:51.724734996 File "/opt/frigate/frigate/video.py", line 117 in capture_frames
2024-06-20 17:53:51.724735858 File "/opt/frigate/frigate/video.py", line 344 in run
2024-06-20 17:53:51.724736866 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2024-06-20 17:53:51.724737869 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2024-06-20 17:53:51.724738650
2024-06-20 17:53:51.724739507 Thread 0x00007335426006c0 (most recent call first):
2024-06-20 17:53:53.726859891 File "/usr/lib/python3.9/multiprocessing/synchronize.py", line 261 in wait
2024-06-20 17:53:53.726864162 File "/usr/lib/python3.9/multiprocessing/synchronize.py", line 349 in wait
2024-06-20 17:53:53.726865455 File "/opt/frigate/frigate/video.py", line 193 in run
2024-06-20 17:53:53.726866653 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2024-06-20 17:53:53.726867732 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2024-06-20 17:53:53.726868573
2024-06-20 17:53:53.726869596 Thread 0x00007335416006c0 (most recent call first):
2024-06-20 17:53:53.726870638 File "/opt/frigate/frigate/log.py", line 95 in run
2024-06-20 17:53:53.726871643 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2024-06-20 17:53:53.726872662 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2024-06-20 17:53:53.726873365
2024-06-20 17:53:53.726874245 Thread 0x0000733569a9a740 (most recent call first):
2024-06-20 17:53:53.726875332 File "/usr/lib/python3.9/threading.py", line 1049 in _wait_for_tstate_lock
2024-06-20 17:53:53.726876282 File "/usr/lib/python3.9/threading.py", line 1033 in join
2024-06-20 17:53:53.726877307 File "/opt/frigate/frigate/video.py", line 380 in capture_camera
2024-06-20 17:53:53.726878381 File "/usr/lib/python3.9/multiprocessing/process.py", line 108 in run
2024-06-20 17:53:53.726879449 File "/usr/lib/python3.9/multiprocessing/process.py", line 315 in _bootstrap
2024-06-20 17:53:53.726880488 File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 71 in _launch
2024-06-20 17:53:53.726881566 File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 19 in __init__
2024-06-20 17:53:53.726882534 File "/usr/lib/python3.9/multiprocessing/context.py", line 277 in _Popen
2024-06-20 17:53:53.726883540 File "/usr/lib/python3.9/multiprocessing/context.py", line 224 in _Popen
2024-06-20 17:53:53.726909488 File "/usr/lib/python3.9/multiprocessing/process.py", line 121 in start
2024-06-20 17:53:53.726911242 File "/opt/frigate/frigate/app.py", line 553 in start_camera_capture_processes
2024-06-20 17:53:53.726912204 File "/opt/frigate/frigate/app.py", line 689 in start
2024-06-20 17:53:53.726913335 File "/opt/frigate/frigate/__main__.py", line 17 in <module>
2024-06-20 17:53:53.726914377 File "/usr/lib/python3.9/runpy.py", line 87 in _run_code
2024-06-20 17:53:53.726915398 File "/usr/lib/python3.9/runpy.py", line 197 in _run_module_as_main
2024-06-20 17:53:56.040363775 [2024-06-20 17:53:56] watchdog.outside_klima ERROR : Ffmpeg process crashed unexpectedly for outside_klima.
2024-06-20 17:53:56.040937215 [2024-06-20 17:53:56] watchdog.outside_klima ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-20 17:53:56.040944533 [2024-06-20 17:53:56] ffmpeg.outside_klima.detect ERROR : [tcp @ 0x6112e18342c0] Connection to tcp://192.168.123.152:554?timeout=5000000 failed: Connection refused
2024-06-20 17:53:56.040946294 [2024-06-20 17:53:56] ffmpeg.outside_klima.detect ERROR : rtsp://*:*@192.168.123.152/stream2: Connection refused
2024-06-20 17:53:56.054521572 [2024-06-20 17:53:56] ffmpeg.outside_klima.record ERROR : [tcp @ 0x5f166e8cd400] Connection to tcp://192.168.123.152:554?timeout=5000000 failed: Connection refused
2024-06-20 17:53:56.054525689 [2024-06-20 17:53:56] ffmpeg.outside_klima.record ERROR : rtsp://*:*@192.168.123.152/stream1: Connection refused
2024-06-20 17:53:56.054527291 [2024-06-20 17:53:56] watchdog.outside_klima INFO : Terminating the existing ffmpeg process...
2024-06-20 17:53:56.054528718 [2024-06-20 17:53:56] watchdog.outside_klima INFO : Waiting for ffmpeg to exit gracefully...
2024-06-20 17:53:56.056477878 [2024-06-20 17:53:56] frigate.video ERROR : outside_klima: Unable to read frames from ffmpeg process.
2024-06-20 17:53:56.056693549 [2024-06-20 17:53:56] frigate.video ERROR : outside_klima: ffmpeg process is not running. exiting capture thread...
2024-06-20 17:54:06.060254823 [2024-06-20 17:54:06] watchdog.outside_klima ERROR : Ffmpeg process crashed unexpectedly for outside_klima.
2024-06-20 17:54:06.060414623 [2024-06-20 17:54:06] watchdog.outside_klima ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-20 17:54:06.060417599 [2024-06-20 17:54:06] ffmpeg.outside_klima.detect ERROR : [tcp @ 0x629718e022c0] Connection to tcp://192.168.123.152:554?timeout=5000000 failed: Connection refused
2024-06-20 17:54:06.060476389 [2024-06-20 17:54:06] ffmpeg.outside_klima.detect ERROR : rtsp://*:*@192.168.123.152/stream2: Connection refused
2024-06-20 17:54:06.072509959 [2024-06-20 17:54:06] ffmpeg.outside_klima.record ERROR : [tcp @ 0x6124896f8400] Connection to tcp://192.168.123.152:554?timeout=5000000 failed: Connection refused
2024-06-20 17:54:06.072899638 [2024-06-20 17:54:06] ffmpeg.outside_klima.record ERROR : rtsp://*:*@192.168.123.152/stream1: Connection refused
2024-06-20 17:54:06.072902622 [2024-06-20 17:54:06] watchdog.outside_klima INFO : Terminating the existing ffmpeg process...
2024-06-20 17:54:06.072904070 [2024-06-20 17:54:06] watchdog.outside_klima INFO : Waiting for ffmpeg to exit gracefully...
2024-06-20 17:54:06.078971007 [2024-06-20 17:54:06] frigate.video ERROR : outside_klima: Unable to read frames from ffmpeg process.
2024-06-20 17:54:06.079076376 [2024-06-20 17:54:06] frigate.video ERROR : outside_klima: ffmpeg process is not running. exiting capture thread...
2024-06-20 17:54:16.088513219 [2024-06-20 17:54:16] watchdog.outside_klima ERROR : Ffmpeg process crashed unexpectedly for outside_klima.
2024-06-20 17:54:16.088635380 [2024-06-20 17:54:16] watchdog.outside_klima ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-20 17:54:16.088648859 [2024-06-20 17:54:16] ffmpeg.outside_klima.detect ERROR : [tcp @ 0x5fb41b1b22c0] Connection to tcp://192.168.123.152:554?timeout=5000000 failed: Connection refused
2024-06-20 17:54:16.088694107 [2024-06-20 17:54:16] ffmpeg.outside_klima.detect ERROR : rtsp://*:*@192.168.123.152/stream2: Connection refused
2024-06-20 17:54:16.094562752 [2024-06-20 17:54:16] ffmpeg.outside_klima.record ERROR : [tcp @ 0x5c575737a400] Connection to tcp://192.168.123.152:554?timeout=5000000 failed: Connection refused
2024-06-20 17:54:16.094733780 [2024-06-20 17:54:16] ffmpeg.outside_klima.record ERROR : rtsp://*:*@192.168.123.152/stream1: Connection refused
2024-06-20 17:54:16.094737053 [2024-06-20 17:54:16] watchdog.outside_klima INFO : Terminating the existing ffmpeg process...
2024-06-20 17:54:16.094823303 [2024-06-20 17:54:16] watchdog.outside_klima INFO : Waiting for ffmpeg to exit gracefully...
2024-06-20 17:54:16.101102715 [2024-06-20 17:54:16] frigate.video ERROR : outside_klima: Unable to read frames from ffmpeg process.
2024-06-20 17:54:16.101584449 [2024-06-20 17:54:16] frigate.video ERROR : outside_klima: ffmpeg process is not running. exiting capture thread...
2024-06-20 17:54:26.105365641 [2024-06-20 17:54:26] watchdog.outside_klima ERROR : Ffmpeg process crashed unexpectedly for outside_klima.
2024-06-20 17:54:26.105523851 [2024-06-20 17:54:26] watchdog.outside_klima ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-20 17:54:26.105527336 [2024-06-20 17:54:26] ffmpeg.outside_klima.detect ERROR : [tcp @ 0x5cc9d11742c0] Connection to tcp://192.168.123.152:554?timeout=5000000 failed: Connection refused
2024-06-20 17:54:26.105563426 [2024-06-20 17:54:26] ffmpeg.outside_klima.detect ERROR : rtsp://*:*@192.168.123.152/stream2: Connection refused
2024-06-20 17:54:26.117004865 [2024-06-20 17:54:26] ffmpeg.outside_klima.record ERROR : [tcp @ 0x5b12e92f5400] Connection to tcp://192.168.123.152:554?timeout=5000000 failed: Connection refused
2024-06-20 17:54:26.117226934 [2024-06-20 17:54:26] ffmpeg.outside_klima.record ERROR : rtsp://*:*@192.168.123.152/stream1: Connection refused
2024-06-20 17:54:26.117230354 [2024-06-20 17:54:26] watchdog.outside_klima INFO : Terminating the existing ffmpeg process...
2024-06-20 17:54:26.117231940 [2024-06-20 17:54:26] watchdog.outside_klima INFO : Waiting for ffmpeg to exit gracefully...
2024-06-20 17:54:26.123611632 [2024-06-20 17:54:26] frigate.video ERROR : outside_klima: Unable to read frames from ffmpeg process.
2024-06-20 17:54:26.123738613 [2024-06-20 17:54:26] frigate.video ERROR : outside_klima: ffmpeg process is not running. exiting capture thread...
2024-06-20 17:54:36.127895616 [2024-06-20 17:54:36] watchdog.outside_klima ERROR : Ffmpeg process crashed unexpectedly for outside_klima.
2024-06-20 17:54:36.127985094 [2024-06-20 17:54:36] watchdog.outside_klima ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-20 17:54:36.128095179 [2024-06-20 17:54:36] ffmpeg.outside_klima.detect ERROR : [tcp @ 0x5ee627c882c0] Connection to tcp://192.168.123.152:554?timeout=5000000 failed: Connection refused
2024-06-20 17:54:36.128153559 [2024-06-20 17:54:36] ffmpeg.outside_klima.detect ERROR : rtsp://*:*@192.168.123.152/stream2: Connection refused
2024-06-20 17:54:36.139819512 [2024-06-20 17:54:36] ffmpeg.outside_klima.record ERROR : [tcp @ 0x5a527195b400] Connection to tcp://192.168.123.152:554?timeout=5000000 failed: Connection refused
2024-06-20 17:54:36.140047442 [2024-06-20 17:54:36] ffmpeg.outside_klima.record ERROR : rtsp://*:*@192.168.123.152/stream1: Connection refused
2024-06-20 17:54:36.140050783 [2024-06-20 17:54:36] watchdog.outside_klima INFO : Terminating the existing ffmpeg process...
2024-06-20 17:54:36.140052265 [2024-06-20 17:54:36] watchdog.outside_klima INFO : Waiting for ffmpeg to exit gracefully...
2024-06-20 17:54:36.148955148 [2024-06-20 17:54:36] frigate.video ERROR : outside_klima: Unable to read frames from ffmpeg process.
2024-06-20 17:54:36.148959148 [2024-06-20 17:54:36] frigate.video ERROR : outside_klima: ffmpeg process is not running. exiting capture thread...
2024-06-20 17:54:46.152511750 [2024-06-20 17:54:46] watchdog.outside_klima ERROR : Ffmpeg process crashed unexpectedly for outside_klima.
2024-06-20 17:54:46.152585453 [2024-06-20 17:54:46] watchdog.outside_klima ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-20 17:54:46.152646656 [2024-06-20 17:54:46] ffmpeg.outside_klima.detect ERROR : [tcp @ 0x5f8175ffd2c0] Connection to tcp://192.168.123.152:554?timeout=5000000 failed: Connection refused
2024-06-20 17:54:46.152733264 [2024-06-20 17:54:46] ffmpeg.outside_klima.detect ERROR : rtsp://*:*@192.168.123.152/stream2: Connection refused
2024-06-20 17:54:46.164278850 [2024-06-20 17:54:46] ffmpeg.outside_klima.record ERROR : [tcp @ 0x63ba1becd400] Connection to tcp://192.168.123.152:554?timeout=5000000 failed: Connection refused
2024-06-20 17:54:46.164474007 [2024-06-20 17:54:46] ffmpeg.outside_klima.record ERROR : rtsp://*:*@192.168.123.152/stream1: Connection refused
2024-06-20 17:54:46.164477158 [2024-06-20 17:54:46] watchdog.outside_klima INFO : Terminating the existing ffmpeg process...
2024-06-20 17:54:46.165578294 [2024-06-20 17:54:46] watchdog.outside_klima INFO : Waiting for ffmpeg to exit gracefully...
2024-06-20 17:54:46.171694990 [2024-06-20 17:54:46] frigate.video ERROR : outside_klima: Unable to read frames from ffmpeg process.
2024-06-20 17:54:46.172164585 [2024-06-20 17:54:46] frigate.video ERROR : outside_klima: ffmpeg process is not running. exiting capture thread...
2024-06-20 17:54:56.175925974 [2024-06-20 17:54:56] watchdog.outside_klima ERROR : Ffmpeg process crashed unexpectedly for outside_klima.
2024-06-20 17:54:56.181152875 [2024-06-20 17:54:56] watchdog.outside_klima ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-20 17:54:56.181230390 [2024-06-20 17:54:56] ffmpeg.outside_klima.detect ERROR : [tcp @ 0x5a94cbd7a2c0] Connection to tcp://192.168.123.152:554?timeout=5000000 failed: Connection refused
2024-06-20 17:54:56.181297784 [2024-06-20 17:54:56] ffmpeg.outside_klima.detect ERROR : rtsp://*:*@192.168.123.152/stream2: Connection refused
2024-06-20 17:54:56.196026120 [2024-06-20 17:54:56] ffmpeg.outside_klima.record ERROR : [tcp @ 0x62b6f06ca400] Connection to tcp://192.168.123.152:554?timeout=5000000 failed: Connection refused
2024-06-20 17:54:56.196116088 [2024-06-20 17:54:56] ffmpeg.outside_klima.record ERROR : rtsp://*:*@192.168.123.152/stream1: Connection refused
2024-06-20 17:54:56.196226493 [2024-06-20 17:54:56] watchdog.outside_klima INFO : Terminating the existing ffmpeg process...
2024-06-20 17:54:56.196343332 [2024-06-20 17:54:56] watchdog.outside_klima INFO : Waiting for ffmpeg to exit gracefully...
2024-06-20 17:55:00.839168594 [2024-06-20 17:55:00] frigate.record.maintainer WARNING : Unable to keep up with recording segments in cache for outside_corner. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-06-20 17:55:01.197892636 [2024-06-20 17:55:01] frigate.video ERROR : outside_klima: Unable to read frames from ffmpeg process.
2024-06-20 17:55:01.198002567 [2024-06-20 17:55:01] frigate.video ERROR : outside_klima: ffmpeg process is not running. exiting capture thread...
2024-06-20 17:55:06.202616582 [2024-06-20 17:55:06] watchdog.outside_klima ERROR : Ffmpeg process crashed unexpectedly for outside_klima.
2024-06-20 17:55:06.202770544 [2024-06-20 17:55:06] watchdog.outside_klima ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-20 17:55:06.202773946 [2024-06-20 17:55:06] ffmpeg.outside_klima.detect ERROR : [tcp @ 0x63bf5580f2c0] Connection to tcp://192.168.123.152:554?timeout=5000000 failed: Connection timed out
2024-06-20 17:55:06.203473567 [2024-06-20 17:55:06] ffmpeg.outside_klima.detect ERROR : rtsp://*:*@192.168.123.152/stream2: Connection timed out
2024-06-20 17:55:06.217898295 [2024-06-20 17:55:06] ffmpeg.outside_klima.record ERROR : [tcp @ 0x6552ae48f400] Connection to tcp://192.168.123.152:554?timeout=5000000 failed: Connection timed out
2024-06-20 17:55:06.218237537 [2024-06-20 17:55:06] ffmpeg.outside_klima.record ERROR : rtsp://*:*@192.168.123.152/stream1: Connection timed out
2024-06-20 17:55:06.218247241 [2024-06-20 17:55:06] watchdog.outside_klima INFO : Terminating the existing ffmpeg process...
2024-06-20 17:55:06.218248736 [2024-06-20 17:55:06] watchdog.outside_klima INFO : Waiting for ffmpeg to exit gracefully...
2024-06-20 17:55:09.332414524 [2024-06-20 17:55:09] frigate.video ERROR : outside_klima: Unable to read frames from ffmpeg process.
2024-06-20 17:55:09.332520929 [2024-06-20 17:55:09] frigate.video ERROR : outside_klima: ffmpeg process is not running. exiting capture thread...
2024-06-20 17:55:10.840229014 [2024-06-20 17:55:10] frigate.record.maintainer WARNING : Unable to keep up with recording segments in cache for outside_corner. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-06-20 17:55:16.229051063 [2024-06-20 17:55:16] watchdog.outside_klima ERROR : Ffmpeg process crashed unexpectedly for outside_klima.
2024-06-20 17:55:16.229168177 [2024-06-20 17:55:16] watchdog.outside_klima ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-20 17:55:16.229265130 [2024-06-20 17:55:16] ffmpeg.outside_klima.detect ERROR : [tcp @ 0x62967d56f2c0] Connection to tcp://192.168.123.152:554?timeout=5000000 failed: No route to host
2024-06-20 17:55:16.229294529 [2024-06-20 17:55:16] ffmpeg.outside_klima.detect ERROR : rtsp://*:*@192.168.123.152/stream2: No route to host
2024-06-20 17:55:16.240217435 [2024-06-20 17:55:16] ffmpeg.outside_klima.record ERROR : [tcp @ 0x61ef52593400] Connection to tcp://192.168.123.152:554?timeout=5000000 failed: No route to host
2024-06-20 17:55:16.245689344 [2024-06-20 17:55:16] ffmpeg.outside_klima.record ERROR : rtsp://*:*@192.168.123.152/stream1: No route to host
2024-06-20 17:55:16.246010340 [2024-06-20 17:55:16] watchdog.outside_klima INFO : Terminating the existing ffmpeg process...
2024-06-20 17:55:16.246561919 [2024-06-20 17:55:16] watchdog.outside_klima INFO : Waiting for ffmpeg to exit gracefully...
2024-06-20 17:55:16.246672119 [2024-06-20 17:55:16] frigate.video ERROR : outside_klima: Unable to read frames from ffmpeg process.
2024-06-20 17:55:16.247138792 [2024-06-20 17:55:16] frigate.video ERROR : outside_klima: ffmpeg process is not running. exiting capture thread...
2024-06-20 17:55:20.842537658 [2024-06-20 17:55:20] frigate.record.maintainer WARNING : Unable to keep up with recording segments in cache for outside_corner. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-06-20 17:55:26.251011789 [2024-06-20 17:55:26] watchdog.outside_klima ERROR : Ffmpeg process crashed unexpectedly for outside_klima.
2024-06-20 17:55:26.251086512 [2024-06-20 17:55:26] watchdog.outside_klima ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-20 17:55:26.251219174 [2024-06-20 17:55:26] ffmpeg.outside_klima.detect ERROR : [tcp @ 0x61b4e56f82c0] Connection to tcp://192.168.123.152:554?timeout=5000000 failed: Connection refused
2024-06-20 17:55:26.251222090 [2024-06-20 17:55:26] ffmpeg.outside_klima.detect ERROR : rtsp://*:*@192.168.123.152/stream2: Connection refused
2024-06-20 17:55:26.262843842 [2024-06-20 17:55:26] ffmpeg.outside_klima.record ERROR : [tcp @ 0x5947e58f5400] Connection to tcp://192.168.123.152:554?timeout=5000000 failed: Connection refused
2024-06-20 17:55:26.268292518 [2024-06-20 17:55:26] ffmpeg.outside_klima.record ERROR : rtsp://*:*@192.168.123.152/stream1: Connection refused
2024-06-20 17:55:26.268442389 [2024-06-20 17:55:26] watchdog.outside_klima INFO : Terminating the existing ffmpeg process...
2024-06-20 17:55:26.268546915 [2024-06-20 17:55:26] watchdog.outside_klima INFO : Waiting for ffmpeg to exit gracefully...
2024-06-20 17:55:26.269042479 [2024-06-20 17:55:26] frigate.video ERROR : outside_klima: Unable to read frames from ffmpeg process.
2024-06-20 17:55:26.269269459 [2024-06-20 17:55:26] frigate.video ERROR : outside_klima: ffmpeg process is not running. exiting capture thread...
2024-06-20 17:55:30.839936890 [2024-06-20 17:55:30] frigate.record.maintainer WARNING : Unable to keep up with recording segments in cache for outside_corner. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-06-20 17:55:36.273334116 [2024-06-20 17:55:36] watchdog.outside_klima ERROR : Ffmpeg process crashed unexpectedly for outside_klima.
2024-06-20 17:55:36.273400161 [2024-06-20 17:55:36] watchdog.outside_klima ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-20 17:55:36.273532638 [2024-06-20 17:55:36] ffmpeg.outside_klima.detect ERROR : [tcp @ 0x63d200e772c0] Connection to tcp://192.168.123.152:554?timeout=5000000 failed: Connection refused
2024-06-20 17:55:36.273535507 [2024-06-20 17:55:36] ffmpeg.outside_klima.detect ERROR : rtsp://*:*@192.168.123.152/stream2: Connection refused
2024-06-20 17:55:36.284850783 [2024-06-20 17:55:36] ffmpeg.outside_klima.record ERROR : [tcp @ 0x5da8ac6c0400] Connection to tcp://192.168.123.152:554?timeout=5000000 failed: Connection refused
2024-06-20 17:55:36.285075538 [2024-06-20 17:55:36] ffmpeg.outside_klima.record ERROR : rtsp://*:*@192.168.123.152/stream1: Connection refused
2024-06-20 17:55:36.285079310 [2024-06-20 17:55:36] watchdog.outside_klima INFO : Terminating the existing ffmpeg process...
2024-06-20 17:55:36.285080839 [2024-06-20 17:55:36] watchdog.outside_klima INFO : Waiting for ffmpeg to exit gracefully...
2024-06-20 17:55:36.291739249 [2024-06-20 17:55:36] frigate.video ERROR : outside_klima: Unable to read frames from ffmpeg process.
2024-06-20 17:55:36.291744011 [2024-06-20 17:55:36] frigate.video ERROR : outside_klima: ffmpeg process is not running. exiting capture thread...
2024-06-20 17:55:40.840544485 [2024-06-20 17:55:40] frigate.record.maintainer WARNING : Unable to keep up with recording segments in cache for outside_corner. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-06-20 17:55:46.296315749 [2024-06-20 17:55:46] watchdog.outside_klima ERROR : Ffmpeg process crashed unexpectedly for outside_klima.
2024-06-20 17:55:46.301769476 [2024-06-20 17:55:46] watchdog.outside_klima ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-20 17:55:46.301908571 [2024-06-20 17:55:46] ffmpeg.outside_klima.detect ERROR : [tcp @ 0x6395449782c0] Connection to tcp://192.168.123.152:554?timeout=5000000 failed: Connection refused
2024-06-20 17:55:46.301911990 [2024-06-20 17:55:46] ffmpeg.outside_klima.detect ERROR : rtsp://*:*@192.168.123.152/stream2: Connection refused
2024-06-20 17:55:46.307910510 [2024-06-20 17:55:46] ffmpeg.outside_klima.record ERROR : [tcp @ 0x5653f82e8400] Connection to tcp://192.168.123.152:554?timeout=5000000 failed: Connection refused
2024-06-20 17:55:46.308147333 [2024-06-20 17:55:46] ffmpeg.outside_klima.record ERROR : rtsp://*:*@192.168.123.152/stream1: Connection refused
2024-06-20 17:55:46.308150702 [2024-06-20 17:55:46] watchdog.outside_klima INFO : Terminating the existing ffmpeg process...
2024-06-20 17:55:46.308152200 [2024-06-20 17:55:46] watchdog.outside_klima INFO : Waiting for ffmpeg to exit gracefully...
Describe the problem you are having
No frames have been received, check error logs appears periodically in Frigate's Web Interface Restart of Frigate may temporarily help with some cameras, but soon the problem reappears. After a while camera image may show up again normally.
There were no problems like this with the previously used Frigate 0.12.1 Release.
I tried to use the embedded go2rtc 1.8.4, then after no lock included a go2rtc 1.8.5 in docker volume, but nothing's changed. Docker-compose.yml:
Version
0.13 RC1
Frigate config file
Relevant log output
Frigate stats
Operating system
Debian
Install method
Docker Compose
Coral version
USB
Any other information that may be helpful
Go2RTC logs contain no errors: