0 votes

Specs:

  • AMD Ryzen 3 3200G
  • GTX 1050
  • Ubuntu 20.04 LTS
  • Godot 3.2.1 Stable

On Windows 10, I'm able to run Webm videos that have an FPS of 60, no problem. On Ubuntu however, the video freezes on the first couple frames or is completely black.

The reason I suspect this is an FPS problem is because EVERY Webm video that is 30FPS or below works on Ubuntu, but none that are above 30FPS do. I've tried to convert the videos with different encoders(VP8,VP9), Bitrate, Constant/Variable framerate etc. but it all comes back to the FPS.

So then I tried using the OGV (Theora) format. It seems to work on Ubuntu at 60FPS, BUT...there's a bar at the bottom of the video that's looking like some bad quality artifact. This happens on both Windows and Ubuntu.

I suppose you would ask: "Does any of this occur on a regular video player?". No, it does not. These problems only occur in Godot. None of these problems occur on Ubuntu or Windows when using the standard Video Player provided for those Operating Systems.

I'm using the VideoPlayer Object in Godot to play the Videos.

Any idea why this is happening?

asked May 23 in Engine by mrwappa (17 points)

WebM is difficult to support well, which is why support may be moved to a GDNative plugin in the future. See https://github.com/godotengine/godot/issues?q=is%3Aissue+is%3Aopen+webm

Specifically, this issue.

Damn, well thanks anyways.
When you mention a GDNative plugin, do you mean something like this?

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 How to use this Q&A? before posting your first questions.