Skip to content
Discussion options

You must be logged in to vote

Frames are not decoded for the Events/timeline, they are simply read from disk as is so that is not the issue.
What process is using the CPU? Is it Viseron + PostgreSQL?

The Timeline works by utilizing HLS playlists, which are reloaded every 5-ish seconds to get new segments.
If you view many cameras at the same time, that all record 24/7 with longer retention periods it is a lot of data to process and the SQL queries will use the CPU.

There is something called HLS Delta playlists that could be implemented to reduce the need to load all segments on each fetch but that is complicated business that i have not looked into yet

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@WilloftheWind
Comment options

@roflcoopter
Comment options

@WilloftheWind
Comment options

@roflcoopter
Comment options

Answer selected by WilloftheWind
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants