Frigate version 0.9 Updates. Change your config!

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
today we're going to talk about the newest version of frigate version .0.9 and in this version there are some breaking changes if you're running a previous version so we'll go over those breaking changes and we'll also talk about a few updates to the ui and a few updates to the way the architecture works when you're doing recordings so let's get started [Music] so let's get started by talking a little bit about some of the updates on the website so this is the 0.91 release and you need to be running the latest version of home assistant because you need the 2.0 or later integration and it says here the version is not compatible with the current version of home assistant integration for clips and notifications or the media browser you're going to have to use version 2.0 pre-release for the integration all right so here's some major changes for 0.9x all right clips have been recorded or merged into recordings so frigate now records footage from the camera uh just one time you set up the retention settings to determine what you want to keep when it does those recordings now you can set it to retain all footage uh for the number of days you want or have a different retention setting for the recorded footage that contains detected objects so when you view the footage for an event you are viewing the actual recorded footage for the time when the event occurred the download clip button on the event is going to dynamically create an mp4 from the recordings for download so the reason why is separating events and recording this way it has some significant benefits according to the author overlapping events no longer mean that the same video footage is stored multiple times on disk and then if you had an issue with the cache expiring if you had a long running event that is now no longer a problem so here's the thing if you use clips without 24 7 recording before are you gonna have to record 24 7 which of course is a big space issue the answer is no so if you only want to store footage of events the following config is going to be used and it shows you this here i'll show you in my configuration how i did that in a little bit also if you try to if you upgrade frigate and you try to start it you're going to get an error and it won't start up and the reason why is that width height frame per seconds moved under the detect block so uh they did this because there's a lot of confusion about uh the height with frame and where it's applied to so now you can put it under a global section or you can put it under the detect section of the camera so in this case you have under this camera code you have detect and then your width height and frame per second in addition to those changes and you have to make those changes in your config file or you're going to have errors there is a different way to view everything so now you can view footage directly in the web ui and you can browse your recordings and events with a collapsible timeline view so we look at this picture here for example this is your timeline view over here on the right you can select any of these uh items any uh in addition to that you'll see here that these uh times here have no event so there's nothing here but it still puts a time stamp on the on the timeline for you on an hourly basis so you can see per hour which events occurred during that hour click on any of them and then view the actual footage in the uh in the window here you can do this uh full screen you can do this also collapsed and this gives you your options for your different cameras so you select different things here and we'll talk about all of this uh in my live view here in a minute uh then there's mobile and then there's mobile full screen there's a new thing called bird's eye view it's a live dynamic grid of all cameras with activities and it has three modes you can set it for you can have a camera pop up on the screen if there's an object detected you can have a camera pop up if there's motion or you can have cameras up all the time for continuous viewing the purpose of bird's eye according to the author is to minimize bandwidth so when there's no activity this is what you're going to see just going to be a black screen so you can have it running and then if something happens in the camera and the view of the camera it'll pop up based on which one of these settings you have it set to there's also a live view so live view is what we've been asking for a bunch in order to be able to view our cameras in a live on a live basis so live view is in the same spot as where the debug was before the difference is you have a live view where it defaults to when you click on a camera and then you have debug you can still get to the debug and the settings screen as well and there's a whole bunch of other changes in here so let's jump into my actual configuration in my live view the first thing i want to show you is i want to show you my configuration so under those items that i talked about a couple things have changed the first thing is i have moved my detect underneath my camera itself so i have two inputs or two paths one is my main detect path and the other one is my record path and the difference is the different sub streams and substreams is the quality of the image you don't need a super high quality uh full size image if you want to do detection because the frigate actually takes and looks at a very small snippet and it actually has to resize that snippet or that view in order to see something so it's extra work to do that and then but i do want my recordings to be full uh resolution and so i have this and we talked about that in some of my other frigate videos uh the detection path is 640 by 480 that's what my substrate is providing so that's what i set this to it's the same as what i had it set to before the difference is it's in this different area under the camera directly instead of underneath the inputs or under the tech objects are the same filters the same snapshots all that is the same one of the other things i had to do was comment out this or remove this clips block because that is no longer being used when i left this in and tried to restart i got an error so remove the clips block or comment it out if you want to leave it there for a reference and in this case i'm doing full 24 7 recording on this camera so i just set record enabled true and my retained days is five days and the same thing is true on my front porch camera everything is the same here um except you know with the exception of the different areas where my motion masks and things are now the difference i have between these cameras and i um the front porch and the or the the front and driveway cameras in the back porch is that i don't record the back porch camera 24 7. i don't need all that storage to be utilized or used up on my device because i don't need recordings back there so what i've done is everything else is the same we move our detect out here and we move uh we're coming at our clips but what i've done here and this is in the documentation is i set my retain dates to zero my events i retain five so basically i'm not retaining any recordings so i'm not recording 24 7 but i am retaining up to five days or for five days any uh recordings that contain an event so that's how you go from not recording 24 7 in the old version or older versions of frigate to uh the way they're recording all the time but not storing that on the disk for those cameras so two different examples of the way i uh set up the recordings one is 24 7. i always have something there and the other one is only events are retained on those recordings all right so let's go look at some of the ui and some of the camera itself and let's talk a little bit about what i've seen from here so in my camera here we're looking at my frigate view and we're looking at um my various cameras now this is just a standard frigate mdr view these are just uh images that only they they don't update to just sit here uh what you have now though is you have events which we've always had in the previous version but we have this thing called recordings now and of course you have the three different options here if you don't specify recordings i've noticed the recordings icon here is actually toggled off so you have to specify in the config file recordings either during the recordings where you don't record or you don't store the the 24 7 recording in only the events or you do the 24 7 recording like i've done here so make sure you specify one of those so that it defaults to turning the recordings on when i didn't have that specified on this camera that the recording icon was toggled off and we can just toggle one of these you can see it turns it gray down here and you can see that it turns it off or recordings are turned off so make sure you specify in the config if you want to get these events to be recorded otherwise it just gives you snapshots okay so that is this if you click on recordings on any of these what you're going to get is you're going to get that timeline now what i find interesting is that i haven't found a way to get from uh the camera or this this main view and into recordings without doing what i just did it's a little bit of a ui uh user experience thing here where i would like to be able to get to this listing of cameras over here without having to go to a camera first but i started my in my nvr and i just click on one of these it doesn't matter which one and then i get all my cameras listed here and i can click through these cameras and i can pick up uh the timeline and i can view what's going on there so now we can see on the right hand side here let me just get rid of myself for a second you can see on the timeline here that i've got recordings for this morning and then if i come down i've got no recordings between 6 a.m and midnight and i would come down here the next day i've got nothing between 11 p.m and 8 p.m but then i have a recording here at six whatever the time this is or eight o'clock so then i click on it and what's also interesting in the ui is when you first bring this up you actually have to click on the start of the recording or start playing the recordings if you click through any of the rest of these they auto play but the first time you go into the camera you have to start the recording and then you can click through all these events and see what's going on so now you just click through the timeline and let me tell you this is a by far biggest improvement i've seen in the ui because i'm used to in blue iris being able to click through the timeline and look at all my events so here i just click on these events through the timeline and we can just view them as we go and you can just go to any one of the cameras now i didn't have any i didn't have recording enabled on this camera until this morning when i saw it wasn't working and so i have no history here until i enable that recording and of course the lights turn off or something here now if you're looking at these recordings here and you want this window out of the way it's collapsible so you just click it and boom it goes away and then it comes back again and then you have your full listing now some of these things are auto collapsed you can collapse by day and just go through and look at this stuff and just kind of click through so it's super nice for the uh for the interface here all right so let's look at let's look over here at the bird's eye view now the bird's eye view is something um to me that leaves a little bit to be desired and the reason why and first when you first start you'll see this white screen it'll take a minute for it to load itself now there's nothing going on in this bird's eye view until a camera actually picks up some sort of object detection and you can set it to motion you can set it to continuous uh any one of those things and that will give you um if you want motion anytime there's motion on the camera it's going to bring it up on the screen if you just want object detection like a person car bicycle whatever then you'll see it pop up on the screen what i don't like about this bird's eye view is what it pops up on the screen is your detect uh stream so if you're using a low resolution 640 by 480 detection screen or stream the the quality of the image is going to be quite uh grainy and and you know i would rather see the full screen uh view than seeing this grainy version okay so there's not a lot going on with object detection what i'm going to do is i'm going to change my bird's eye configuration to be motion detection so if there's any motion on cameras we'll see it pop up on here and that way we can get a good example of what's going on so to do that i'm going to go back over here to this configuration file directory or site and i'll link these down below there's a section here that talks about configuration file and here's a whole block on bird's eye and some of this is optional some of it defaults to certain things i'm going to click and copy this and i'm going to paste it into my my frigate file i'm just going to put it at the bottom of my frigate configuration and i'll just leave all the comments for now it's enabled true with i'm going to change this to 640 by 480 because that is the resolution of my detect sub streams on my cameras now quality is optional but it defaults to eight with one being the highest quality and 31 the lowest lower quality feeds utilize less cpu so it what it's doing is it's taking this and moving it from it's running in jsmpeg instead of mpeg and it has to re-encode it so right now it's set as default to objects and again you can see that the three different options you have here i'm going to change it to motion and what this will do is and i'll save it here by control essing what this is going to do is it's going to give you uh any time there's motion it's going to bring up one of the camera views here now if you look over here on the right if if you uh click on this restart frigate this doesn't actually reload the configuration file for some reason i don't know if it's supposed to but i've tried this a few times and my changes weren't picked up so don't use the restart frigate if you make configuration changes because they may not show up so now what i'll do is i'll go back over to supervisor and i'm going to restart frigate from the actual add-on so let's restart it always check your logs make sure they're happy with what you're doing all right so it's starting up here it found all of all the stuff it found the tpu if you're not using a tpu i really highly recommend it i it it speeds up your detection and takes the load off your cpu all right so it's up and running we can go back into the web ui now and we're back up now if we go back to bird's eye view you can see now the the uh res or the aspect ratio has changed the box is different that's another thing i don't like about it i would prefer to be able to size this window so that i can fit it all on a screen i have to actually scroll and if you're on a laptop or something uh this screen isn't gonna be as good now this is one single camera and it saw motion there picked up a car but you can see how grainy and to me i'm going to say yucky looking this image is and if you're just trying to get an idea of whatever is going on around you this is fine it will still record in full resolution if you're set up to do that if you're if your stream your record stream is set to record uh full resolution from your camera then that will show up as full resolution all this is doing is giving you a view of why the what what motion or whatever object is in the camera view i was hoping to get a couple more cameras to pop up here at the same time so we get motion from more than one but when you do have more than one camera it'll put the multiple cameras in this bird's eye view it doesn't it doesn't make them go below each other what it does is it takes that area where the black window is and it crams all the cameras into that area so right now since there's one camera this whole thing is filling up the 640 by 480 space now when you look at the bird's eye view settings and you're setting this width and output this is not the width and output of the camera this is a width and output of that black box where it's going to display all your cameras so if you have a tablet or something where you need a very specific resolution to fit all of that in there then you would change this here i'm going to put it back to 1280 by 720 since that's kind of the size of the stream or the size of my you know my browser window i'm going to save it again we're going to restart we will see that that black box changes so that we we fit all that on the screen a little bit better so let's just look at the logs all right we're up and running let's go to the web ui back to bird's eye now you can already see here i'm doing a little scroll here uh it's 7 12 1280 by 720 which is this window right here now what it will do is it'll take all those cameras that pop up with motion and fit them in this window if there's one camera it will take the entire window if there's more than one camera with motion it will fill in uh this window it's still going to give you the uh the resolution that the camera is displaying at so you can see here of course this is a 640 by 480 camera image and it's fitting into 1280 by 720 so it's like the old days when you had sd sd television and you have the square screen that's basically what we're looking at right now inside of a it's a square tv show inside of an hd window and now you see we have another camera here and these cameras run i believe for 30 seconds that's a setting you can change as well how long these cameras sit here in this window in this bird's eye window um across my fingers that i get a camera outside that to light up as well here but this will this will display for x number of seconds probably 30 seconds and then it it will go away back to the black screen see now we do have two cameras and see how they actually fit on the window so if you have more than one camera with motion or act or whatever the detection is you set you'll see them both on here and they'll display in whatever detect resolution your detect stream is now the other the first camera timed out and we're back to just the main camera so it's it's handy if you want to have a screen and you want it to to not use bandwidth unless there's actual activity being on a street like this i don't want motion i want objects so i only want to show up when there's a person detected or a bicycle or whatever my object detections are that's that now you notice over here on the left hand side i can't get back to the recordings which is kind of what i said the ui needs a way to get from here uh to other places so yeah like a little breadcrumb or something so i have to go back to cameras and if i want to look at a live view of a camera i'll click on the camera itself like we've done in the past and again here's the live view again what i don't like about this is the live view is not the full featured camera or the full resolution camera and i don't there's no way to set that the only way to uh the full camera is to go directly to the camera stream so we're looking at the 640 by 480 lower resolution detect stream i would rather see on the live view the full camera view now i believe the reason this is this way is if you click on debug you're now back on the actual debug screen of the camera and this allows you to set things like your bounding bot or your motion or your zones and your masks and this is the detect window that you will set all this up in so you have to use this window to set up properly uh which is why when you go live it's the same view of the same window now it does look better when you go to debug because it's actually shrinking it down into a smaller uh smaller window so it makes it less grainy anyway i wish there was a way to set uh the live view to be an actual live full resolution camera or the recording live view not the uh the detect live view but overall i'm really pleased with this uh and by the way you can go from camera to camera here on the left this is not something we were able to do before either but it gives the ability to bop around cameras without having to go back to the main screen and then come in here and go to another camera screen so there we have it that is the the the new version of or the newest version of frigate 0.91 or 0.9.1 as of this recording of this video this is the newest version i'm sure at the rate that he's going uh he will continue to make improvements or the community will continue to make improvements i still have been using this over blue iris for the last three or four months i really like it it's working well for me and these improvements to the nvr are just another step in making this a full featured mvr that allows us to scan around and jump around into clips look at timelines and see what's going on on individual cameras and be able to get live views be able to get the you know the bird's eye view and see only activity when there's activity if you have any comments put those down below uh also hit me up on discord if you're not a channel member please consider joining the channel it helps us support what i do here and uh if you have any other comments questions concerns let me know about those and i will answer those as best i can we'll see on the next video [Music] you
Info
Channel: mostlychris
Views: 3,399
Rating: undefined out of 5
Keywords: Smart Home, Home Assistant, frigate, nvr, home assistant nvr, motion detection, motion alerts
Id: bu5gce1YIyc
Channel Id: undefined
Length: 23min 12sec (1392 seconds)
Published: Sun Oct 17 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.