viseron
viseron copied to clipboard
v3.0.0 - Continuous recordings
This is a pretty massive PR that brings a number of new features and improvements.
Features
24/7 recordings
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.
Storage Tiers
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.
Timeline
To easily view 24/7 recordings, a new Timeline view is available. It currently shows continuous recordings, motion events, detected objects. Face recognition and License plate recognition will be available soon as well
Events
The Events view is a more concise view than the Timeline. Here you can scroll through and view all the Events. You cannot view 24/7 recordings here.
Breaking Changes
- Recordings are now in HLS format. If you need to have the recordings saved as full MP4 files you can use the new config option
create_event_clip
- Recordings folder structure has changed
-
mp4
file extension is now forced andextension
is removed -
segments_folder
is removed in favor of tier paths - Thumbnails are now stored in /thumbnails folder (depending on the tier config)
-
filename_pattern
inthumbnail
is removed, stored as ID of the recording
Tasks:
- [x] CONFIG_RETAIN is removed in favor of tier max_age
- [x] Add a force move to next tier on stop to avoid losing data in RAM when restarting
- [x] Cleanup FilesMeta table on shutdown. Solved by a trigger
- [x] CONFIG_RETAIN is still used in some places
- [x] CONFIG_FOLDER is removed in favor of tier paths
- [x] Remove segment cleanup
- [x] Remove recordings cleanup
- [x] Force mp4
- [x] Fix saving of recordings clips
create_event_clip
- [x] Must change
recorder/complete
event listener in Recordings UI since it is not triggered ifcreate_event_clip
is False - [x] Add a safe mode if storage component fails to load
- [ ] Add manual disc sync to make sure that all files are in the database
- [x] Fix face recognition pickle error
- [x] Add max length to recordings
- [x] Make sure that FailedCamera recordings work properly
- [x] Remove FailedCamera from _get_tier_config and preceding calls
- [x] Fix deletion of recordings
- [x] Update docker docs with new VOLUMES
- [x] Update UI to use HLS recordings
- [x] Dynamic file fetching to find files that have been moved to different tiers
- [x] Add orig_ctime to FilesMeta table to store the original creation time of the file, replacing created_at in most places and also sorting on filename column in recordings_to_move_query
- [x] Delete recordings from database when files are removed
- [x] API for fetching 24/7 events
- [x] End HLS playlists if there is a large gap in the segments
- [x] Set Recordings end_time/Motion end_time to current time on startup in case of crashes
- [ ] Transcode video to HLS supported formats
- [ ] Migrate existing recordings
- [ ] Make sure snapshot domain overrides actually work
- [x] New UI page called Events
- [x] Timeline
- [x] Events
- [ ] Filters
- [ ] Update timeline using websockets
- [x] Add link from startpage to Events
- [ ] Make clicking the timeline more intuitive
- [x] Face recognition on Timeline
- [x] ALPR on Timeline
- [x] Motion detection on Events
- [x] Face recognition on Events
- [x] ALPR on Events
- [x] Fix Date picker so it shows the correct amount of Events
Deploy Preview for viseron ready!
Name | Link |
---|---|
Latest commit | 05f51670e2efc0ce9a0fc2560264f26844b910e7 |
Latest deploy log | https://app.netlify.com/sites/viseron/deploys/663b748ed474480008ace0bf |
Deploy Preview | https://deploy-preview-716--viseron.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Quality Gate passed
Issues
1 New issue
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
2.0% Duplication on New Code