dermotduffy / frigate-hass-card

A Lovelace card for Frigate in Home Assistant
MIT License
556 stars 59 forks source link

Add mini-timeline view #802

Closed dermotduffy closed 2 years ago

dermotduffy commented 2 years ago

Broken out of: https://github.com/dermotduffy/frigate-hass-card/issues/789 Requested by: @scottjjr

What would be a stellar option is the timeline view under the camera window, simliar to what I have on the last pic above. Not sure on others, but I record 24x7 and would love a way to 'scrub' through the video based on the timeline. Am almost there with the single row of events, but the timeline from the other tab would be amazing.

dermotduffy commented 2 years ago

@scottjjr Just to confirm, you mean if we could have a timeline for a given camera load under the live view for the same camera. Is that what you mean?

scottjjr commented 2 years ago

Yes correct, if you can see the live view with timeline underneath and drag left/right to scrub through the recordings that would be awesome.

dermotduffy commented 2 years ago

drag left/right to scrub through the recordings that would be awesome.

What does this mean exactly? Can you describe what you want to happen when you drag the timeline left / right?

scottjjr commented 2 years ago

Something like this with ring, milestone xprotect is similar as well

https://youtube.com/shorts/yQk5g55K9Wo?feature=share

scottjjr commented 2 years ago

Might help if I explain the use case a little more sorry. What I’m keen to do is have access to all the recorded video and see the timeline with events marked, and move forward and backward through the video by dragging the timeline bar left or right. Sometimes to events, other times just scrubbing through the video to see what’s happening/changing (or not).

The timeline underneath the full recorded video is super useful doing this as I can see when things are happening/finishing, or look either side for things that may not have captured as an event. As awesome as frigate’s recognition is, I have a lot of misses where something has happened and is obvious in the recording but it wasn’t tagged as an event (either not registering the object or not a tracked object).

dermotduffy commented 2 years ago

Quick update: This is the current feature I am investigating (i.e. this is not forgotten, just also not easy to implement!).

bagobones commented 2 years ago

I really like this idea as it would better give context to the current recording being played as well if this ALSO appeared when you launched a recording from the timeline.. I was going to suggest something else but if all playback live or recording just had a timeline under it that would just solve the context issue completely.

As for examples Surveillance station mobile has a really great UI for this including snapping / jumping to events as an option https://www.synology.com/en-ca/surveillance/feature/mobile

I just migrated off of surveillance station but could fire it back up if wanted more examples.

bagobones commented 2 years ago

mock mini

A quick mockup using the current cards elements, ideally you could swipe and zoom the timeline part under it and when you tapped on an event or recording area it would start playing. A LINE or highlighting the time block you are currently playing would be ideal.

dermotduffy commented 2 years ago

Update: I am making good progress on this feature. It will form the centerpiece of v4.1 (the next release).

dermotduffy commented 2 years ago

This will be in the next build.

scottjjr commented 2 years ago

Brilliant thanks! Looking forward to seeing it