staxrip
staxrip copied to clipboard
Video comparison "go to time" is frame-based
Describe the bug
"Go to time" function of the video comparison tool navigates videos by frame count, rather than by time.
Expected behavior
I would expect "go to time" function to independently seek that time in every compared file
How to reproduce the issue
To clearly reproduce this:
- Get some short video clip (e.g., from https://www.pexels.com/search/videos/sample/ if you don't have any at hand)
- Increase the video frame rate significantly, e.g., by interpolating it with a rate scaling factor of 2 or 3
- Load the two files into the comparison tool, and set a specific time via "go to time" menu function
The result will be that the video with higher frame rate will be set to display the frame that corresponds to time * original frame rate
, rather than time * current frame rate
, as shown below.
Provide information
For a quick example, I did interpolate a 25 FPS video to 50 FPS, and set the comparison to 8-second timestamp via "go to time" function.
If we then switch tabs to the interpolated video, it's clearly not showing the same video time stamp.
To get to the scene that the interpolated video comparison show, we need to divide the timestamp by the interpolation factor of 2.
didn't check preview activity
but the trim function works great and also supports the keyboard arrows!