How to stop a video?
mpv version and platform
mpv: mpv-full 0.29.1-4 on Arch Linux
How can i stop a video? vlc has this rectangle, which pauses a video and jumps to the beginning.

What are the keybinds?
Pause + seek to 0s
Pause + seek to 0s< This is what i put in input.conf, but it doesnt't work S pause + seek to 0s
I think this should work as well (input.conf):
S stop
seek 0 absolute ; set pause yes
seek 0 absolute ; set pause yes
That's what i was looking for. Couldn't find it anywhere, thanks.
@jimmy-1000 commented on Jun 4, 2021, 11:58 PM GMT-3:
seek 0 absolute ; set pause yes
That's what i was looking for. Couldn't find it anywhere, thanks.
It's correct, sadly that option doesn't exist
That's supposed to be an input command, so set a keybind for it in your input.conf.
@garoto But is not the same. That is "go to the beginning and pause". The current video is still there, we can see it. The stop function in all players is "stop and exit from de current video and keep the playback window open", normally in black screen. I could't do that in mpv.
This seems to work when the player is started in pseudo-gui mode:
END no-osd set idle yes ; stop ; show-text "Stop"
This seems to work when the player is started in
pseudo-guimode:
END no-osd set idle yes ; stop ; show-text "Stop"
Thanks again @garoto you are right, it works in combination to pseudo gui. I added --profile=builtin-pseudo-gui to mpv.conf
I added --profile=builtin-pseudo-gui to mpv.conf
If you never use the Windows CLI to launch mpv, I guess you don't really need that line in your conf. mpv will always start in pseudo-gui mode when double-clicking media in explorer or when launched from other GUI-based applications AFAIK.
I added --profile=builtin-pseudo-gui to mpv.conf
If you never use the Windows CLI to launch mpv, I guess you don't really need that line in your conf. mpv will always start in
pseudo-guimode when double-clicking media in explorer or when launched from other GUI-based applications AFAIK.
You are right again, I tested it only thru Windows CLI and mpv closes its windows. But do this directly click on video it works correctly without code in mpv.conf.. Thanks 👌