-
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
Repeated values for video-rotate with cycle #2647
Comments
I think the best you can do is
the only problem is that the if you rotate left first it will go to 0 |
Yes, this is how it works. While rotating through |
I just wonder why "0" and "360" exists in the list when I do "cycle". |
I mean, shouldn't the accepted range be 1-359 instead of 0-360 anyway? 0 and 360 will just be no-op and make no sense. [tom@localhost ~]$ mpv --video-rotate=361 Exiting... (Fatal error) |
|
It's indeed completely useless. Pointed out in #2647.
@wm4 I agree that cycling through video-rotate shouldn't be special-cased. That would feel like a dirty hack. And the method by @kevmitch with cycling specific values has its own big drawbacks (try rotating left the first thing you do when you open a video). Might as well just solve this rotate clockwise/counter-clockwise situation via Lua, like I did here: Edit: I've now published this and a few other scripts on the wiki: https://github.com/mpv-player/mpv/wiki/User-Scripts
|
Alt+RIGHT cycle video-rotate 90
Alt+LEFT cycle video-rotate -90
If I add the above lines to input.conf, I can cycle-rotate the output in either direction. However, there are three values for an unrotated output: no, 0, 360. So I'll have to press the keys repeatedly to "get out" from the unrotated state.
The text was updated successfully, but these errors were encountered: