UltraStar-Deluxe / USDX

The free and open source karaoke singing game UltraStar Deluxe, inspired by Sony SingStarâ„¢
https://usdx.eu
GNU General Public License v2.0
832 stars 160 forks source link

Make looping videos. #486

Closed vigliensoni closed 4 years ago

vigliensoni commented 4 years ago

Hi Nice People,

I use USDX with very short video loops instead of the original videos. Long-time ago, the videos looped automatically but now they aren't looped when they reach the end. As a result, I end up with a still image for the rest of the song as soon as I get to the end of the loop.

I am new to the USDX codebase and so could you please point me to the controller or pieces of code that I need to take a look so that I can fix this and make a pull request?

Thank you.

s09bQ5 commented 4 years ago

It does not look like looping the video during a song was intended behavior. Try fCurrentVideo.Loop := true in TScreenSingController.LoadNextSong.

If your video is very short, you might be interested in porting patch 2 from https://sourceforge.net/p/ultrastardx/patches/53/ .

basisbit commented 4 years ago

please use some video editing software to cut some video files as desired and save them in the songs folder. We'd like to mitigate feature creep and thus do not include every feature request into the game. Sorry.