Splash screen no audio.
Is that where I would have downloaded the file?
Yes, the location on the Pi where the video file is located, you either downloaded it directly there or copied it from your PC/USB stick.
@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 command
note the filename and then run
filename.mp4with 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
omxplayerwhich audio device to use, so run the command like
omxplayer -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.
omxplayercan be directed to the correct audio device with the
-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 -lto 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 of
omxplayer -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!