tonytony2020 / go-mkvparse

Fast Matroska parser in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mkvparse: Matroska parser in Go

Go Reference

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

Features:

  • Supports all Matroska elements
  • 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
  • Supports streaming
  • Event-based push API
  • No dependencies

API

See the API Reference.

Examples

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.

About

Fast Matroska parser in Go

License:MIT License


Languages

Language:Go 98.4%Language:Makefile 1.6%