Kitware / dive

Media annotation and analysis tools for web and desktop. Get started at https://viame.kitware.com
https://kitware.github.io/dive
Apache License 2.0
80 stars 21 forks source link

[BUG] Using Video Annotation FPS on image sequences defaults to -1 #1061

Open BryonLewis opened 2 years ago

BryonLewis commented 2 years ago

Describe the bug If you upload an image annotation sequence and use the 'Video FPS" it will default to -1 for the FPS. Then when you try to use the playback in the image-sequence mode it won't play.

To Reproduce Steps to reproduce the behavior:

  1. Upload image sequence
  2. set FPS to "Video FPS"
  3. Load dataset and hit the Play button or "Spacebar"
  4. Not the console errors and that it doesn't play.

Expected behavior Default to at least "1" fps for video if the user chooses Video FPS

waxlamp commented 2 years ago

The default FPS should be closer to that of typical video files right?

ghost commented 2 years ago

The basics are it needs to >= 1: Other options are:

I'm thinking that the best option is the first one, as well as a check in the back-end to make sure -1 is never finalized as an FPS for a dataset.