Solving the issue with the "Play Movie" command (COMPLETE)

I'm trying to get the "Play Movie" command to work but like everyone else who dares to use it, the game crashes within a half second of the video itself playing. I have not been able to find a proper solution to this problem on here or anywhere else on the internet which is frustrating considering how long this engine has been out and still this one feature seems to stick out like a sore thumb. What's strange is that this hasn't even always been an issue for me. It's only when I imported a new video to the project that's significantly longer than the rest (a 2 minute video among 3 other 10-20 second videos), and now whenever I play any video in game, they will all freeze the game with no indicators as to why in the debug or any way of checking in the editor.

I've seen people bringing up the way the videos are encoded being the issue, which could be the case, but then how does one properly encode a video for this to work? Is there a specific program everyone uses for these to work that I'm not aware of? Is there actually a simple solution to all this that I'm just missing? I wanna basically make this thread as a way to help myself and any others in the future that wish to use this in engine, plugin free command the way it was intended.

I can offer details about the video I'm trying to get to play like its properties and such if needed, anything to get it all to work. Thank you for reading.
I dont have issues on it, can you provide the event, and are the video
in the correct format that is supported?

maybe try to pre-load the video before using it can help, but it's
hard to pinpoint where the issue is without any screenshots or why
the game freezes though.

do you have any plugin regarding to video's?
All my videos are in the webm format which is the only format that I know of which works. If there's other formats it uses, I can try those.

My event is a fadeout screen command followed by waiting 60 frames and leading into the movie. I'm not sure how I can preload the video asset before it starts playing, so if you could walk me through it I would appreciate it and could try it out!

I have one plugin that involves videos called "LaunchScreenOpening" by MushroomCake28 which plays a movie before going to the title screen. Unlike the other videos that play in-game, this one won't freeze. If I turn off the plugin, the video sometimes works fine and other times it still freezes, so I think it's conflicting in some way, maybe we can try to find a solution there as well?
I dont have issues on it, can you provide the event, and are the video
in the correct format that is supported?

maybe try to pre-load the video before using it can help, but it's
hard to pinpoint where the issue is without any screenshots or why
the game freezes though.

do you have any plugin regarding to video's?
As said above, I also never had any problems with the play movie command.

However I can tell you where the two biggest problems come from:
1) movie too big - the size of the movie needs to be equal or smaller than the screen size of the game.
many default video programs push for high quality (that means high pixel numbers), and the default screen size is only 816x624 - you need to make sure that your movie is smaller than your project's screen size.

2) extreme compression - again most video programs push for high compression to reduce video size for better downloads, but that only works if the player knows how to decompress the video. and the players used by the RM are often older ones that do not know how to handle the newest codecs, so you need to switch to older standarts.
My videos are all the same resolution as the game screen (1000x720) so that shouldn't be the issue, although it's interesting to note and I'll keep that in mind.
Now that you mention compression, I'm curious if that's the issue. What programs do you use to convert your videos to webm and how compressed are they? I use this free browser converter and suspect that it might be causing the problem.

Edit: my 2 most recent videos are the only two that seem to be freezing, and it's only every so often, as if it was a 50/50 chance. I'm fairly certain the issue is how they were converted now, but would still like to get to a concrete answer.
As said above, I also never had any problems with the play movie command.

However I can tell you where the two biggest problems come from:
1) movie too big - the size of the movie needs to be equal or smaller than the screen size of the game.
many default video programs push for high quality (that means high pixel numbers), and the default screen size is only 816x624 - you need to make sure that your movie is smaller than your project's screen size.

2) extreme compression - again most video programs push for high compression to reduce video size for better downloads, but that only works if the player knows how to decompress the video. and the players used by the RM are often older ones that do not know how to handle the newest codecs, so you need to switch to older standarts.
UPDATE: After finding a plugin that allows me to convert videos to webm straight from the source (Premiere Pro) instead of the online converter, I was able to get the proper settings/rendering to get the videos to play without fail every time! I'll send my exact settings if anyone else finds this page with a similar issue.

Here's what to download to convert to webm

Original thread: https://forums.rpgmakerweb.com/threads/solving-the-issue-with-the-play-movie-command-complete.162358/