Description
Changelog
Reviews (3)

This addon lets you import WebM, a modern video format with excellent compression, in Godot 4.

WebM GDExtension adds VideoStreamWebm, which is almost identical in features to the built-in VideoStreamTheora.

The supported video codec is VP9. The VP8 video codec is disabled, but it can be re-enabled easily if desired. The supported audio codecs are Opus and Vorbis.

WARNING: This addon decodes WebM files on the CPU without architecture-specific optimizations or hardware acceleration, making it very slow. This addon mostly exists as an initial way to get WebM working in Godot before the WebM pull request is merged.

Features

  • Import .webm files in the editor.
  • Load .webm files at runtime.
  • Play .webm files at runtime.
  • Seek .webm files at runtime.

How to Use

To convert an MP4 file to WebM with VP9 at constant quality 30 and Opus at 128 kbits/s, install FFmpeg and run:

ffmpeg -i input.mp4 -c:v libvpx-vp9 -crf 30 -b:v 0 -row-mt 1 -c:a libopus -b:a 128k output.webm

To also downscale to 720p using Lanczos:

ffmpeg -i input.mp4 -vf "scale=1280x720:flags=lanczos" -c:v libvpx-vp9 -crf 30 -b:v 0 -row-mt 1 -c:a libopus -b:a 128k output.webm

Recommended Quality

See Google's Recommended Settings for the recommended VP9 quality level.

See Opus GDExtension for the recommended Opus bitrate.

Supported Platforms

WebM GDExtension has a baseline of Godot 4.5 and aims to support every platform supported by Godot 4.5.

Note: Every supported platform has binaries for single (but not double) precision and debug/release mode.

Platform Supported SIMD Optimizations Hardware Acceleration
Windows x64 ✅ ❌ (1) ❌ (2)
Windows x32 ✅ ❌ (1) ❌ (2)
Windows ARM64 ✅ ❌ (1) ❌ (2)
Linux x64 ✅ ❌ (1) ❌ (2)
Linux x32 ✅ ❌ (1) ❌ (2)
Linux ARM64 ✅ ❌ (1) ❌ (2)
Linux ARM32 ✅ ❌ (1) ❌ (2)
macOS Universal ✅ ❌ (1) ❌ (2)
Android x64 ✅ ❌ (1) ❌ (2)
Android x32 ✅ ❌ (1) ❌ (2)
Android ARM64 ✅ ❌ (1) ❌ (2)
Android ARM32 ✅ ❌ (1) ❌ (2)
iOS ARM64 ✅ ❌ (1) ❌ (2)
Web WASM32 ✅ ❌ (1) ❌ (2)

(1) WebM GDExtension does not use the available SIMD optimizations for decoding video, because the aim is to get a pure-C implementation working in a bug-free state before selectively re-adding the architecture-specific optimizations in the future.

(2) WebM GDExtension does not use hardware acceleration for decoding video, instead relying only on the CPU. The aim is for a contributor to add hardware acceleration in the future after WebM is merged into Godot.

See Opus GDExtension for the supported platforms for Opus SIMD optimizations.

Changelog for version v1.4

2026-11-02 15:12:34

No changelog provided for this version.

Reviews

Recommended by NoNormal - 30 October 2026

I'm a fan of replacing .ogv, so this extension is good.

Recommended by JekSun - 03 November 2026
Recommended by SuR - 01 November 2026

Login to write a review.

Consider supporting the creators!

If you enjoyed this asset consider supporting its creator. Follow the link below.