dyphire / mpv-scripts

userscripts for mpv
MIT License
53 stars 5 forks source link

fix-avsync frames jump back and forth when switching between videos #9

Closed AdventurerRussia closed 2 weeks ago

AdventurerRussia commented 1 year ago

mpv v0.35.1 https://www.youtube.com/watch?v=mtd6W4BEAbg at 31 seconds, it is very clearly visible when I switch the video frames jump.

dyphire commented 1 year ago

In fact, this issue is very difficult to fix. because the working principle of this script is to fix A/V sync by use frame-step and frame-back. So sometimes you will see obvious frame jumps.

On the other hand, mpv has fixed the related issue: https://github.com/mpv-player/mpv/issues/9591. This script is retained for the following reasons: - mpv still stutters for about 1 second when switching audio tracks - for users of older versions of mpv

Already fixed in upstream commit: https://github.com/mpv-player/mpv/commit/940854c, no longer need this script.