Is there any way to rotate video in OMXplayer? Im using the official 7inch screen in portrait mode (see the picture)
, but I wanted to play in landscape mode. Adding the Code: Select all
--orientation 90
Thank you for your help.
, but I wanted to play in landscape mode. Adding the Code: Select all
--orientation 90

Yes, omxplayerGUI takes it coordinates from desktop and that won't change. But is also supports a mode without a GUI and if you use that (create a matching preset) you could run the rotated video (full screen only). Start with the nogui preset and add "--orientation n" option.6by9 wrote:That's going to be the fault of the omxplayerGUI that you're wrapping omxplayer with.
It will have specified an x and y offset, and width and height that the image is to be rendered in to, and it's not modified that area based on the rotation. The GPU therefore does what it is told and renders the image into the defined area, but it has to stretch it to do so.
Without tracking down the source to the GUI you won't be able to resolve the issue, but it is just a couple of parameters to the display region that is wrong. omxplayer from the command line may do the correct thing for you by default.
Code: Select all
--orientation 90
--aspect-mode stretch
. And lower resolution video: