Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    [Recalbox 6.1+][Intro Videos] How can i put a Fade out in my intro video?

    Themes & Interface
    [recalbox 6.1][intro videos] put fade
    2
    2
    157
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AlexORocha
      AlexORocha last edited by

      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.

      OyyoDams 1 Reply Last reply Reply Quote 0
      • OyyoDams
        OyyoDams Staff @AlexORocha last edited by

        @AlexORocha please don't double post https://forum.recalbox.com/topic/20409/como-posso-colocar-o-efeito-de-fade-out-no-vídeo-da-introdução

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Want to support us ?

        84
        Online

        90.3k
        Users

        26.3k
        Topics

        181.8k
        Posts

        Copyright © 2021 recalbox.com