Splash screen no audio.
-
@mitu I used my PC and got the Mp4 file off a website and I connected through LAN so I used the IP from My PI and placed the Mp4 file into the splash screen folder.
-
@h3rmitpl4ys So the file should be in
/home/pi/RetroPie/splashscreens
. List the folder's contents with the commandls /home/pi/RetroPie/splashscreens/
note the filename and then run
omxplayer
withomxplayer /home/pi/RetroPie/splashscreens/filename.mp4
replacing
filename.mp4
with the actual name of the file. Do you get any audio ? -
Just tried it, It pops up and plays the splash screen but there is no audio.
-
@h3rmitpl4ys OK, so that's the command run at the beginning. You need to pass to tell
omxplayer
which audio device to use, so run the command likeomxplayer -o local /home/pi/RetroPie/splashscreens/filename.mp4
If you get audio, it means the USB soundcard is detected and working. Try to apply the advice in https://www.woltersadvertising.com/how-to-set-default-raspberry-pi-sound-output-to-usb-device-on-raspbian-jessie-and-retropie/ to change the default audio output from the built-in HDMI audio to the USB soundcard.
-
I'm still not getting audio even when adding the -o local. It's weird because I get audio when playing games and in the menu. yet I don't on the splash screen.
-
@h3rmitpl4ys
omxplayer
can be directed to the correct audio device with the-o
parameter-o --adev device Audio out device : e.g. hdmi/local/both/alsa[:device]
Check which Audio device you have set in Emulationstation and try to specify it in the command line to test if it work. Alternatively you can run
aplay -l
to see the available devices in the system to determine which one is the USB.
Once you find the right parameter value, then you can modify the splashscreen command and add it there also.
But have you checked the link I posted for making the USB soudcard the default ? -
@mitu I just did something by accident. I did the first command you told me to do but instead of local I changed it to asla. And what do you know I get sound! Now all I gotta do is figure out how to get the actual splashcreen working!
-
@h3rmitpl4ys The splashscreen is started from
/opt/retropie/supplementary/splashscreen/asplashscreen.sh
, you could edit the script and modify line 35 so instead ofomxplayer -o both
it's started with
omxplayer -o alsa
It's not the most elegant solution, but give it a try.
-
@mitu Thanks so much!! It finally works! I get sound when I boot it up!
-
@mitu I know you do not like to revive post but thanks for this help
-
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.