video2x icon indicating copy to clipboard operation
video2x copied to clipboard

Interpolation produces incorrect duration and audio desync

Open stderr-to-devnull opened this issue 11 months ago • 3 comments

Describe the bug Interpolation produces incorrect duration and audio desync

To Reproduce Steps to reproduce the behavior:

  1. Choose interpolation
  2. Choose RIFE 4.26
  3. Choose frame multiplier value 2
  4. Start processing

Expected behavior Output video has identical duration to input video

Actual behavior Output video has either shorter or longer duration, audio no longer in sync

Screenshots If applicable, add screenshots to help explain your problem.

Environment:

  • OS: Windows 10 Pro latest
  • GPU: NVIDIA GeForce RTX 4070
  • Video2X Version: 6.4.0

Full command Using GUI version

Additional context Add any other context about the problem here.

stderr-to-devnull avatar Jan 29 '25 22:01 stderr-to-devnull

Seems like an issue with the frame rate or time base. Is it possible for you to send me the video so I can test it?

k4yt3x avatar Jan 29 '25 23:01 k4yt3x

For me RIFE 4.26 and 4.25 worked on Windows properly.

Pete4K avatar Jan 30 '25 06:01 Pete4K

I used ffmpeg's atempo audio filter to adjust the duration so it matches the video then I deleted the source. I will perform tests with other files to see if the problem persists.

stderr-to-devnull avatar Jan 30 '25 17:01 stderr-to-devnull