RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Video Preview in EmulationStation

    Scheduled Pinned Locked Moved Ideas and Development
    emulationstatioraspberry pivideo
    552 Posts 46 Posters 659.6k 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.
    • N
      Nismo @FlyingTomahawk
      last edited by Nismo

      @FlyingTomahawk Ok here is the link: http://www.mediafire.com/file/1m2r65injc2gjmm/es-theme-futura-10px-with_video_support.zip

      For every system you need to edit theme.xml and replace:

      <view name="system, basic, detailed">
      

      with:

      <view name="system, basic, detailed, video">
      

      And also replace in theme.xml:

      <view name="detailed">
      

      with:

      <view name="detailed, video">
      

      For Futura.xml changes I recommend to you to compare your old file with the new one, just because a lot of changes...

      Enjoy.

      P.D: I'll stay here a few minutes so you can test and tell my how it works for you.

      FlyingTomahawkF 1 Reply Last reply Reply Quote 2
      • FlyingTomahawkF
        FlyingTomahawk @Nismo
        last edited by

        @Nismo

        Thank you very much for taking the time to look into this and getting it done. I will adjust the size and position later.

        So how does this video stuff work? What would happen if a video would be not available?

        1 Reply Last reply Reply Quote 0
        • FlyingTomahawkF
          FlyingTomahawk @Nismo
          last edited by FlyingTomahawk

          @Nismo

          I am at work, can't test anything right now. But I'll let you know how it goes.

          N 1 Reply Last reply Reply Quote 0
          • N
            Nismo @FlyingTomahawk
            last edited by Nismo

            @FlyingTomahawk Ok no problem, here it's time to go to bed (1:10 AM), just try it when you can and comment, for me it's working.

            Regards.

            mattrixkM FlyingTomahawkF 2 Replies Last reply Reply Quote 0
            • mattrixkM
              mattrixk @Nismo
              last edited by

              Sounds like @FlyingTomahawk will be getting home from work just as @Nismo is waking up, so it kinda works out anyway :D

              My ES themes: MetaPixel | Spare | Io | Indent

              1 Reply Last reply Reply Quote 3
              • FlyingTomahawkF
                FlyingTomahawk @Nismo
                last edited by FlyingTomahawk

                @Nismo

                I had a quick look at your changes and now I see what went wrong on my attempt. I did not add the video view inside the main xml file (futura.xml)
                I think I can improve the code a bit more and evtl. update the theme with this new feature.
                I am at the vet right now but will test it asap.
                Thanks again for the quick help.

                N 1 Reply Last reply Reply Quote 1
                • N
                  Nismo @FlyingTomahawk
                  last edited by

                  @FlyingTomahawk No problem.

                  FlyingTomahawkF 1 Reply Last reply Reply Quote 0
                  • FlyingTomahawkF
                    FlyingTomahawk @Nismo
                    last edited by FlyingTomahawk

                    @Nismo

                    Just tested it and it works like a charm! Fantastic work!
                    Now I have to fine tune it and add a nice marquee over the video (bottom-right).

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      Nismo @FlyingTomahawk
                      last edited by Nismo

                      @FlyingTomahawk I'm glad to help, maybe you can use the f_basic_10px.png instead of f_detailed_10px.png for detailed and video view and place the marquees on top left, and place the logo on top center... you are the theme developer so you decide, it's just an idea...

                      FlyingTomahawkF 1 Reply Last reply Reply Quote 0
                      • FlyingTomahawkF
                        FlyingTomahawk @Nismo
                        last edited by

                        @Nismo

                        I am sure it has been answered somewhere already but going through 400+ pages....
                        Is there a ES version for windows that supports that video stuff so that I'll be able to test it on my PC?
                        I moved some code pieces yesterday and things started to break and testing on a Pi is a bit of a pain.

                        mattrixkM N daeksD 3 Replies Last reply Reply Quote 0
                        • mattrixkM
                          mattrixk @FlyingTomahawk
                          last edited by

                          @FlyingTomahawk Here you go.

                          My ES themes: MetaPixel | Spare | Io | Indent

                          FlyingTomahawkF 1 Reply Last reply Reply Quote 2
                          • FlyingTomahawkF
                            FlyingTomahawk @mattrixk
                            last edited by FlyingTomahawk

                            @mattrixk

                            Thank you! "thumbup"

                            1 Reply Last reply Reply Quote 0
                            • N
                              Nismo @FlyingTomahawk
                              last edited by Nismo

                              @FlyingTomahawk Here you have the windows version I use: https://github.com/fieldofcows/EmulationStation/releases/tag/v0.1-beta.7

                              Ups too late...

                              FlyingTomahawkF 1 Reply Last reply Reply Quote 1
                              • daeksD
                                daeks @FlyingTomahawk
                                last edited by daeks

                                @FlyingTomahawk said in Video Preview in EmulationStation:

                                @Nismo

                                I am sure it has been answered somewhere already but going through 400+ pages....

                                @herb_fargus offtopic: Might it be an idea to restructure the Ideas and Development Forum a bit? That would make it much easier to find relevant threads for specific topics.

                                • Ideas / Requests
                                • Development
                                  • EmulationStation
                                  • Third Party Tools
                                  • Themes
                                  • etc.
                                1 Reply Last reply Reply Quote 5
                                • FlyingTomahawkF
                                  FlyingTomahawk @Nismo
                                  last edited by FlyingTomahawk

                                  @Nismo

                                  I was finally able to setup the whole video ES stuff on my Windows PC. Lot more comfortable to work now.

                                  Is there a way to keep the videos original aspect ration?
                                  For example; I have videos of vertical shoot em up games and regular fighting game videos. If I adjust the video code to match the fighting games the vertical shooter videos get stretched.
                                  Is there a way to avoid that?

                                  J N 2 Replies Last reply Reply Quote 0
                                  • J
                                    jdrassa @FlyingTomahawk
                                    last edited by

                                    @FlyingTomahawk currently there is not. I am working on adding maxSize support to videos and hopefully will be submitting it soon.

                                    Get latest build of EmulationStation for Windows here

                                    1 Reply Last reply Reply Quote 3
                                    • N
                                      Nismo @FlyingTomahawk
                                      last edited by

                                      @FlyingTomahawk Like @jdrassa said, there is no way to keep the AR at this moment.

                                      Once maxSize has been implemented, you will only have to change "size" with "maxSize".

                                      Of course this will not work on the experimental windows version we are using, I hope it's not too difficult to compile a new windows version with all the new commits coming...

                                      mattrixkM * 2 Replies Last reply Reply Quote 1
                                      • mattrixkM
                                        mattrixk @Nismo
                                        last edited by

                                        @Nismo said in Video Preview in EmulationStation:

                                        I hope it's not too difficult to compile a new windows version with all the new commits coming

                                        I'm hoping someone who knows how to do this will be nice enough to do it for us :D

                                        My ES themes: MetaPixel | Spare | Io | Indent

                                        1 Reply Last reply Reply Quote 2
                                        • FlyingTomahawkF
                                          FlyingTomahawk
                                          last edited by FlyingTomahawk

                                          When looking at the main xml file of any theme the all add the "extra="true" code to the background which again is mostly used by all views.

                                          <view name="system, basic, detailed">
                                          

                                          What is the reason for adding that "extra=true" code? And what would happen if it would be removed?

                                          Yeah, I know why not try it and see what happens right? Well, it is 8:39am and I'm at work and can't test anything right now. But my head still can't stop running and thinking what happens if...

                                          The reason I ask is the extra thing puts the video behind the background if I use this.

                                          <view name="system, basic, detailed, video">
                                          
                                          mattrixkM 1 Reply Last reply Reply Quote 0
                                          • mattrixkM
                                            mattrixk @FlyingTomahawk
                                            last edited by

                                            @FlyingTomahawk I'm not sure of the specifics, but it basically works like this:

                                            You need to add the extra="true" to any extra element you add that isn't part of ES by default (like "logo", "md_image", "gamelist", etc), which would include any background images. On the normal Views (System, Basic and Detailed), if you used <image name="background">, nothing would show up until you added extra="true" to make it <image name="background" extra="true">.

                                            Now the way Video View is made, <image name="background"> has been set as a new default element (the same as <image name="logo">), so it no longer needs extra="true" to make it work. It also has it's default z-index set to be the very bottom, so everything else sits on top of it. If you add extra="true", it changes the z-index to be that of every other extra="true" element, which is above the video.

                                            I hope I've explained it properly, but feel free to correct me if I have something wrong.

                                            My ES themes: MetaPixel | Spare | Io | Indent

                                            FlyingTomahawkF J 2 Replies Last reply Reply Quote 2
                                            • 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.