RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Game Launching Video Loading Screen Timing Issues

    Scheduled Pinned Locked Moved Help and Support
    developmentload videostech helpretropie config
    3 Posts 2 Posters 606 Views
    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.
    • G
      Grumbles
      last edited by Grumbles

      Hi everyone,

      I'm currently configuring "game launching video loading screens" (i.e. videos that will play after a game has been launched, to cover up the ugly text screen that appears). I understand it's easy to get a static image during this load time, but I'd prefer a nice video if I can make it work. For reference, I'm using the methods discussed in this forum thread.

      I'm running into some issues though on the timing of the videos:

      Issue #1: The loading video plays, but then the game doesn't start loading until after the loading video completes (and you end up seeing the text loading screen anyways).

      To combat issue #1, I've found the advice to add an ampersand after the omwplayer shell commands, like the following:

      omxplayer "$ifsystem" > /dev/null 2>&1 &

      The & makes it so the game starts loading concurrently while the video plays (loading in the background). This leads to another issue though:

      Issue #2: The loading video has a set duration. If the game loads too quickly, it starts up while the video is still playing (and you hear sounds from both the video and the game starting up).

      Does anyone have any suggestions to fix this?

      I'm looking to do something like one of the two following, or a better idea if someone has a better fix:

      Idea #1 (Ideal): If the game loads and is ready to start, it pauses the process and doesn't actually start the game until the video is done playing.

      Idea #2 (Acceptable): If the game loads, the loading video ends early.

      Any help or ideas on this is greatly appreciated! Thanks!

      mituM 1 Reply Last reply Reply Quote 0
      • mituM mitu moved this topic from Ideas and Development on
      • mituM
        mitu Global Moderator @Grumbles
        last edited by

        @grumbles said in Game Launching Video Loading Screen Timing Issues:

        Idea #1 (Ideal): If the game loads and is ready to start, it pauses the process and doesn't actually start the game until the video is done playing.
        Idea #2 (Acceptable): If the game loads, the loading video ends early.

        Neither of the above are possible, since the video player and emulator are started independently and don't have any support for signalling each other to stop.

        If you don't want to wait until the video stops (i.e. no & for the omxplayer command), you can either add a max play time for the video or shorten the videos.

        G 1 Reply Last reply Reply Quote 0
        • G
          Grumbles @mitu
          last edited by

          @mitu Ah dang, that's too bad. Thanks for the response.

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

          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.