{"action":"created","issue":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/552","labels_url":"https://api.github.com/repos/mpv-player/mpv/issues/552/labels{/name}","comments_url":"https://api.github.com/repos/mpv-player/mpv/issues/552/comments","events_url":"https://api.github.com/repos/mpv-player/mpv/issues/552/events","html_url":"https://github.com/mpv-player/mpv/issues/552","id":27643384,"number":552,"title":"Implement changing refresh rates based on the video's framerate","user":{"login":"Dudemanguy911","id":5105515,"avatar_url":"https://avatars.githubusercontent.com/u/5105515?v=3","gravatar_id":"","url":"https://api.github.com/users/Dudemanguy911","html_url":"https://github.com/Dudemanguy911","followers_url":"https://api.github.com/users/Dudemanguy911/followers","following_url":"https://api.github.com/users/Dudemanguy911/following{/other_user}","gists_url":"https://api.github.com/users/Dudemanguy911/gists{/gist_id}","starred_url":"https://api.github.com/users/Dudemanguy911/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dudemanguy911/subscriptions","organizations_url":"https://api.github.com/users/Dudemanguy911/orgs","repos_url":"https://api.github.com/users/Dudemanguy911/repos","events_url":"https://api.github.com/users/Dudemanguy911/events{/privacy}","received_events_url":"https://api.github.com/users/Dudemanguy911/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mpv-player/mpv/labels/feature%20request","name":"feature request","color":"84b6eb"},{"url":"https://api.github.com/repos/mpv-player/mpv/labels/low%20priority","name":"low priority","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-02-15T05:47:52Z","updated_at":"2015-11-14T19:12:01Z","closed_at":null,"body":"I think this would be a pretty neat thing to have. I'd imagine it'd be nice if mpv could read whatever the framerate of the video is (24p, 30p, whatever) and then use xrandr or something to detect the available refresh rates you have at that resolution and then automatically switch the monitor to the appropriate, integer-multiple rate. So say you have a 1920x1080 monitor with modelines that allow it to be at 60hz or 72hz. Playing a 30p video would switch it to 60hz and then playing a 24p video would switch it to 72hz."},"comment":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/comments/156734873","html_url":"https://github.com/mpv-player/mpv/issues/552#issuecomment-156734873","issue_url":"https://api.github.com/repos/mpv-player/mpv/issues/552","id":156734873,"user":{"login":"lvml","id":9969397,"avatar_url":"https://avatars.githubusercontent.com/u/9969397?v=3","gravatar_id":"","url":"https://api.github.com/users/lvml","html_url":"https://github.com/lvml","followers_url":"https://api.github.com/users/lvml/followers","following_url":"https://api.github.com/users/lvml/following{/other_user}","gists_url":"https://api.github.com/users/lvml/gists{/gist_id}","starred_url":"https://api.github.com/users/lvml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvml/subscriptions","organizations_url":"https://api.github.com/users/lvml/orgs","repos_url":"https://api.github.com/users/lvml/repos","events_url":"https://api.github.com/users/lvml/events{/privacy}","received_events_url":"https://api.github.com/users/lvml/received_events","type":"User","site_admin":false},"created_at":"2015-11-14T19:12:01Z","updated_at":"2015-11-14T19:12:01Z","body":"BTW: The above mentioned script https://github.com/lvml/mpv-plugin-xrandr just got the additional feature to switch back to the original rate when leaving mpv.\r\nAlas, using the external xrandr tool means we can learn about the refresh rate used before invoking mpv only with the \"rounded\" precision of the xrandr output."}}