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

    Video Screensaver in Emulation Station

    Scheduled Pinned Locked Moved Ideas and Development
    emulationstationvideoscreensaver
    75 Posts 20 Posters 37.4k 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.
    • DominusD
      Dominus
      last edited by Dominus

      @fieldofcows Does this still work with 4.2, and is it the same way to setup?

      1 Reply Last reply Reply Quote 0
      • DominusD
        Dominus
        last edited by

        Any news on this??

        1 Reply Last reply Reply Quote 0
        • SuperFromNDS
          SuperFromND
          last edited by

          Is there any way to set it to ONLY use a specific video file, instead of having to use one from a gamelist?

          ▲▼▲▼▲▼▲▼▲▼
          IKEMEN Go
          SRB2Kart
          ▼▲▼▲▼▲▼▲▼▲

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

            @SuperCatFooz Not in the current implementation, no.

            SuperFromNDS 1 Reply Last reply Reply Quote 0
            • SuperFromNDS
              SuperFromND @pjft
              last edited by

              @pjft Aw, man. I was thinking of making a ton of dummy "system" folders and linking to a video file to try and trick the random video selector to picking out the video as a screensaver.

              ▲▼▲▼▲▼▲▼▲▼
              IKEMEN Go
              SRB2Kart
              ▼▲▼▲▼▲▼▲▼▲

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

                @SuperCatFooz do you currently have videos in your gamelist, though? I thought you had videos, but still wanted to use a specific one for the screensaver. From your last comment it seems you may not have videos and just wanted to add one or two for the screensaver, is that it?

                Let me know and I'll get back to you tomorrow after looking at the code.

                SuperFromNDS 1 Reply Last reply Reply Quote 1
                • SuperFromNDS
                  SuperFromND @pjft
                  last edited by

                  @pjft Yeah, apart from my boot splash I have no videos because my curent favorite theme (Pixel-Metadata) doesn't really support them yet.

                  ▲▼▲▼▲▼▲▼▲▼
                  IKEMEN Go
                  SRB2Kart
                  ▼▲▼▲▼▲▼▲▼▲

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

                    @SuperCatFooz got it.

                    In that case definitely try to create a dummy ROM or system with a video in the metadata.

                    See how it goes. I know it counts the number of video tags it finds to determine how many videos to randomize over.

                    I don't have the code at the moment though (on my phone) so I'm not fully sure how the iteration goes afterwards, but it should work in principle.

                    Let me know.

                    The key thing is for that system to have a gamelist with a game with the video tag.

                    Also, be mindful of the player you're using and the video resolution. I'm partial to OMX Player, so see if that is selected for the screensaver:)

                    SuperFromNDS 1 Reply Last reply Reply Quote 0
                    • SuperFromNDS
                      SuperFromND @pjft
                      last edited by

                      @pjft Yeah, unfortunately it didn't seem to work. :(

                      ▲▼▲▼▲▼▲▼▲▼
                      IKEMEN Go
                      SRB2Kart
                      ▼▲▼▲▼▲▼▲▼▲

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

                        @SuperCatFooz even though I had some hope, I can't say I'm surprised :)

                        How many videos did you use, out of curiosity?

                        Also, I do those systems show up in EmulationStation? Could you check whether that video actually plays in the gamelist view, just to check whether the tag is actually correct? You may need to use a theme that supports video for the test, if yours doesn't.

                        Let me know.

                        SuperFromNDS 1 Reply Last reply Reply Quote 0
                        • SuperFromNDS
                          SuperFromND @pjft
                          last edited by

                          @pjft I tried making a new folder in EmulationStation's gamelist folder simply titled "dummy", then proceeded to have the gamelist be filled with 1024 entries of the same dummy ROM file (which for me, was /home/pi/RetroPie/roms/dummy/dummyfile.test) with the video attached. It didn't pick the video file that was attached, so I'm assuming it only scans for systems that are actually attached to a listed system in es_systems.cfg.

                          However, I did find a solution: By adding the video line to RetroPie's gamelist.xml and forcing ES to show detailed view only, I did manage to get the video to show only as a screensaver, while also preventing any kind of visible "dummy" entry.

                          ▲▼▲▼▲▼▲▼▲▼
                          IKEMEN Go
                          SRB2Kart
                          ▼▲▼▲▼▲▼▲▼▲

                          pjftP DRBD 2 Replies Last reply Reply Quote 1
                          • pjftP
                            pjft @SuperFromND
                            last edited by

                            @SuperCatFooz correct. The video needs to be associated with a gamelist that's loaded in EmulationStation.

                            Glad you sorted that one out!

                            Are you using OMX Player? All good?

                            I'd disable screensaver controls in order to prevent attempting to launch it by mistake by pressing start from the screensaver:)

                            SuperFromNDS lilbudL 2 Replies Last reply Reply Quote 1
                            • SuperFromNDS
                              SuperFromND @pjft
                              last edited by

                              @pjft Yeah, I'm all good. :)

                              ▲▼▲▼▲▼▲▼▲▼
                              IKEMEN Go
                              SRB2Kart
                              ▼▲▼▲▼▲▼▲▼▲

                              1 Reply Last reply Reply Quote 2
                              • lilbudL
                                lilbud @pjft
                                last edited by

                                @pjft Is there a way to change the length that the video plays?

                                Like, I have a 3 minute video, is there a way for the whole video to play? Cause it stops after 30sec and repeats

                                Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

                                Backlog: http://backloggery.com/lilbud

                                pjftP 2 Replies Last reply Reply Quote 1
                                • pjftP
                                  pjft @lilbud
                                  last edited by

                                  @lilbud that sounds like a fair request. I can add it to my never ending list of things to tweak and fix, and I'll see how hard it is.

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

                                    @lilbud I was looking at the code, and unfortunately it doesn't seem to be that trivial to get the info on when the video actually finishes at the moment.

                                    The simplest I could do is to allow for a slider to customize the time at which the video moves on to the next one, so that It's not only 30 secs.

                                    I know it's not ideal, but would that be a reasonable compromise?

                                    mattrixkM lilbudL fellegF 3 Replies Last reply Reply Quote 0
                                    • mattrixkM
                                      mattrixk @pjft
                                      last edited by

                                      @pjft I have no stake in this as I don't use the setting, but this came to mind:

                                      customize the time at which the video moves on to the next one

                                      What would happen if you set it to (eg) 60 seconds, but the video was only 40 seconds? Would something break, or would it just reach the end of the 40 second video and move onto the next one?

                                      I'm guessing you've already thought about this /figured it out, but I wanted to bring it up in case you hadn't.

                                      My ES themes: MetaPixel | Spare | Io | Indent

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

                                        @mattrixk no, it's a good point.

                                        At the moment, precisely because videos come in different lengths and such (and the goal was to showcase the different games in the system) it will play a random video for 30 secs and then move on to the next.

                                        If it's longer it gets truncated. If it's smaller it loops, restarting until it gets to 30 secs of total play time.

                                        It's not that it's impossible to make it detect the end of the video (I hate thinking anything is impossible from a technical standpoint, when we live at an age where we have self driving cars) but it certainly isn't trivial with the current architecture and video players, and truth be told the return vs the effort to make it work like that with the rewrites it would require doesn't seem to be worth it for me at this stage.

                                        That's the honest answer in the short term :)

                                        mattrixkM 1 Reply Last reply Reply Quote 1
                                        • mattrixkM
                                          mattrixk @pjft
                                          last edited by

                                          @pjft I figured you would have already found a solution, and the looping is a good one.

                                          My ES themes: MetaPixel | Spare | Io | Indent

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

                                            @mattrixk To his credit, this was the way @fieldofcows implemented it :) I had no say in it, but it certainly is a one-size-fits-all approach that works great for what it was designed for.

                                            I'll keep this request on my to-do list, but in the short term the most I could commit to (i.e. a solution that I know that works) would be the slider to control the video swap time.

                                            1 Reply 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.