[Recalbox 6.1+][Intro Videos] How can i put a Fade out in my intro video?
-
Hello,
Someone can help me, i need to put the fade out effect in my intro video but it isn't working.
In olders versions i had in the S02Splash the:function stopPlayerWhenFrontendReady() {
Stop the video when ready
if [[ $? -eq 0 ]]; then # Wait for emulationstation or Kodi, but not more than 20 seconds count=0 while [[ ! -f "/tmp/emulationstation.ready" && ! -e "/var/run/kodi.msg" && $count -lt 20 ]]; do sleep 1 ((count++)) done # Finish with a one second fade out. sleep 40 audio_fade=1 video_fade=250 while [[ $video_fade -gt 0 ]]; do sleep .02 dbus-send --print-reply=literal --session --dest=org.mpris.MediaPlayer2.omxplayer /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Volume double:$audio_fade >/dev/null dbus-send --print-reply=literal --session --dest=org.mpris.MediaPlayer2.omxplayer /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.SetAlpha objpath:/not/used int64:$video_fade >/dev/null audio_fade=`echo "$audio_fade .02" | awk '{printf "%.2f", $1-$2}'` ((video_fade=video_fade-5)) done # Ready flag set or timeout occured; stop video process. dbus-send --print-reply=literal --session --dest=org.mpris.MediaPlayer2.omxplayer /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Action int32:15 >/dev/null fi
}
But now in the version 6.1 i have the S03splash without the fade out effect.
How can i fix it?
Thanks.
-