VXAce Does the program have issues playing long videos?

I can't be the only person who had troubles with the "Play video" feature on VX Ace, am I?

I'm an ambitious duck, so I planned my game to have a few video cutscenes. Thing is, I think the program doesn't want users to play videos that are longer than three minutes.

(This is a mostly blank project where I test a few scripts.)

As you can see, the visual quality of the video has been reduced for the sake of the conversion time not lasting an eternity. I also had to adjust the video file on Movavi to be not too fast or slow.

My big issue is that the program clearly skips parts of the video, with over one minute of the clip being skipped and the visuals moving way too fast compared to the audio, which is at normal speed.

What can I do to fix that? Is it even possible to play a 3-minute long video on VX Ace without such issues?
It's hard to determine what is caused by VX Ace and what is an encoding problem either from the file or screen capture you are using.

The random skipping seems more of an encoding issue.
I'm not sure what tools you used (I am not familiar with movavi) but I recommend using HandBrake for encoding/re-encoding.

Just to be sure, did you check the output file before using it in Ace? Like, just watching the video in a video player to make sure it's not the video file itself that is messed up.



I'm not personally familiar with any video limitations within Ace - but I don't use Ace - however, there are a lot of factors that could be contributing to this problem beyond just a limitation in Ace.
Most likely this is a problem of the codec used.
I never heard of any problem with the length of any video in VXAce, only about requests for better player functions like pause or rewind etc. (for which there are a few scripts) or with codec problems.

The problem with the codec is that VXA is a rather old program and as all such programs has problems reading the data from some of the more modern codecs out there - codecs which were developed to create smaller files but require more calculating power for decoding the video file.

I strongly suggest using some older and more standard codecs instead of the latest and improved ones.
Probably an encoding issue.
Perhaps it's a codec issue with DirectX, which no longer receives updates. It would probably work fine on older versions of Windows.

A similar problem occurs in RM2K3 when using the DirectX renderer, but instead of trying to load the video buffer gradually, which ends up generating this lag, it loads everything, freezing the game for a few seconds, which is annoying for the player. However, in this case, it doesn't use the OGV/OGG format but rather AVI and MPEG, the same happens with the BGM in MP3 format.

I haven't tested it on GDI since it received support.

In short, I don't recommend using videos, but if it's important for the project, see if it's possible to convert the video back into an encoder using VLC.



EDITED:
I downloaded the same video in several formats, each with 4 different resolutions, and created a menu with "Show Choices" and "Label/Jump Label" to list all the possibilities... Only the OGG/OGV format worked; the others were either ignored by the player as if the file were empty, or the Game.exe file crashed and closed a few seconds later without returning an error.

I tested it on Windows 11, with 8GB of RAM and a 3.5GHz (i5) processor. The resolutions 480x270, 640x480, and 1280x720 ran without any freezing, however, the 1920x1080 resolution loses a few frames. If you've tested it at various resolutions and the problem persists, it might be something with the audio codec. Use VLC to convert the video, removing the sound, or some other software of your preference.

Original thread: https://forums.rpgmakerweb.com/threads/does-the-program-have-issues-playing-long-videos.183092/