So... I basically have a short vid in my new game I utilize when entering and exiting the dungeon area... and for some reason, at random during playtesting the vid will just... freeze out of nowhere.
Want to see about fixing this before a wider release so it dosen't become an issue for players down the line. Any idea why this is happening and how to fix it?
several possibilities, and we can't even guess without more info.
It could be that it is not the video but the event that freezes in the wrong moment, so a screenshot of the full event with the video command is needed to check that.
Or it could be a problem with the codec used to encode the video - if that is one of the more extreme ones then the computer might have problems decoding. A lot of people experiment with codecs to reduce the filesize of videos, but on older systems that are missing the newer or more experimental codecs that can cause problems. In that case, try to convert the video with a different codec setting.
and third point is if something in the folderpath or background programs messes up the browser access to the files. Please post the full folderpath to your file (from drive letter on) to check that part.
So you're playing a video when transitioning between areas, i.e. starting a video and soon after making a transfer? When transferring between maps, everything related to the previous map is unloaded - I guess potentially including the rest of the video. You'd probably need to wait until it's finished before starting a transfer to make sure that doesn't happen.
yes, it is most likely a timing issue with the transfer, especially as you made other mistakes with it.
The transfer command should always be the last command in any event, if that transfer goes to a new map. And that is exactly because of the issue already mentioned above: on leaving the map, all parts of the map gets deleted - even the transfer command.
Now often some commands after the transfer work - but that depends completely on which commands that are and how the command is structured. And the rules are a bit complex, so it's easier to assume that every command after the map transfer gets deleted.
You should rework your transfers so that either the transfer is the last command, or that everything needed after the transfer is in a second event on the new map.
And as far as the play movie goes: in such cases it's better to follow the play movie with enough waits to guarantee that it is complete before continuing with the transfer.
I'm having a very similar problem using MV.
I installed the plugin that fixes screen freezing due to a refresh rate bug (Hz). And so far, so good, because it was happening to me.
The problem is that in the past, I've had a video freeze after the first second. I thought it was due to the bug I mentioned above. However, much later in my project, I encountered this freeze again. I couldn't find the cause anywhere, not even on the console. In some important parts, I create OVAs, draw, and so on. Another point is that I'm using MV, and this version (mine at least) doesn't support MP4, so I'm using WEBM.
The biggest problem, besides the freeze, is progression, in my opinion. If it freezes, the player is forced to perform a hard reset. I tried following the tips above and even set aside a single map to play the cutscene, but it didn't solve the problem.
Although I don't know the cause of this problem, I found only one solution for my case. If this happens to you, try doing the same.
Create a save point before playing your video. If it freezes in the first second, at least the player won't have to retrace their steps to get there.
I hope this helps in the future.