Time slider broken with missing video file

Issue #228 resolved
J.D. Laurence-Chasen created an issue

Hey Ben, Here’s a new (low priority) one:

  1. Have trial with 2 AVI videos, tracking complete
  2. Video files are deleted from source folder for space saving
  3. Need to check the video to confirm behavior, so re-download camera 2 avi and put in source folder
  4. Open XMALab file – time slider is broken, plot window shows 2D points, but slider doesn’t show any frames

When I download the camera 1 video and re-open the trial, it works fine.

Thanks!

JD

Comments (5)

  1. Benjamin Knorlein

    Hi JD, xmalab does not store how long the video sequence was but does only reads the length once a video file is opened. I can check if i can change this for the next version

  2. J.D. Laurence-Chasen reporter

    But I don’t think that’s the exact source of the bug, because I just tested again, and with cam1 video missing, and # of frames went from 1124 to 100, but with cam2 video missing, number of frames is correct. So I think XMALab is probably looking at just cam1 for sequence length, which would be an easier fix than storing the length.

  3. Benjamin Knorlein

    Hi JD,

    Thanks for the info. I will check the code but believe it should check both cams.

    Ben

  4. Log in to comment