mpv
mpv copied to clipboard
mpv sometimes exits with (End of file) when paused
Important Information
Sometimes when I pause playback while watching movies mpv exits. I had this problem on my PC and laptop both running Kubuntu 23.04 and Flatpak version of mpv.
Provide following Information:
- mpv 0.35.
- Kubuntu 23.04
- Flatpak
- KWin Wayland
- Mesa 23.1.4 - kisak-mesa PP
Reproduction steps
- Open movie with mpv
- Try to pause it after some time
- Eventually it will close itself instead of pausing playback
Expected behavior
mpv should just pause playback
Actual behavior
it exits
Log file
Last messages from mpv ran with -v -v: log
We need the full log for debugging. Check whether it reproduces with --no-config
too.
I have the same problem, here are a few logs mpv.log mpv_1.log
The problem occurs randomly and I'm trying to identify which entry in mpv.conf is causing the problem
In all of your logs someone/something is simply telling mpv to exit:
[1146.832][d][cplayer] Run command: stop, flags=64, args=[flags=""]
You should investigate your scripts and if with --no-config
it doesn't reproduce that means it's not an mpv bug.
After downgrading the sof-firmware , the problem was resolved.
I have the same problem, and I also have [cplayer] Run command: stop, flags=64, args=[flags=""]
in my log.
I tried --no-config
and it seems mpv no longer unexpectly exit. But I have disabled all the scripts and all I have was a input.conf. How can I find out what sends the stop command?
(I also do not have sof-firmware
installed)
I have the same problem, and I also have
[cplayer] Run command: stop, flags=64, args=[flags=""]
in my log. I tried--no-config
and it seems mpv no longer unexpectly exit. But I have disabled all the scripts and all I have was a input.conf. How can I find out what sends the stop command?(I also do not have
sof-firmware
installed)
I suspect this situation is related to mpv-mpris
. You can try to uninstall it.
I do have mpv-mpris
installed. And this may explain why --no-config
solves the problem (I only checked user script before and missed scripts installed by system package manager). I'll investigate into that.
I have inserted some logs in mpv-mpris
and found the problem. It turns out that kdeconnect will randomly invoke the Stop
method of the mpris interface, and in turn sending the stop command to mpv.
I also found a bug report of kdeconnect of a similar problem, but sadly there is no reply yet.
I've been bothered by the same mpv-killed-when-paused-problem, and having a similar kdeconnect/mpv-mpris/mpv
-setup as you guys.
But I think I may have now found the real culprit behind the issue. I had also playerctl
installed, and after removing it the problem disappeared. It's been a week now, and no uncalled-for mpv closures since. Before, it happened every time I left mpv or any mpv frontend paused for some 10-20 minutes.