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

    Splash Video Audio and Game Snap Audio playing at same time

    Scheduled Pinned Locked Moved Help and Support
    splash video
    5 Posts 2 Posters 265 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.
    • R
      randomguy75
      last edited by

      I have done some searching but having trouble finding my specific issue.

      I have a splash video that I modified for my arcade1up countercade build. It is a rather long video at 54 seconds, but hoping that there is a configuration that I am missing. Roughly half way through the splash video playing it appears that ES is already running so the audio for the first game's audio in the gamelist that is set for default plays at the same time. Is there a way to keep ES from loading until the splash video ends?

      I don't want to necessarily update my retropie as I don't want anything to break and it is a couple years old. This is the only problem that I am encountering.

      Raspberry Pi 4b
      Retropie 4.7.1
      Buster

      1 Reply Last reply Reply Quote 0
      • R
        randomguy75
        last edited by

        bump :-)

        1 Reply Last reply Reply Quote 0
        • R
          randomguy75
          last edited by

          Still haven't been able to figure anything out

          1 Reply Last reply Reply Quote 0
          • S
            sleve_mcdichael
            last edited by sleve_mcdichael

            @randomguy75 you can try add a wait to the autostart sh.

            File: /opt/retropie/configs/all/autostart.sh

            Find the line (it may be the only one):

            emulationstation #auto
            

            Before this, insert a sleep {n} command to wait {n} seconds, for example:

            sleep 12
            

            ..will wait 12 seconds.

            You'll just need to fine-tune this to the length of your video and however long the overlap might be.

            Alternatively, you can watch for the video to stop playing and start up ES immediately after it's done. This can be useful if you have more than one video, of different lengths:

            while pgrep omxplayer >/dev/null; do sleep 1; done
            

            ...this checks every 1 second to see if a process named omxplayer is running and repeats until it's not.

            ...it looks like they don't use omxplayer for splashscreen anymore since it's deprecated in the new OS version I think, so try it with vlc instead (edit: if yours is not updated though, so...just try one first I guess, and then the other):

            while pgrep vlc >/dev/null; do sleep 1; done
            
            R 1 Reply Last reply Reply Quote 0
            • R
              randomguy75 @sleve_mcdichael
              last edited by

              @sleve_mcdichael Thanks for the suggestions! I will give it a try.

              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.