-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSD-info when video is paused #8155
Comments
Add
|
@CogentRedTester unfortunately it doesn't work reliable |
Space no-osd cycle_values osd-msg1 Paused ""; cycle pause |
The following lua script should also work. Just replace the pause character with whatever text you want:
|
@oe-d this is perfect but the problem is - in 50% cases there is no osd-msg at all when I pause the video. UPD: The osd-msg will show when you drag the mouse and the bottom control panel will appear. (see gif) @CogentRedTester how to apply this lua script? |
That's mpv being stupid and sometimes not rendering the osd when the player is paused. Devs should probably look into that. To use the script, save the text as a lua file and put it in .../mpv/scripts/ (https://mpv.io/manual/stable/#files) |
thanks!
well, for me it happens very often (also when using @CogentRedTester script)
I hope they do |
if there isn't an open issue for it(?), no one will most likely look at it. since the initial feature request has been fulfilled, i will close this. |
@Solarunit Yes it looks like the OSD tends not to update for a short period of time after a pause. I've modified the script to wait for 0.1 seconds before adding the pause icon, and that seems to have fixed it:
I've also modified the style of the pause icon to be larger and in the center of the screen. Changing the ov.data line back to what it was before will undo the change if you don't like it. |
The script is working fine @CogentRedTester |
When mouse click or keyboard press trigger play/pause, the button on osc interface don't update in time, this patch will fix it for better ux. More info: mpv-player/mpv#8155 (comment)
If you pause or resume the video too quickly, either by clicking the pause/play button or through keypress, the OSC does not update itself immediately. This workaround adds a small delay after pausing so that the OSC can update itself promptly. Original commit from: cyl0/ModernX@8cd17a3 Code taken from here: mpv-player/mpv#8155 (comment) Related issues: mpv-player/mpv#8172 mpv-player/mpv#8350
Please add an OSD-info when video is paused - a text "Paused" at the top left corner of the video. The duration can be 2 sec or (preferably) until the video is unpaused.
The text was updated successfully, but these errors were encountered: