staxrip icon indicating copy to clipboard operation
staxrip copied to clipboard

Video comparison "go to time" is frame-based

Open arthur-st opened this issue 1 year ago • 1 comments

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:

  1. Get some short video clip (e.g., from https://www.pexels.com/search/videos/sample/ if you don't have any at hand)
  2. Increase the video frame rate significantly, e.g., by interpolating it with a rate scaling factor of 2 or 3
  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. ricEiRy

If we then switch tabs to the interpolated video, it's clearly not showing the same video time stamp. IVceD09

To get to the scene that the interpolated video comparison show, we need to divide the timestamp by the interpolation factor of 2. P2mdp8G

arthur-st avatar Sep 09 '23 10:09 arthur-st

didn't check preview activity

but the trim function works great and also supports the keyboard arrows!

Andrasolin avatar Nov 10 '23 08:11 Andrasolin