Open kevinsbarnard opened 1 year ago
From VARS meeting 2/8/2023:
Requirements
Additional requirement (see #6):
Opening video does not seek to the correct frame on Mac. This is likely due to a failed connection because of the forced IPv6 UDP socket -- need to investigate more.
sharktopoda-client v0.4.3 introduces handling of IPv4 and IPv6 ephemeral sockets. Need to test if this resolves the issue above.
Hoping to have completed by 11/30/2023; Appears to be mostly complete but KRW will be testing this week to see if there are any outstanding issues.
From KRW:
I spent a little time this morning troubleshooting the shark-2 issue with Gridview and VARS Anno and figured out when it is not working correctly. If I open Gridview and choose open file on an image, it seeks to the correct elapsed time in video on shark-2. Then I open VARS Annotation, open a video file, close VARS annotation, and then go back to Gridview (has been open the whole time) and try to Open Video on an image, it opens the video in shark-2 from Gridview but seeks to the beginning of the video file, elapsed time 0, not to the correct elapsed time within video. So it seems like VARS annotation is changing something with shark-2 after it has been opened and then Gridview doesn't work correctly even after closing VARS annotation.
It sounds like the following is happening:
So, it sounds like gridview needs the ability to re-connect without restarting the application, since VARS Annotation will interrupt the connection. In that vein, a nice-to-have could be an S2 connection status indicator (e.g. red X vs. green check).
From v0.4.0, there is now a "Video Player" tab with controls for Sharktopoda 2.
This can be used to specify the host/ports for Sharktopoda 2 and re-connect as needed when VARS Annotation grabs the connection.
From discussion 12/06/2023:
First cut: load all annotations from a given video, not just the selected one.
Next version: load annotations from within a time window of the selected annotation. Will require reaching out to VARS for other annotations
As of v0.10.0, all loaded localizations in the grid that map to the same video reference as the selected one will be added to Sharktopoda.
Appears to be completed @kevinsbarnard. Ok to close?
Related to #2. Sharktopoda 2 (MBARI's new video player) supports rendering and editing of localizations via a remote protocol. Gridview should be integrated with Sharktopoda 2 to facilitate this.