libmatroska is a C++ libary to parse Matroska files (.mkv and .mka). Matroska is an audio/video container based on EBML.