crewtimer / crewtimer-video-review

Utility app for connecting to FinishLynx or recorded video
MIT License
0 stars 0 forks source link

Video scrubber assumes fps is constant #6

Closed glenne closed 3 months ago

glenne commented 3 months ago

The endTime of a video file is computed as start+numFrames/fps. If the fps is not correct or varies during the file the endTime will not be correct resulting in phantom clicks being shown when the renderer thinks a click occured in the video based on the endTime calculation.

Suggested workaround: When a video file is opened, read the last frame of video and extract the timestamp from that.