roflcoopter / viseron

Self-hosted, local only NVR and AI Computer Vision software. With features such as object detection, motion detection, face recognition and more, it gives you the power to keep an eye on your home, office or any other place you want to monitor.
MIT License
1.51k stars 155 forks source link

24/7 recordings #619

Closed roflcoopter closed 3 months ago

roflcoopter commented 1 year ago

This is a pretty massive PR that brings a number of new features and improvements.

The main feature developed here is the option of having 24/7 recordings. With this comes a new component, storage which will allow you to retain data based on time (like it is today) and based one consumed space. This allows you to use your storage to its maximum.

Another feature of the storage component are tiers. They allow you to store recordings on multiple media. Say you have one 256GB SSD and a 1TB HDD, you can keep the most recent recordings on the SSD for fast access while offloading the older recordings to the HDD for archiving.

All of this will be in the docs soon.

Breaking Changes

Recordings folder structure has changed mp4 file extension is now forced and CONFIG_EXTENSION is removed CONFIG_SEGMENTS_FOLDER is removed in favor of tier paths Thumbnails are now stored in /thumbnails folder (depending on the tier config) CONFIG_FILENAME_PATTERN in CONFIG_THUMBNAIL is removed, stored as ID of the recording

Tasks:

netlify[bot] commented 1 year ago

Deploy Preview for viseron canceled.

Name Link
Latest commit b2b8091be798a31e83226e8fb5e9bcb1a9abdf26
Latest deploy log https://app.netlify.com/sites/viseron/deploys/65f7ecbd5744a80008e096cb
tdashmike commented 6 months ago

Looking forward to this. Do you need help beta testing?

roflcoopter commented 6 months ago

For sure, eventually! It is still in an early stage, it mostly works but some polishing remains before it is ready for testing

jMyles commented 5 months ago

Really appreciate your huge lift on this PR - and this project - @roflcoopter.

roflcoopter commented 5 months ago

Thank you! It's taking a lot of time and effort but I think it will turn out great.

I hope to release an alpha soon when the timeline part is done to get some feedback. Then focus on the remaining parts like migrating old recordings over and the documentation for the new components

roflcoopter commented 3 months ago

Getting close now, just need to make some tweaks on the timeline view!

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
85 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
1.7% Duplication on New Code

See analysis details on SonarCloud