I am currently using Ubuntu 19.10 with the unity DE and I always use mpv to play videos in Ubuntu. As mpv has few GUI options, there is no GUI option to rotate a video, but we can rotate it with the help of the command line. For example, we can rotate a video by 90 degrees using the command below:
mpv --video-rotate=90 /home/guest/new_vdo.mp4
This way (using the terminal) however, I have to type the command every time I want to rotate the video.
How can we create a keyboard shortcut to rotate a video which is currently playing in mpv?