I am currently using the mpv media player in Kubuntu 21.04. To rotate the video by keyboard, I edited the ~/.config/mpv/input.conf file and added:
r cycle_values video-rotate 90 180 270 0
Now, whenever I play a video with mpv and press r, the video will be rotated by 90 degrees, as shown in the image below:
However, this also changes the aspect ratio after rotating by some degrees.
You can see the default image of this video without any rotation at this time below:
There was no issue when I was using mpv before in elementary OS.
This issue came up when I started using Kubuntu.
How can I solve this problem?
~/.config/mpv/mpv.confand~/.config/mpv/input.conffiles? – BeastOfCaerbannog Sep 12 '21 at 08:03mpv.confinside~/.config/mpv/. I only haveinput.confand the content of input.conf isr cycle_values video-rotate 90 180 270 0– Abhishek Kamal Sep 12 '21 at 09:56geometryandautofit-largeroptions of mpv, that could perhaps help. For exampe, I have added in mympv.confthe following (in separate lines):geometry=50%:50%andautofit-larger=50%x50%. – BeastOfCaerbannog Sep 12 '21 at 10:31