This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
+2 votes

I have a 5 minute 720p video in the OGV format, with a bitrate 1411 kbps (also I have tried the same video with a higher 7mbps but to the same effect but more laggy).

Which I'm using with Godot's videoplayer, but when I run it, the video and audio skips. With big framerate drops (can vary from 60 to 2fps)

Any idea why or what I can do to solve this?

Thank you :)

in Engine by (57 points)

OGV playing in Godot isn't great indeed, I get stuttering too even though I have a Ryzen 5 and nVidia 1060. However I'm told OGV isn't the best format to use in games in terms of performance.
VP9 might be considered in the future.
For now, given what your video contains, I would recommend to do the animation in Godot with AnimationPlayer. It will run way better than using 1920x1080 video.

Thanks for all your help. Would I be able to position the audio correctly, if I use the AnimationPlayer? And would you suggest I file this as a bug report?

Thanks again, you should put this as an answer :)

Update: Good News! VP8 WebM seems to run much better and smoothly. The video has to be in VP8 format as a WebM.

I'm having issues as well with a .webm format video on Android. It starts out normal but slows down as time progresses to an incomprehensible stutter in both video and audio.
How do I check if the webm video is using VP8? :-)

Hello fhireman,

A way to check is using the free VLC Player to open the video and selecting the codec infomation, which should give you the desired infomation. Other media players should work too. While exporting the video into the webm video, it gave me the option to select between VP8 & VP9.

Hopefully it has solved your issue and been helpful.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.