Convert MKV to OGG (Vorbis) Online
Extract audio from MKV files (movies, anime, series) and save as OGG Vorbis. Open format, patent-free, native on Linux and game engines. Free, in your browser.
.mkv · up to 100 MB
What you can do
MKV to OGG: movie and anime soundtracks in an open format
Multi-codec Matroska
Compatible with DTS, DTS-HD, AC-3, TrueHD, FLAC, AAC, and Vorbis inside the MKV container.
100% private
Your MKV file never leaves your device. Local processing with FFmpeg.wasm.
Godot and Unity
OGG Vorbis is Godot Engine's native format for game audio streaming.
Native Linux and Android
Native support on all Linux distributions and Android since 2008.
How it works
Three steps, no hassle
Upload your MKV file
Drag or select your .mkv file, including Blu-ray rips, anime, or series with DTS, AC-3, or FLAC audio. Up to 500 MB, no signup.
Multi-codec extraction to Vorbis
FFmpeg.wasm selects the default audio track from the Matroska container, decodes DTS/AC-3/FLAC/AAC to PCM, and encodes to Vorbis in your browser.
Download your OGG
OGG Vorbis ready for Linux players, Godot Engine, Unity, or Android. Download with one click.
FAQ
Got questions?
OGG Vorbis offers three advantages over MP3 for this use case. First, superior quality at equivalent bitrate: at 128 kbps, Vorbis perceptually outperforms MP3 in ABX tests — this matters when the source is already compressed audio (AC-3, AAC) with one generation of loss, and you want to minimize added degradation. Second, patent-free: MP3 patents expired between 2012 and 2017, but Vorbis has never had patents since its creation in 2000 by Xiph.org — relevant for open-source projects, indie games, and Linux distribution. Third, native support: Godot Engine, Firefox, Chrome, Android, Ubuntu, Fedora, and all major Linux distributions support Vorbis natively without additional licenses.
The track marked as default (default=1) in the Matroska container metadata is extracted. For most Hollywood movie MKV rips, the default track is the original English audio. For anime rips from groups like SubsPlease, HorribleSubs, Erai-raws, or Commie, the default track is usually the Japanese audio (the original), though some groups mark English as default per their conventions. You can verify which track is default before converting using MKVToolNix (free): in the MKV Header Editor's Tracks tab, check the Default column. The tool does not allow manual track selection — it extracts the default track only.
DTS-HD Master Audio and Dolby TrueHD are the lossless audio formats of their respective families, found in high-quality Blu-ray rips. When converting to Vorbis (lossy), the result depends on the chosen output quality. At Vorbis quality 6 (~192 kbps), degradation from the lossless original is practically inaudible in blind listening tests for most musical and dialogue content. At quality 8 (~256 kbps), transparency is very high. The advantage of starting from DTS-HD or TrueHD (lossless) rather than DTS Core or AC-3 (lossy) is that you get only one generation of compression when encoding to Vorbis — producing the best possible result.
Yes. Godot Engine (versions 3.x and 4.x) uses OGG Vorbis as the native format for AudioStreamOGGVorbis, which is the recommended stream type for background music, long sound effects, and any audio you want to stream without loading it entirely into memory. The workflow is: extract audio from the anime MKV to OGG here → import the .ogg directly into the Godot project as a resource → assign it to an AudioStreamPlayer. Godot 4.x accepts OGG Vorbis with up to 8 audio channels and sample rates from 8 kHz to 192 kHz. Recommended quality for game music is Vorbis quality 4–6 (128–192 kbps).
FLAC (Free Lossless Audio Codec) is used in some Blu-ray MKV rips as an alternative to DTS-HD or TrueHD when the ripping group wants to preserve the original audio losslessly but prefers a more compact and open format. A 24-bit 48 kHz stereo FLAC from a typical movie occupies 400–700 MB per hour, less than equivalent TrueHD or DTS-HD. Other rips use FLAC for the original Japanese anime audio (which often comes as AAC on the Japanese Blu-ray) when the group has remuxed it from a lossless source. FLAC in MKV is the best source for converting to Vorbis because there is only one generation of compression (lossless→Vorbis), unlike lossy sources like AC-3 or AAC (two generations).
Hardware compatibility for OGG Vorbis is more limited than for MP3 or AAC. Smart TVs (Samsung, LG, Sony from 2015) support OGG Vorbis via DLNA/UPnP on most models. Bluetooth speakers generally do not play OGG directly (they receive a Bluetooth audio stream in SBC, AAC, or aptX). Car players vary: modern ones with Android Auto or CarPlay play it via the phone app, but CD/USB car players rarely support OGG. For consumer home hardware, MP3 or AAC offer broader compatibility. OGG Vorbis is optimal for software (Linux, browsers, game engines, PC players). For hardware, consider MP3 or AAC.
Convert MKV to OGG: extract Matroska audio for game engines, Linux, and anime
Converting MKV to OGG Vorbis combines two open-source standards that dominate their respective niches: Matroska (MKV) as the preferred video container for high-quality distribution since the mid-2000s, and OGG Vorbis as the reference audio codec on open platforms like Linux and in game engines since its release in 2002. The Matroska container, based on the EBML specification, stores each audio track's metadata in TrackEntry elements: TrackType=2 identifies audio tracks, CodecID identifies the codec (A_DTS for DTS, A_AC3 for Dolby Digital, A_FLAC for lossless FLAC, A_AAC for Advanced Audio Coding, A_VORBIS for native OGG Vorbis), and FlagDefault identifies the default track that players select automatically. Blu-ray rips in MKV, produced with tools like MakeMKV, HandBrake, or AnyDVD HD, frequently preserve the original lossless audio from the disc: DTS-HD Master Audio (up to 24.5 Mbps, up to 7.1 channels), Dolby TrueHD (up to 18 Mbps with Atmos), or remuxed FLAC. This source audio quality is the ideal starting point for producing high-fidelity Vorbis with only one generation of compression.
The primary use of MKV to OGG today is game audio asset creation and audio distribution in Linux ecosystems. In game development: Godot Engine 4.x, released in 2023 as the most significant version since the engine's creation, uses OGG Vorbis as the recommended audio stream format for game music (AudioStreamOGGVorbis), while short sound effects are stored as WAV (AudioStreamWAV). Godot games exported to Linux, Android, and HTML5 platforms play Vorbis natively without external library dependencies, as the Vorbis decoder is compiled into the engine executable. Musicians composing soundtracks for games frequently have their final mixes in reference MKV files (with gameplay footage recorded), and extract the audio to OGG as the delivery format for the development team. In Linux distribution: GNU/Linux distributions (Ubuntu, Fedora, Arch, Debian) have native OGG Vorbis support in all their system audio players (Rhythmbox, Clementine, Banshee, Amarok) and in the OS audio pipeline (PulseAudio/PipeWire via GStreamer with the ogg/vorbis plugin).
Convertir.ai performs MKV to OGG extraction entirely in the browser via FFmpeg.wasm. The Matroska demuxing technical process begins with reading the EBML file: top-level elements are EBML (with DocType=matroska or webm), and Segment, which contains SeekHead (position index), Info (global metadata like Duration and TimestampScale), Tracks (track definitions), Cues (index table for seeking), and Cluster (media data blocks). The default audio track is identified by searching TrackEntry elements for those with TrackType=2 and FlagDefault=1. Once identified, FFmpeg extracts the SimpleBlock or BlockGroup elements corresponding to that track from the clusters, passes them to the appropriate decoder based on CodecID, decodes to 32-bit float PCM in memory with downmix to stereo for multichannel audio (applying ITU-R BS.775 coefficients for 5.1/7.1 surround), and finally applies the Vorbis encoder from libvorbisenc at the selected quality level. The output OGG file includes the mandatory Vorbis headers (identification header, comment header with metadata transferred from the MKV, and setup header with codebooks), followed by Vorbis audio packets grouped in OGG pages with temporal position granulation for seeking.