mpv_scripts icon indicating copy to clipboard operation
mpv_scripts copied to clipboard

Monitor mode preffers don't work (72/96). Order doesn't matter.

Open AjvarXX opened this issue 5 years ago • 1 comments

Note: If you want a rate to be prefered over another, for example the video is 24hz and your rates are "100;120;144", but you want 144hz instead of 120hz for 24fps videos, change the order to autospeed-rates="100;144;120", then 144hz will take precendence over 120hz.

Are we sure it works? Because mpv doesn't care to use 96Hz and always uses 72Hz if both are listed. 96Hz mode switches only when 72 is missing in the command. Same goes for 50>96/104 where it always uses 96. script-opts=autospeed-nircmd=true,autospeed-speed=false,autospeed-nircmdc="C:\Users\JamesD\AppData\Roaming\mpv\nircmdc.exe",autospeed-rates="96;60;72;104",autospeed-osd=true video-sync=display-resample video-sync-max-video-change=5

AjvarXX avatar Mar 17 '19 07:03 AjvarXX

I haven't used this in a while, but looking at it real quick, maybe the issue is after the rate is found it's not breaking the loop (EDIT: I mean in the if / elseif, the else does break): https://github.com/kevinlekiller/mpv_scripts/blob/master/autospeedwin/autospeedwin.lua#L224

kevinlekiller avatar Mar 26 '19 18:03 kevinlekiller