Splash Screen OGV Video stutters when played in Web export

Godot Version

4.5.1

Question

So I have this awesome intro video that I use for the Godot logo made by StayAtHomeDev. I’ve been using it for over a year. I’ve noticed that it’s really laggy in my in-progress game jam game Katamari Mech Spacey. It stutters, you can barely hear the cool sound, and the animation is off.

So I compared that to my other games, and the ones where I send the video audio into a buffer that is off and play different music on top it doesn’t stutter.

I tried adding a 3-second timeout before the video to make sure it was loaded. That did not help.

Any ideas on how to fix this?

Try encoding the video with different settings or codec (eg try WebM). Not everything that works on desktop will work on the web just as well. You will want to ensure the bitrate isn’t unnecessarily high if the video is streamed, and other settings may also have higher performance penalties than in a desktop player.

Use handbrake to re-encode the video if you don’t have the source.

Godot only supports OGV.

1 Like