pixop / video-compare

Split screen video comparison tool using FFmpeg and SDL2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

frame shift not support mkv

tkkcc opened this issue · comments

version: cc35c7e
os: archlinux

I use default obs settings to record two mkv videos, which are not synced. The -t works for time sync, but -+ doesn't, it can cause dual side shift and random time jumping.

I tried on two mp4 videos, and -+ works.

Hi tkcc,

Can you share the videos in question, please?

If you don't want to share them publicly here at GitHub, you can just share the videos with me privately via email at jon@pixop.com, thanks.

I remake a short recording.

2022-10-26 17-11-40.mkv.zip

To reproduce

video-compare 2022-10-26\ 17-11-40.mkv 2022-10-26\ 17-11-40.mkv

Then press - or + , and check the timestamp.

@tkkcc,

So I finally had an opportunity to test video-compare on your video.

I suspect the "dual side shifting and random time jumping"-phenomena you refer to is caused by video-compare re-syncing at the previous key frame when you press + or -. This is by design and how I had to implement the feature.

Here's a screenshot of the test I just performed:

Screenshot 2022-10-28 at 20 13 45

The video you shared has two key frames at 0.0 s and 4.167 s, respectively. Basically I paused the video playback after the 4.167 s mark and pressed + several times. The right video was time shifted as expected.