Audio streams: Encoded using various codecs (AAC, MP3, AC3, DTS, Opus, FLAC, etc.).
Subtitle streams: In various formats (SRT, SSA/ASS, VobSub, etc.).
Chapter information: Defining points in the video timeline.
Metadata: Information like title, artist, genre, etc.
Menus: (Though less commonly used than in formats like DVD).
Key characteristics and advantages:
Flexibility: It can encapsulate almost any audio, video, or subtitle format.
Open Standard: It's not proprietary, making it free to use and implement.
Robustness: Designed to be resistant to corruption and allows for easy seeking even in incomplete files.
Rich Features: Supports chapters, rich metadata (tags), multiple audio tracks, multiple subtitle tracks, and more.
Future-proof: Designed to be extensible to accommodate new codecs and features.
Matroska files most commonly use the file extension .mkv (for video with audio/subtitles), but you might also see:
.mka (Matroska Audio - for audio-only files)
.mks (Matroska Subtitles - for subtitle-only files)
.mk3d (Matroska 3D - for stereoscopic/3D video)
In summary, an MKV file (using the Matroska container format) is a popular way to bundle high-quality video, multiple audio tracks, and subtitles into a single file, known for its flexibility and open nature.