1 (edited by Blackfyre 02-12-2022 01:54:16)

Topic: Full Screen Exclusive Mode for MPV - Extra Smoothness

EDIT: OLD Post - CHECK 3RD REPLY ON THIS THREAD:

Ever wonder how at certain moments in Films or TV Shows some panning shots aren't perfectly smooth? Even though there are no dropped frames or delayed frames in the diagnostics information section of MPV.

EDIT - Read the Edit Note at the end after reading the full original post first:

For example in the beginning of Episode 1 of Season 8 of Game of Thrones, there is a panning shot from left to right as the kid climbs the tree and looks at the army moving in below him. Sometimes in that scene the smoothness is not 100%, even though there are no dropped frames, or any indicators that there is a CPU or GPU bottleneck. It just looks choppy, replay it by clicking back five seconds and it runs smooth, replay it again, and it feels and looks choppy (no consistency).

Well, after months of messing around with that scene specifically, because it was pissing me off; I researched on how to use Full Screen Exclusive Mode for MPV, to test if it has an impact.

Yes, the impact is very clear, I restarted those 5 seconds over 30 times without it once feeling not smooth. Always ran perfectly smooth after forcing MPV into Full Screen Exclusive Mode.

Here's how to do it:

Edit the MPV Configuration file, and add this line as a single line by itself anywhere in the configuration:

ontop

That's it, if you enter full-screen mode now, it will automatically become Full Screen Exclusive Mode:

Makes the player window stay on top of other windows.

On Windows, if combined with fullscreen mode, this causes mpv to be treated as exclusive fullscreen window that bypasses the Desktop Window Manager.

MPV Configuration File is located (C:\Users\YourUsernameHere\AppData\Roaming\mpv), and should be called mpv.conf. If it's not in this directory, create the mpv folder in the Roaming folder, and create a notepad file which you add your settings to that should be renamed to mpv.conf (with extensions visible) after it is saved.

EDIT Note:

Requires further testing, but on first glance, I can confirm that there is a certain performance increase in using Full Screen Exclusive Mode in MPV. Around 15% to 20% increase in performance actually. While I played 1080p content, and 4K content at 60FPS, before I had to set 4K HDR Content to 2X Movie (48FPS) to not get any dropped and delayed frames. Now I am testing the scene very hard scenes from Blue Planet 2 4K HDR episode 5 after minute 40 (it is a very intense scene that always dropped frames at 60FPS), now it is working smoothly at 60FPS. I will try some more movies and TV shows later, but this is very promising.

2 (edited by James D 28-09-2019 22:31:43)

Re: Full Screen Exclusive Mode for MPV - Extra Smoothness

All my videoplayers ontop while playing.
Additionally to ontop add this line to input.conf

SPACE cycle pause; cycle ontop

Didn't know in combo it does exclusive mode.

Re: Full Screen Exclusive Mode for MPV - Extra Smoothness

2022 December - Fullscreen Exclusive mode is no longer working in Windows 11 (Beta)

fullscreen=yes
ontop

If anyone knows of a workaround, please advise.

Easiest way to test, is if you have a keyboard with a volume knob. Increase and decrease the Windows Volume, and the volume bar overlay from windows can be seen on top of the player.

When the player runs in true Fullscreen Exclusive mode, the volume bar is hidden and cannot be seen (as only the player is being rendered).

That extra level of smoothness that comes with exclusive full-screen is gone. Not sure when this change happened with Windows. But as of right now I cannot find a solution.

Disabling Fullscreen Optimizations for MPV and via registry did not help either.

Re: Full Screen Exclusive Mode for MPV - Extra Smoothness

fullscreen exclusive should die. 99% DX11 apps can work in flip model where borderless is not worse than exclusive

Re: Full Screen Exclusive Mode for MPV - Extra Smoothness

https://mpv.io/manual/master/#options-d … clusive-fs