mpv
mpv copied to clipboard
display osc instead of progress bar on seek
Whenever I seek the video, progress bar gets displayed. Any way to display the regular OSC instead (one that appears when I move mouse)?
one of the solutions. https://mpv.io/manual/master/#options-no-osd-bar https://mpv.io/manual/master/#key-bindings
I don't see how that's a solution. With the del option I can only cycle through visibility modes. Same with https://mpv.io/manual/master/#on-screen-controller-osc-visibility.
I've searched some more, and I think this might be a duplicate of #2891.
Check out python-mpv issue #124. The lua script there is a workaround until this gets solved in mpv.
is there any work being done on this issue?
Also it's possible to disable pop-up seek bar. I'm using that plus what Jaseg suggested.
I too am missing this
FWIW I just learned to love uosc, which makes this easy.
Also it's possible to disable pop-up seek bar.
To save a few minutes of search for those who want to do the same thing, this is the setting you should put into mpv.conf:
osd-on-seek=no
Just to be clear, this just disables OSD on seek, there is no option to show OSC on seek yet.
Edit
Using v0.39.0 or newer this now can be done cleanly with a scripts/osc.lua (filename can be anything):
function show_osc()
mp.commandv("script-message", "osc-show")
end
mp.register_event("seek", show_osc)
mp.observe_property("pause", "bool", show_osc)
This also shows OSC when toggling pause, comment out or remove if it's not desired.
Also it's possible to disable pop-up seek bar.
To save a few minutes of search for those who want to do the same thing, this is the setting you should put into
mpv.conf:osd-on-seek=noJust to be clear, this just disables OSD on seek, there is no option to show OSC on seek yet.
Would love to show OSC on seek.
local timer = mp.add_timeout(1, function ()
mp.command('script-message osc-visibility auto ""')
end, true)
mp.register_event('seek', function ()
mp.command('script-message osc-visibility always ""')
timer:kill()
timer:resume()
end)
Fixed by: https://github.com/mpv-player/mpv/pull/14358