Hi
I a ma trying Frigate 0.8 Beta
Intel i7 6th gen with coral.
Dahua Cameras
It is running fine for some hours and then it starts throwing the following in the log and not working anymore
How can I help solve?
What logs do you need
Thanks
frigate.video INFO : portico: ffmpeg sent a broken frame. something is wrong.
frigate.video INFO : portico: ffmpeg process is not running. exiting capture thread...
frigate.video INFO : casetta: ffmpeg sent a broken frame. something is wrong.
frigate.video INFO : casetta: ffmpeg process is not running. exiting capture thread...
frigate.video INFO : cucina: ffmpeg sent a broken frame. something is wrong.
frigate.video INFO : cucina: ffmpeg process is not running. exiting capture thread...
frigate.video INFO : ingresso: ffmpeg sent a broken frame. something is wrong.
frigate.video INFO : ingresso: ffmpeg process is not running. exiting capture thread...
* Starting nginx nginx
You should turn on ffmpeg logging for one of your cameras so you can see what the error message is. If post your config, I can show you where to add it. Probably easier if you post as an issue on GH so it doesnt get list here.
It would likely get overwritten in the middle of trying to send via telegram. I would set my retention to 1 day and read the mp4 directly from the api when sending via telegram. You can get the clip at frigate:5000/clips/<camera>-<id>.mp4.
Well shoot, it was a working config, but I had it open in vim, and adding that word was the last thing I did. I must have hit āuā to undo that change. Thanks
Iāve tried 0.8.0 beta 2, but it seems that the events are not displayed in the HTTP endpoint /events but they are only in the MQTT topic frigate/events.
Events are only stored in the database when save_clips is enabled. I built that API to support viewing clips in the media browser. What are you looking to use that for?
Also, I think many of you may have glossed over this feature introduced in beta 2, but the new parameters for the mjpeg feed give some interesting insight into what frigate sees. Try going to frigate:5000/<camera_name>?motion=1®ions=1. You will see any areas of motion bound by a red box, and you can see anywhere frigate runs object detection outlined in a green box. These now show up even when no objects are detected so you can see what frigate is doing. See other parameters available here.
I understand now why I wasnāt seeing any events
Iām using Frigate to get notified when a person is seen on the camera but, for the moment, Iāve tried your custom component but with the stream: component built in HA, it induces ~ 10 sec of lag.
Does the custom component create MQTT camera or generic one ?
It creates an mqtt camera for the snapshots, and a generic one for the live feed. If you want, you can disable rtmp on the camera and homeassistant should switch to a mjpeg camera. Should be more realtime at the expense of additional bandwidth.
Iāve been playing with the beta release 2 since last night & MobileDet seems pretty amazing. I have disabled all the filters and now Frigate detects small objects in the distance that have a tiny area with what seems to be a very good false positive rate. I need to refine my setup somewhat, but it appears to be a very good upgrade.
I also played with the new query string parameters after scratching my head wondering where the bounding boxes had gone. This is another useful addition.
I have noticed that some degree of lag has crept in, however I need to investigate this further as it may well be my Home Assistant configuration or cameras. I also encountered bus errors, but after working through a few problems with my configuration, that issue appears to be resolved now.
I have several cameras running various resolutions and will test an additional camera tonight, which is situated in a challenging environment.
Logs are also looking good, although there are a few errors that I havenāt seen before. I will keep playing.
frigate.video INFO : porch_beta: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video INFO : porch_beta: ffmpeg process is not running. exiting capture thread...
frigate.video INFO : front_gate: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video INFO : front_gate: ffmpeg process is not running. exiting capture thread...
[h264 @ 0x5557acaade00] cabac decode of qscale diff failed at 32 46
[h264 @ 0x5557acaade00] error while decoding MB 32 46, bytestream 36076
[h264 @ 0x55564a4f5e00] error while decoding MB 56 67, bytestream -13
Iām having trouble with zones . . . I have two cameras that share a zone named ādriveway_hasā. The two cameras are named ādrivewayā and āfront_yardā. Comments in the example config.yml indicate that having duplicate zone names is fine as long as they are in different cameras. However, HASS complains (below). Is my understanding correct? If so, then Iāll post the issue with details on git.
Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:490
Integration: Sensor (documentation, issues)
First occurred: 4:24:00 PM (6 occurrences)
Last logged: 4:25:53 PM
Platform frigate does not generate unique IDs. ID frigate_driveway_has_car already exists - ignoring sensor.driveway_has_car
Platform frigate does not generate unique IDs. ID frigate_driveway_has_person already exists - ignoring sensor.driveway_has_person