0.12.0 Beta 7 #5329
Replies: 32 comments 194 replies
-
I have created a short survey for those that are using the new OpenVINO and TensorRT detectors. It will aid in understanding the expected performance for different devices and help identify other issues that may be occurring. Thanks! Answers can be seen here |
Beta Was this translation helpful? Give feedback.
-
Thanks again for all the hard work! |
Beta Was this translation helpful? Give feedback.
-
Having trouble with HTTPS restream links:
These same links work fine when used directly in frigate. |
Beta Was this translation helpful? Give feedback.
-
Here's to hoping the RTC updates fix my yi-hack cams on WebRTC 😁 |
Beta Was this translation helpful? Give feedback.
-
Wyze cam v3 stability / repeated errors (the below block of errors has repeated several times in the last few hours) I believe the FPS limit is a recent addition in beta6 to fix frozen frames IIRC, it might be too aggressive? Error:
Config snip:
|
Beta Was this translation helpful? Give feedback.
-
A general feed back / observation issue: After most restarts of frigate I see a large number of frigate.record and frigate.detect errors since switching to internal gotortc streams configuration. These appear to be related to go2rtc not being fully started, or possibly the first time frigate calls the internal url from go2rtc as the stream is slow to load. Most of these errors seem to go away and not repeat after startup. |
Beta Was this translation helpful? Give feedback.
-
This has been very solid with my setup today using settings below. I've only been using Frigate for a couple of weeks and some of that was on Beta 5, so I don't have much experience for comparison with earlier versions. I haven't integrated Home Assistant yet, but everything else is working great and I don't have any errors in the logs. The only thing I'm still trying to figure out is why the FFMPEG process for my WGCC camera is using around twice the CPU as my Reolink cameras using same resolution and FPS. I've played around with encoding profile and bitrate on the camera but haven't found anything with it yet. It runs at 12% vs 6% with the others. Anyway, just wanted to say I appreciate all the work going into this and to let you know it's working well.
|
Beta Was this translation helpful? Give feedback.
-
not related only to this release, happened to me on beta5 as well, I'm getting this crash atm with beta7:
the tail in syslog is the following:
now I know googling the above usually points towards a kernel bug but my kernel is Thanks |
Beta Was this translation helpful? Give feedback.
-
Not specifically beta 7 specific but any suggestions for the lowest latency way to get frigate 0.12 cameras into homekit? Maybe some new options that go2rtc might have unlocked? I am using the Home Assistant config but the Homekit accessory setup drives me nuts, and does strange things.. I reset my doorbell cam and I am getting lower latency than before however load times are still kind of slow via home assistant. I know frigate and go2rtc don't DIRECTLY support exporting a homekit camera but I am tempted to try homebridge or others in conjunction to get my cameras more reliably into homekit. Main issue however is that I still want to trigger a homekit event to load the camera on people and doorbell press events. Which is the one thing homeassistant does well. |
Beta Was this translation helpful? Give feedback.
-
Clarification on correct value for live_mode for new UI config I have set the following however no formatted example was given for the possible modes in the documentation other than live_mode: mse Is the following correct for webrtc?
I don't see any errors but I find my browsers still defaulting to jsmpeg , maybe it remembers individual settings from before the default was set via cookies or something? Also this new UI setting for live mode does not appear to work on a per camera basis, while I have fixed my remaining cameras it might be good to have a per camera default if a user has some some cameras that are not configured in go2rtc for example so you could have a global default but a specific camera override. However I think it auto falls back to jsmpeg anyway. |
Beta Was this translation helpful? Give feedback.
-
Got to about 3 hours then go2rtc died on me today AlexxIT/go2rtc#237 |
Beta Was this translation helpful? Give feedback.
-
This one is the first one where gortc has actually worked (i have not hit the 3hour point as yet as the fellow mentions above) but my attempted config from beta 5 where gortc didn't work was good as a base for beta 7.
I also notice that some h264 streams don't natively play. I have multiple same branded cameras and one is 4MP and another is 5MP and 8MP.. the 4MP will play h264 with no transcoding just fine but the others i need to transcode with FFMPEG as above. Not sure what is go there but it was an interesting thing. I tried reducing their resolution and it made no difference, neither did toggling H264+. Only using the FFMPEG transcode for the gortc stream was the way to get it working for those higher resolution cameras. |
Beta Was this translation helpful? Give feedback.
-
Stuck camera / high FPS go2rtc (also earlier ticket on this AlexxIT/go2rtc#236):
frigate last log:
However Frigate UI shows "no frames have been received, check error logs" and the reported FPS of the camera is over 100. The camera mse / webrtc feeds are still viewable and real time so it "looks" like go2trc is recovering over and over but frigate is not. |
Beta Was this translation helpful? Give feedback.
-
I am not able to download beta6 or 7 image. any tips how to downloads lates image?
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
For anyone having audio sync issues on recordings:
In my case, this camera (Hikvision) provides video in |
Beta Was this translation helpful? Give feedback.
-
Do we no longer need the output args in beta 7 Reolink camera setup? I don't get audio in my recordings if I don't use the output args
https://deploy-preview-4055--frigate-docs.netlify.app/configuration/camera_specific/#reolink-cameras
|
Beta Was this translation helpful? Give feedback.
-
This watchdog event should maybe be a a WARNING instead of INFO. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the update. If I am getting the errors "frigate.record WARNING : Unable to keep up with recording segments in cache for Cam1 Keeping the 5 most recent segments out of 8 and discarding the rest..." etc. (This happens for both of my cameras) What should my next action be? I am also having issues with recordings on my H265 camera since the recent 0.12.0 beta releases - the live feed is always stable. The other H264 camera is fine. Sometimes recording works but 95% of the time it doesn't. No errors in any of the logs that I can see apart from the above ones, but they are for both cameras and one works fine. When I try to access an event on that camera with the issues it just says: I will change it back to H264 for now to see if things improve. Strange as it had worked fine before the recent BETAs. |
Beta Was this translation helpful? Give feedback.
-
how is everyone getting audio working on the hass side? I can get it if I create a generic-cam or use the webrtc card. |
Beta Was this translation helpful? Give feedback.
-
If anyone else runs into the issue, i figured out why my webrtc video windows where offset about an inch down vs the other video modes. I have an ultrawide monitor and I have a extension called Ultrawidify installed. Turns out it was the problem and I just needed to set a page exclusion. |
Beta Was this translation helpful? Give feedback.
-
Sometimes HA seems unable to access frigate API, this happens once every 10 min or so, there is no impact in recording, detection etc. but not entirely sure if this has some other underlying meaning I don't know about: Frigate logs:
HA logs:
if you look closely at the timestamps, HA can't access Frigate for an instant and frigate logs a warning: |
Beta Was this translation helpful? Give feedback.
-
Im having 2 issues with Beta 7:
Would it be best to discuss these in an issue where I can post my log output & config or here? |
Beta Was this translation helpful? Give feedback.
-
Curious.. how stable is everyone's camera FPS? I enabled the camera fps on each of my cameras in the HA integration to watch for detection failures.. as 0fps or fps much greater than the "detect" FPS are indicators something is wrong. What I wasn't expecting after graphing the data was HOW variable they where. I am curious if anyone else has graphed these values.. While I was spot checking them most of the time they looked fine IE with in .1 FPS of what was set, but according to these graphs drops and reconnects etc are showing a lot of instability in the fps. Two of my cameras are set to detect to 10fps while the rest are set to 5fps. in the config. |
Beta Was this translation helpful? Give feedback.
-
birdseye -> restream After playing around with webrtc for all my other camera streams I played around with birdseye -> restream and in all cases the load time over head for restream is substantial vs jsmpeg if no one is consuming the stream then the first client connects.. It is even slower to start than the webrtc feeds as frigate is already always consuming the restream on those so go2rtc will have them loaded. Is there anything that can be done to reduce the startup time (other than leaving a client connected) or is it simply best to leave it jsmpeg / frigate native? |
Beta Was this translation helpful? Give feedback.
-
@blakeblackshear @NickM-27 can we get a new beta now that the new go2rtc has been released with various (vital) fixes? |
Beta Was this translation helpful? Give feedback.
-
Out of interest, is it possible to activate a I ask because I have a few cameras that are using H265 with no way to change them to H264. While I'm fine with them recording in H265 it's annoying when trying to watch in browser because you will have some cameras which won't work at all. I tried using The CPU usage increases significantly so I don't really want to run it all the time when it's only needed a few minutes a day. Alternatively, is it possible to get a full resolution snapshot from the restream source? |
Beta Was this translation helpful? Give feedback.
-
Are the Frigate / Go2rtc / Nginx logs all just held in memory? I have had a sudden jump in stability and now I am wondering if it is because I suppressed some of the noisy logs. |
Beta Was this translation helpful? Give feedback.
-
I'm running HA on a Bmax b2s along with a Coral USB. Anytime I reboot, Frigate goes to start then crashes because It cant find the coral. It requires me to physically remove it and plug it back in. Anyone run into this issue before? Thanks a lot! |
Beta Was this translation helpful? Give feedback.
-
With all the updates to errors etc, I have a feeling this warning should be a counter on the system or recording page to help highlight bad cameras.. I was often wondering why I would randomly see skips in my events etc and it probably comes down to corrupt segments being discarded.. This would help weed out bad configs / cameras that should be replaced. |
Beta Was this translation helpful? Give feedback.
-
Major Changes for 0.12.0
❗❗Notice❗❗
I want to recognize @NickM-27 for all the contributions he made on this release and all the support he helps provide in the issues. If you have been considering sponsoring this project with either a one time contribution or a recurring contribution, I would request that you do so at his sponsors page.
Link to updated docs: https://deploy-preview-4055--frigate-docs.netlify.app/
Changes Since Beta 6
Changes Since Beta 5
BREAKING CHANGES
./run: line 7: exec: nginx: not found
, then you need to stop overriding your PATH. This happens with both Proxmox LXC and Portainer ([Support]: Beta11 Can't Find FFMPEG #3223 the database will need to be deleted to roll-back successfully.Retention limited by available storage
Frigate now limits its recordings to available storage, if the storage for recordings gets below 1 hour left then Frigate will delete the oldest recording segments to make room for newer ones. Frigate will also not fail if there is no space to save recordings.
go2rtc
go2rtc has been bundled inside Frigate. The configuration can be set directly inside Frigate's config file nested under the
go2rtc
section. You can follow the guide to setup go2rtc.Due to many issues with RTMP, it is now deprecated in favor of using the bundled go2rtc to provide an RTSP stream. Streams configured in go2rtc can also be used by Frigate to reduce connections to the camera, see the restream docs for more info.
Birdseye restreaming is also now supported at
rtsp:https://frigate_ip:8554/birdseye
NOTE: Port
8554
will need to be mapped in the docker run or docker compose file for the restream to be accessed outside the container.New live stream options
The bundled go2rtc also enables new
MSE
andWebRTC
live view options in the frontend which enable low-latency full-framerate live views that support audio.NOTES:
The live view options are set in the Frigate WebUI for each camera individually.
New detector types
Frigate now supports new detector types along with the Google Coral TPU.
OpenVINO
The OpenVINO detector type runs an OpenVINO IR model on Intel CPU, GPU and VPU hardware. OpenVINO is supported on 6th Gen Intel platforms (Skylake) and newer. A supported Intel platform is required to use the GPU device with OpenVINO. The MYRIAD device may be run on any platform, including Arm devices. For detailed system requirements, see OpenVINO System Requirements
TensorRT
NVidia GPUs may be used for object detection using the TensorRT libraries. Due to the size of the additional libraries, this detector is only provided in images with the -tensorrt tag suffix. The TensortRT detector is able to run on x86 hosts that have an Nvidia GPU which supports the 11.x series of CUDA libraries. The minimum driver version on the host system must be >=450.80.02. Also the GPU must support a Compute Capability of 5.0 or greater. This generally correlates to a Maxwell-era GPU or newer, check the TensorRT docs for more info.
NOTE: The link in the docs is for the final release location, for the beta the script is located at https://raw.githubusercontent.com/blakeblackshear/frigate/dev/docker/tensorrt_models.sh
New system page
The
Debug
page has been renamed toSystem
. It now includes much more information and links to easily getvainfo
andffprobe
data.The GPUs section will show each GPU based on the hwaccel args, depending on the type of GPU different information is supported. For example Nvidia GPUs will have the name while others will be generic, also intel does not support memory usage. There is also a
VAINFO
button which will make it easier to diagnose hwaccel issues and verify that the hwaccel driver is being used correctly.Each camera will have their own process CPU & memory usage so it will be easier to see which process is using those resources. There is also an
FFPROBE
button which will be helpful to understand what each stream is presenting and make it easier to include that in support issues.The debug config has also been removed, the config can be copied using the config page in the WebUI.
New storage page
Frigate WebUI now has a built in storage page which shows the general usage for both storage and memory. It also shows a per-camera storage usage and stream bandwidth. This should make it a lot easier to have a general idea how much storage is being used by each camera.
New logs page
Frigate WebUI now has built in logs, this will make copying and viewing logs much easier. Currently the logs are static meaning the page must be refreshed to view new logs.
New config editor
Frigate WebUI now has a built in config editor with syntax highlighting and schema validation. This means that the config will be validated before it can be saved which will make yaml config much easier to manage.
NOTE: The previous docker-compose or docker CLI may have had the /config.yml set to
:ro
or read-only. That will need to be removed for the config editor to be able to save the new file.MQTT is now optional
Frigate no longer requires MQTT to function, MQTT is also setup asynchronously so errors will be more clear and frigate won't stop when mqtt is enabled but not setup correctly.
NOTE: MQTT is still required for the Frigate-HomeAssistant Integration
No changes are needed for existing users.
FFMpeg presets
FFMPEG presets for common configurations are now added, making the config cleaner and allowing the underlying args to be changed between releases without being a breaking change. It is highly recommended to update the configuration to use these presets.
See https://deploy-preview-4055--frigate-docs.netlify.app/configuration/ffmpeg_presets for more info on how these should be used.
Example: Enabling Audio In Recordings
before:
after:
This also enables presets for hardware acceleration which will be used to further reduce CPU usage by using the GPU to optimize scaling and other workloads.
Improved events filters
Recordings updates
Recording segments are now stored in UTC to avoid issues with DST. In order to avoid a breaking change, the path of the stored segments has changed from
/media/frigate/recordings/%Y-%m/%d/%H-%s.mp4
to/media/frigate/recordings/%Y-%m-%d/%H-%s.mp4
.Recordings in the frontend are now shown in the timezone of the device viewing frigate, so the timezone set on the server running frigate is irrelevant.
No changes are needed for existing users.
What's Changed
-user_agent
forrtmp
streams by @felipecrs in Do not apply-user_agent
forrtmp
streams #4596New Contributors
Full Changelog: v0.11.1...v0.12.0-beta6
Images:
ghcr.io/blakeblackshear/frigate:0.12.0-beta6
ghcr.io/blakeblackshear/frigate:0.12.0-beta6-tensorrt
This discussion was created from the release 0.12.0 Beta 6.
Beta Was this translation helpful? Give feedback.
All reactions