Laggy Movie Issues

The video grinds to a halt, freezes for a moment, and then finishes.

I used screen capture to take a video of the issue: here
That is still too short and the video does not show everything, but it is at least something.

And with your original statement of the filesize being 1.8 MB it points out to the problem being likely a decompression issue, which means you went too far in compressing the video size down.

Some video production software goes extremely far to reduce the filesize for download, but the default movie player used by the RM's has been known to have problems with the more experimental compression algorithms.
So you might want to test if this works better with a slightly larger (less compressed) video filesize.

However as I said before this is a balance act - if the video file gets too large, you'll get loading delays/lag instead of decoding delays.
But it is something you might want to experiment with to get the best compromise, especially testing different video programs with recoding the video.
That is still too short and the video does not show everything, but it is at least something.

And with your original statement of the filesize being 1.8 MB it points out to the problem being likely a decompression issue, which means you went too far in compressing the video size down.

Some video production software goes extremely far to reduce the filesize for download, but the default movie player used by the RM's has been known to have problems with the more experimental compression algorithms.
So you might want to test if this works better with a slightly larger (less compressed) video filesize.

However as I said before this is a balance act - if the video file gets too large, you'll get loading delays/lag instead of decoding delays.
But it is something you might want to experiment with to get the best compromise, especially testing different video programs with recoding the video.

Thank you thank you thank you. After extensive experimentation, I landed on a file with av1 codec and slightly less lossy compression... and EUREKA. Fixed on Chrome, Safari, Firefox, and Opera. Funny enough, turns out Microsoft Edge lacks full webm support and the video still lags there, but it has such a low market share that I'm not that concerned. I read somewhere that if you have an mp4 in the folder too it would call that instead on a broswer that doesn't support webm, but tried that and it didn't make any difference. Sorry microsoft edge users!

The game will be up at antimtr.com for approximately 30 minutes while I tweak some other settings if anyone wants a sneak peek at my beta. Otherwise, party on. :ewat:

Original thread: https://forums.rpgmakerweb.com/threads/laggy-movie-issues.158738/