I have a parser to extract comments and times from several .kva files and combine them to create an averaged timeline. I recently updated to kinovea 2023.1 and the parameters in the .kva file are slightly different now. Previously I used the UserTime parameter in the .kvas to calculate time differences. I am wondering if I could get confirmation on the time calculation using the new parameters. My .kva files has the following parameters :
FirstTimeStamp
AverageTimeStampsPerFrame
CatureFrameRate
And each comment has:
Timestamp
Can times between frames be calculated as:
Time(1) - Time(0) = (TimeStamp(1) - TimeStamp(0))/(AverageTimeStampsPerFrame*CatureFrameRate)
And can time from start be calculated as
Time = (TimeStamp - FirstTimeStamp)/(AverageTimeStampsPerFrame*CatureFrameRate)