`go-mkvparse`: Matroska parser in Go

Fast Matroska (.mkv, .mka) parser, written in Go.


  • Supports all Matroska tags
  • Supports short-circuiting the parser, making it possible to read specific data (e.g. title, author) without reading the entire file (see the mkvtags example)
  • Also works with WebM (.webm) files
  • Event-based push API
  • No dependencies


See the API Reference.


Besides the examples in the API Reference, there are some larger examples in the examples/ dir:

  • examples/mkvinfo: Example using basic parser API to print all elements
  • examples/mkvtags: Example using the optimized ‘sections’ API to print all tags without parsing the entire file.