RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    OMX Player showing in portrait instead of landscape

    Scheduled Pinned Locked Moved Help and Support
    video snapsomxplayer
    25 Posts 3 Posters 2.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mituM
      mitu Global Moderator @AtTheArcade
      last edited by

      @AtTheArcade I have an idea about modifying the theme.

      Copy the theme folder from /etc/emulationstation/themes to /home/pi/.emulationstation/themes (the 2nd folder does not exist by default, just create it) using the File Manager from the RetroPie system in ES. Rename the folder and add a suffix to is (like back2basics-mod) so you're sure the name of the theme to select it in ES.

      Modify the theme.xml inside the new created theme folder and replace the maxsize node at line 225 and replace it with size so instead of

       <video name="md_video">
      	<origin>0.5 0.5</origin>
      	<pos>0.747 0.631</pos>
      	<maxSize>0.3292 0.4297</maxSize>
      	<delay>1</delay>
      	<showSnapshotNoVideo>true</showSnapshotNoVideo>
      	<showSnapshotDelay>true</showSnapshotDelay>
       </video>
      

      is

       <video name="md_video">
      	<origin>0.5 0.5</origin>
      	<pos>0.747 0.631</pos>
      	<size>0.3292 0.4297</size>
      	<delay>1</delay>
      	<showSnapshotNoVideo>true</showSnapshotNoVideo>
      	<showSnapshotDelay>true</showSnapshotDelay>
       </video>
      

      You can edit the file from the File Manager (press F2 when the file is selected) or use nano to edit it (nano <path to file>). If it's easier, you can edit the file from your PC over file shares, it should be in \\retropie\configs\all\emulationstation\themes\back2basics-mod.

      Restart Emulationstation, then select your new theme and see if anything is different for the video snaps.

      1 Reply Last reply Reply Quote 0
      • A
        AtTheArcade
        last edited by

        @mitu to the rescue again!

        That fixed my video snap problem! But it created an issue with boxart. Haha. Now the boxart is massive. Any ideas?

        mituM 1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @AtTheArcade
          last edited by

          @AtTheArcade said in OMX Player showing in portrait instead of landscape:

          Any ideas?

          I'm going to suggest adding both size and maxSize, but I bet that's going to make the videos look bad again.

          1 Reply Last reply Reply Quote 0
          • A
            AtTheArcade
            last edited by

            @mitu Like this? https://pastebin.com/6Ab4pxDU

            Sorry, I tried posting that as a code block but it was flagged as spam for some reason.

            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @AtTheArcade
              last edited by

              @AtTheArcade said in OMX Player showing in portrait instead of landscape:

              Like this? https://pastebin.com/6Ab4pxDU

              Yes, that's the idea.

              1 Reply Last reply Reply Quote 0
              • A
                AtTheArcade
                last edited by

                @mitu Tried that but nothing changed. Videos still look good but boxart is huge.

                1 Reply Last reply Reply Quote 0
                • A
                  AtTheArcade
                  last edited by

                  My workaround (not ideal by any means) was to download every piece of boxart I had on the build and resize it to fit the media window for this theme. It was exhausting but I think this build is a wrap now.

                  I am curious about how to go about rotating ES and the emulators themselves as opposed to rotating the whole screen through the config.txt file though. I clicked the link you originally posted on that @mitu but I didn't see where the solution was for that.

                  pjftP 1 Reply Last reply Reply Quote 0
                  • pjftP
                    pjft @AtTheArcade
                    last edited by

                    @AtTheArcade hi! Sorry for the delay here. I believe that in the Dev branch of EmulationStation there was some work on rotating omx player videos. Could you start with that and see if it works?

                    If not out of the box, you may be able to start the Dev EmulationStation in rotated mode as that may be the trick for the omx rotation to trigger.

                    Just a thought, though then maybe the emulators will be an issue...

                    1 Reply Last reply Reply Quote 0
                    • A
                      AtTheArcade
                      last edited by

                      @pjft I managed to figure out how to rotate just ES finally and I removed rotation from the config.txt. You're right, it does mess with the emulators but I imagine I can get that fixed since I'm using RetroArch for everything. The problem now is that (1) I have zero sound in ES now (no sound in video snaps or menu navigation) and (2) The videos are messed up again (this time they are stretched horizontally instead of vertically.

                      0_1542219109572_stretched.jpg

                      You mentioned rotating OMX videos but I think I really need to change the aspect mode. Either way, where would I access the config file or whatever I need to work on for that in the dev branch of ES which I now have installed? And any ideas as to why my sound no longer works in ES? It works in the emulators, background music, and intro videos.

                      mituM 1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator @AtTheArcade
                        last edited by

                        @AtTheArcade Open the ES config and choose the audio settings, set the output device to PCM and see if that fixes it. You can install the dev branch of Emulationstation from the RetroPie-Setup script, it's the emulationstatio-dev package located in the experimental packages section.

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          AtTheArcade @mitu
                          last edited by

                          @mitu I already am running the dev branch of ES. I installed that a couple of hours ago and that's when my audio issues and video issues came back.

                          What do you mean by ES config? I'm assuming you mean the start menu? If so, it was already set as PCM but when I exited that page I was kicked out of ES and taken back to the terminal for some reason. Looks like I have an issue somewhere?

                          1 Reply Last reply Reply Quote 0
                          • A
                            AtTheArcade
                            last edited by

                            For now I've decided to go back to the normal version of ES and rotate my screen through config.txt. Everything works that way with all the changes I made yesterday so I'm just going to leave well enough alone. I appreciate all the help today though!

                            pjftP 1 Reply Last reply Reply Quote 0
                            • pjftP
                              pjft @AtTheArcade
                              last edited by

                              @AtTheArcade you don't have audio and it crashes because the audio settings changed. You need to go to the settings (start menu), audio settings and you'll see an option that's empty, with just the arrows. You'll need to select something there.

                              I probably should look into a small upgrade path for that change.

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                              Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.