Recalbox Forum

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

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

    Recalbox geral
    como posso colocar efeito fade
    2
    2
    110
    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

      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!

      1 Reply Last reply Reply Quote 0
      • Zing
        Zing Global moderator Translator last edited by

        Acredito que esse efeito foi removido intencionalmente, acho mais fácil você editar os vídeos do que tentar editar o script.

        Se a minha resposta foi útil, por favor, dê um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
        If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

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

        Want to support us ?

        87
        Online

        90.3k
        Users

        26.3k
        Topics

        181.7k
        Posts

        Copyright © 2021 recalbox.com