Emerald::Docs::GETTING_STARTED::Introduction
Introduction to Emerald
Executive Summary & Key Topics
| Topic | Method / Anchor | Description |
|---|---|---|
| What is Emerald? | .topic_01_what_is_emerald |
Overview of Emerald and multimedia format support. |
| Key Features | .topic_02_key_features |
Highlighting key capabilities of the library. |
Class methods
topic_01_what_is_emerald
What is Emerald?: Overview of Emerald and multimedia format support.
Emerald (sol-vin/emerald) bridges the industry-standard LibVLC multimedia framework into Lapis (Godot Engine 4.8+ Crystal GDExtension bindings).
While standard Godot includes a basic VideoStreamPlayer with limited format support (primarily Theora OGV), Emerald unlocks playback for any modern audio and video container/codec:
- Video: MP4, MKV, WebM, AVI, MOV, FLV, MPEG-TS, H.264, HEVC/H.265, VP9, AV1.
- Audio: MP3, FLAC, OGG Vorbis, Opus, AAC, WAV, ALAC, WMA.
- Streaming: HLS (
.m3u8), RTSP, RTMP, HTTP/HTTPS live streams, internet radio.
topic_02_key_features
Key Features: Highlighting key capabilities of the library.
- High-Performance Memory Rendering: Decodes video frames directly into double-buffered RGBA memory and transfers them into Godot's
ImageTexturewithout screen tearing or frame drops. - Dedicated Godot Nodes: Ready-to-use
EmeraldVideoPlayer(Control UI),EmeraldAudioPlayer(audio engine), andEmeraldVideoPlayer3D(in-world screens and materials). - Subtitles & Closed Captions: Full support for embedded subtitle tracks, external subtitle files (
.srt,.vtt,.sub), and real-time subtitle sync delays. - Multi-Track Audio & Video: Switch between multi-language dubs, commentary tracks, and camera angles on the fly.
- 10-Band Graphic Equalizer: 18 standard presets (
Rock,Pop,Jazz,Classical,FullBass,Techno, etc.) plus manual preamp and per-band decibel tuning. - Metadata Inspection: Rich tag extraction for Title, Artist, Album, Genre, Track Number, Year, Cover Art URL, Codec info, and duration.