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 620.3k 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.
    • fieldofcowsF
      fieldofcows @giventofly
      last edited by

      @giventofly said in Video Preview in EmulationStation:

      tried emulationstation with --debug
      the most recent crash log: http://pastebin.com/cMtd1TgE

      Thanks for this. Unfortunately it doesn't give much of a clue.

      This info would be helpful:

      1. What were you doing when it crashed? Changing selection in gamelist? Launching a game?
      2. What video was it trying to render? What format? Dimensions?

      And anything else you can think of :)

      1 Reply Last reply Reply Quote 0
      • G
        giventofly @HurricaneFan
        last edited by

        @HurricaneFan an adapation based on the io theme.

        @fieldofcows all right, will do a more intense research :)

        It never crashed when lanching a game, is when i'm broswing the gamelist.

        but give me some time and i will give a more in depth report

        1 Reply Last reply Reply Quote 0
        • G
          giventofly
          last edited by

          @fieldofcows

          segmentation fault, going thru the gamelist, went 1 by one, then was comparing the differences in the play between these 2 and it gave a segmentation fault.

          media info: http://pastebin.com/RHjQFC6b and http://pastebin.com/CvFDhLNP

          segmentation fault going from image to a videosnap, video info: http://pastebin.com/xfBPbFLz

          segmentation fault watching video: http://pastebin.com/J355jj5b

          ES crashed (100% cpu usage) after midview this video: http://pastebin.com/Gr4xN8SQ

          crashed when changing from one game to another: ES crash log: http://pastebin.com/5KGNJwHm
          video1: http://pastebin.com/Tk1JvTiw VIDEO2: http://pastebin.com/hqbfjiwP

          Tried after that to change between the two again, no problems.

          segmentation fault going from game to game when i watch a few seconds.

          *** stack smashing detected ***: /opt/retropie/supplementary/emulationstation/emulationstation terminated
          Aborted

          this just happened when going thru gamelist, when changed from games that were in the gamelist.xml and ones that were not.

          i'm not finding a pattern, but give me ways to give more info and i will

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

            Tried to implement this into my theme (Futura) and every time I add any video code it breaks the theme and it shows the system the way it would when the theme.xml is missing, white background with default layout. The video does show though and play just fine just the theme gets shot.
            I have the latest ES on my RPi 3 (v2.1.4RP), video and marquee tags are inside the gamelist files.
            Is there anything besides the theme.xml files that I have to amend to make this work? Do I have to add something inside the main xml file (futura.xml)?

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

              @FlyingTomahawk if you upload your theme to mediafire, mega or something like that, I can download it and take a look at it and fix what's wrong...

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

                @Nismo

                Thx!
                You can find my theme on github.
                https://github.com/FlyingTomahawk/es-theme-futura-10px
                If that doesn't work for you let me know and I'll upload it to mega.

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

                  @FlyingTomahawk it doesn't look like the video changes are on GitHub.

                  Get latest build of EmulationStation for Windows here

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

                    @FlyingTomahawk Video changes aren't implemented on that github fork, but don't worry, I'll do for you. Give me 30 min.

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

                      Ah I see, you guys wanted my edited theme files? Ha, silly me, sorry about that.
                      I didn't upload them on github. Github shows only a 100% working theme not experimental stuff.
                      If nismo doesn't beat me to it I'll upload my modified files to mega after I get back from work. (8:26am here)

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

                        @FlyingTomahawk I got it working right now, the problem is where to place marquees because they are on top of system logo.

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

                          @FlyingTomahawk Ok it's done, I placed the marquees out of the screen, then you can place it wherever you want.

                          I'm uploading the new theme and i'll post the changes in a few minutes.

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

                            @Nismo

                            You got it working?!
                            And the theme didn't break?
                            The video is showing there where the md_image usually would be?

                            The marquee should be on top of the video bottom-right. Similar to this image here.

                            alt text

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

                              @Nismo

                              Awesome! Getting all excited here. Why the hell do I have to be working today?!!
                              Please upload it to mega or paste the code in pastebin or similar.

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

                                @FlyingTomahawk Yes, it's working, I placed marquees out of screen to let you place it wherever you like. And yes, the video is the same size than md_image, but for my liking I prefer more width and less high.

                                FlyingTomahawkF 1 Reply Last reply Reply Quote 0
                                • 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
                                            • 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.