Splashscreen video sound output
-
Hi,
im going to skip the usual spec stuff as it doesnt apply here. I just want to ask if its possible to somehow make the sound output of omxplayer in asplashscreen.sh optional? Or is there a way to make an edit permanent?
Everytime i update retropie-setup i have to edit the omxplayer line from -o both to -o hdmi.
(Reason is that analog sound output of omxplayer doesnt work well with my fading led gpio stuff using softpwm.)
Thanks!
-
@analoghero omxplayer is just a script wrapper around omxplayer.bin, so you can modify it in
/usr/bin/omxplayer
and insert/remove any arguments you like. -
@mitu Ok. Thanks. But if asplashscreen.sh is calling omxplayer with
-o both
how do i modify the omxplayer script to bybass this? -
@analoghero Around line 67 there's the command
LD_LIBRARY_PATH="$OMXPLAYER_LIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" $OMXPLAYER_BIN "$@"
the
"$@"
contains the list of parametes used whenomxplayer
is run (including-o hdmi
), so you can just replace it with your parameters as you see fit.
Make sure you make a backup of the script, so in case something goes wrong you can start again with the default script. -
@mitu Thanks. It works now.
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.