0.12.0 Beta 5 #5156
Replies: 53 comments 283 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.
-
I was running it on Synology NAS (11.0), but then switched to custom build hardware running Ubuntu Server and CasaOS on top. I had switched because the custom build had a gpu to assist in the hardware accel. Nickm you said I could use the go2rtc function to by pass the ports? By the way, thank you both for helping and suggesting everything you have. I would like to keep on using CasaOS on top of ubuntu server, but if I can't figure it out I may have to switch and install ubuntu and install docker. |
Beta Was this translation helpful? Give feedback.
-
Hello, I've been experiencing some issues with the new betas I started with beta2 and it has persisted throughout. Firstly frigate takes a good long time to initialize.
they come after go2rtc loads up (streams are available via VLC) I am also losing the JSMPEG stream as well as the stillframes on the dashboard and HASS camera entities. intermittently once this happens I need to restart frigate:
This is mostly on cameras 4 and 5 but it can happen to any of the others as well, sometimes all of them. config items in "<>" are not acutal names etc:
Lastly, I stopped getting sound on the HASS cameras with beta4, I assume that has to do with the go2RTC changes and I need to wait for the HACS version to be updated? any help or advice would be appreciated. TIA |
Beta Was this translation helpful? Give feedback.
-
I run my Frigate in the docker/portainer (Privileged mode) alongside HA on a laptop with installed Debian on it.
I can see in the go2rtc logs a lot of lines like this: AND sometimes line like this(for Reolink POE RLC-510A):
AND sometimes line like this(for NEDIS):
Any ideas to what this error is referring? I can provide more info/logs if needed. I have 6 cameras. 4 Reolink (2xRLC-510WA and 2xRLC-510A) and 2 Nedis ones. In general my setup works. I have also a question about birds-eye view. Looks like it always uses detect stream. I have Reolink cameras. I would like to use main stream for recording and live view and ext stream for detect. We can point live view to main stream and it works. But birds-eye and cameras view uses detect stream. Are you planning to implement a possibility to choose which stream is used in the birds-eye/cameras view also? |
Beta Was this translation helpful? Give feedback.
-
Beta 5 available shortly in Unraid. |
Beta Was this translation helpful? Give feedback.
-
I see this error for all the cameras:
The got2rtc config:
And the cameras config:
The FFMPEG config:
I'm not sure if it is related to this error, but I can hear the audio on the frontend ui also in the home assistant, but when an event occurs, the recorded clip doesn't have any audio. |
Beta Was this translation helpful? Give feedback.
-
Any ideas why my logs are filling with these:
Otherwise everything seems to be working. |
Beta Was this translation helpful? Give feedback.
-
Wow, I'm gone for a week and miss 2 betas! Trying to play catch-up and read all the comments. I think I have all my config updated after comparing to the new docs and a few of the posts here and on Beta 4 discussion but for some reason my live view dropdown only has jsmpeg available, no mse or webrtc. I'm sure I overlooked or am misinterpreting the docs or something but can't seem to figure it out; no errors or anything.
|
Beta Was this translation helpful? Give feedback.
-
Using tensorrt, ffmpeg is not working for me. Example config:
I got this error at startup:
And few seconds later the container crashes. |
Beta Was this translation helpful? Give feedback.
-
running beta4 the last couple of days and its been great. i successfully setup webrtc for live view and confirmed it is working on iOS. i did not have to change network mode to host or bridge, just passed the tcp/udp ports thru docker-compose. however ive noticed when i set the live view mode to webrtc, i have to click on the big play button to actually start the stream which is a minor annoyance. just thought i would point that out |
Beta Was this translation helpful? Give feedback.
-
I have noticed since since moving from Beta 3 to 5, my CPU is pegged at 100%; I know it's been mentioned on and off in issues; but can't figure out what would have changed from 3 to 5 to have my CPU go from 60-70% to 99.9%. I have tried turning off Birdseye and a trying a few other settings but nothing makes a difference. Did something change between 3 and 5?
|
Beta Was this translation helpful? Give feedback.
-
what is "VAINFO" supposed to return on the System page? I've been running beta 4 for a few days and not having any issues but noticed this error when selecting that button:
I can post my config and or logs if needed. |
Beta Was this translation helpful? Give feedback.
-
Hello, Can some one tell me the reason why when I view the camera info in go2rtc it shows like this the stream with localhost does not work in VLC but the one with the Ip address does. PS. How do I post my frigate.yml without it looking weird? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
-
@NickM-27 Got it, Thanks for the help. |
Beta Was this translation helpful? Give feedback.
-
seems to be crashing more now with beta 5. have to restart a few time. can you see anything obvious in my config or logs.
|
Beta Was this translation helpful? Give feedback.
-
Just wanted to chime in and say go2rtc and restreaming is really really awesome and after some fiddling I am super happy with it! Thanks! |
Beta Was this translation helpful? Give feedback.
-
Any thoughts on if there is or will be a way to have no hw_accel_scale preset applied when defining custom args on the detect output? The "default" preset that always gets applied in this case may cause a conflict with any hardware scaling filters in the custom args. My use case below is surely atypical/hacky, but I imagine others may be doing something more basic that would include hardware scaling. At the moment, I'm just modifying the presets in a fork, so not a big deal.
My camera's sub streams are poor quality, so I was taking the main stream, dropping the FPS to 10, scaling, and then reencoding to publish for live viewing at the same time as dropping the FPS to 5 before outputting for detection. |
Beta Was this translation helpful? Give feedback.
-
Hello! I have 5 cameras that output only 15 FPS each, I have go2rtc restreaming configured and seeing intermittent high CPU usage (95%+) on frigate host (debian lxc on proxmox with openvino and hw accel pass through - no google coral). Didn't make any changes to FPS in configs so it'll be using default of 5 for detect. When looking at system page, camera FPS varies from 5 to 100+? Trying to figure out why the FPS is spiking and CPU is high. This wasn't an issue with v0.11 so seems specific to v0.12? |
Beta Was this translation helpful? Give feedback.
-
To post something positive frigate + go2rtc + RTSPtoWebRTC in home assistant is a complete game changer for low latency camera viewing... Once you sort out all of the new configuration needed. I was completely shocked when I saw the near real time webrtc view in frigate, then after some struggles was AGAIN blown away when I got it working on HA even outside my network (after NAT / firewall / STUN config was corrected). I have an indoor cam that can see me at my desk and waving at myself was really groundbreaking when I was used to at least 1 second delay at best or 5-15 at worst. I hope I can get my last two cameras working with restream and webrtc in the next beta! |
Beta Was this translation helpful? Give feedback.
-
Small visual issue on desktop chrome in the frigate web UI, both the mse and webrtc video modes leave a large blank / gap area under the live / debug text. The jsmpeg player does not do this. The video shifts down the screen about an inch vs the jsmpeg mode. |
Beta Was this translation helpful? Give feedback.
-
I'm having an issue trying to get beta5 running. I built the docker container from |
Beta Was this translation helpful? Give feedback.
-
Quick question - this is unique to my single Wyze Cam running wz_mini_hacks custom firmware, can't get the audio to work via go2rtc. Looks like it uses pcm_s16le? Any suggestions on what to use for go2rtc ffmpeg and frigate input path to get audio working?
|
Beta Was this translation helpful? Give feedback.
-
Appreciate all the work on Frigate and the ability to utilize Home Assistant. The added features on ver 0.12 beta especially the cleaning for storage enhances its stability. Can I suggest that instead of the disk capacity, that a max storage setting to used to limit the space disk used. |
Beta Was this translation helpful? Give feedback.
-
Anyone using the Amcrest AD110 with restream? Seems like it is randomly failing "No frames received..." and not recovering with the restream config a few hours after config. (probably another just wait till beta 6 and newer go2rtc build item)
I have 8 cameras and my results with restream so far are:
All of these cameras work under a legacy style direct config in frigate 11.1 or 12 without go2rtc restreaming I will also note from a stability point of view that ALL of my cameras fail (no frames errors) if I even configure the reolink cameras at all with restream, they take all of the recording and detection processes offline however webrtc viewing seems to continue to work. ONly noting this because a one bad camera I would hope would not take down the whole system |
Beta Was this translation helpful? Give feedback.
-
Small note on Recordings & Snapshots it appears to show the total space used on the mount and the total size of the drive which is more important to the app to find when it will run out. It doesn't actually show how much space is used for JUST Recordings & Snapshots.. It might be useful to display that as well. I am currently moving my install to a dedicated host and when I checked the actual space on disk the the Recordings & Snapshots actually only took up about 750GB but the frigate value was over 2TB. |
Beta Was this translation helpful? Give feedback.
-
0.12 new camera event filter multi select has not quick single select option? There does not appear to be a way to quickly unselect all cameras / select one camera. (greater problem when you have a larger number of cameras) A lot of filter systems with a similar UI will select one camera if you click on the item label instead of the check mark.. Or the select all will act as a toggle and unselect all. |
Beta Was this translation helpful? Give feedback.
-
Question when do stills previews update in frigate? This may not be a specific to 0.12 question but it just seems like I have had a larger number of cases of the thumbnail always showing something very out of date or corrupt, but recordings / events or live view work fine and sometimes the thumbnail updates after viewing a camera? In particular I find it strange when I see a person in the still, I would think at least the image would update at the start AND end of a motion event? |
Beta Was this translation helpful? Give feedback.
-
does anyone know why recordings only have an FPS of 12.5 while the rtsp stream is more then 20? |
Beta Was this translation helpful? Give feedback.
-
Awaiting beta 6 and newer go2rtc.. However I see 11hrs ago go2trc also released a 1.1.0 release with even more improvements for codec handling, hope that makes it in. |
Beta Was this translation helpful? Give feedback.
-
I am noticing that restarts seem to take longer and longer. Previously a restart would complete in < 5s, now it seems to be more like 40s. A relatively minor complaint but when you're adjusting config it's slightly frustrating, as well as meaning detection / recording is lost during that period. Is that expected behaviour or worth debugging? Potentially something to do with the leaked shared_memory objects referenced below?
|
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 4
FRIGATE_
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 restreaming
go2rtc has been bundled inside Frigate. The configuration can be set directly inside Frigate's config file nested under the
go2rtc
section.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://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-beta5
Images:
ghcr.io/blakeblackshear/frigate:0.12.0-beta5
ghcr.io/blakeblackshear/frigate:0.12.0-beta5-tensorrt
This discussion was created from the release 0.12.0 Beta 5.
Beta Was this translation helpful? Give feedback.
All reactions