#1034256 mpv drops frames when you pause the video at least 10 seconds then play again.

Package:
mpv
Source:
mpv
Description:
video player based on MPlayer/mplayer2
Submitter:
acer
Date:
2023-04-18 07:57:03 UTC
Severity:
normal
#1034256#5
Date:
2023-04-11 17:02:02 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***


I think it happened after the 0.35.1-3 update. at least I noticed the bug after that update.

I played a video, then paused it for a wile. after resuming the playback I noticed a lot of framedrops (frameskips). the bug is repeatable. just play a video, then pause it for at least 10 seconds. resume the playback. I did test it on more than 10 videos with h264 h265 codecs,with and without vaapi or  mpv config files. all of the results were the same.

the outcome was framedrops after pausing the video for more than 10 seconds.

the outcome I expected was to resume the playback without framedrops.
*** End of the template - remove these template lines ***

#1034256#10
Date:
2023-04-18 07:55:06 UTC
From:
To:
After further investigation I have found two workarounds.

go into /home/username/.config/mpv/mpv.conf and add either --ao=pulse or
--pulse-latency-hacks=yes it will solve the problem.

I hope the devs will solve the problem before the stable release.

source. <https://github.com/mpv-player/mpv/issues/10295>