Skip to content
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

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

Open
AjvarXX opened this issue Mar 17, 2019 · 1 comment
Open

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

AjvarXX opened this issue Mar 17, 2019 · 1 comment

Comments

@AjvarXX
Copy link

AjvarXX commented Mar 17, 2019

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

@kevinlekiller
Copy link
Owner

kevinlekiller commented Mar 26, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants