Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord
    1. Home
    2. AlexORocha
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    AlexORocha

    @AlexORocha

    0
    Reputation
    3
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    AlexORocha Unfollow Follow

    Latest posts made by AlexORocha

    • Como posso colocar o efeito de Fade Out no vídeo da introdução?

      Olá!

      Preciso de ajuda, nas versões antigas do Recalbox eu conseguia programar o efeito de "Fade out" tanto para o vídeo quanto para o áudio no arquivo S02Splash, dado pelo código:

      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
      

      Agora nas versão 6.1 , no arquivo S03Splash, como posso adicionar este efeito? Já tentei copiar e colocar o código porém nada acontece.

      Obrigado!

      posted in Recalbox geral
      AlexORocha
      AlexORocha
    • [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.

      posted in Themes & Interface
      AlexORocha
      AlexORocha