Custom Commands to rotate video to landscape?

Hi guys

Any ideas how to make a custom command to rotate a video 90 degrees?

Thanks in advance

You need to ask in Kodi forums first how to add a keymap that does that.

Then I can help converting to custom commands.