Splash Video Audio and Game Snap Audio playing at same time
-
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 -
bump :-)
-
Still haven't been able to figure anything out
-
@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 withvlc
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
-
@sleve_mcdichael Thanks for the suggestions! I will give it a try.
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.