Skip to content

practigo/gomkv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go MKV

Try to parse MKV for learning :)

(Code is similar to https://github.com/practigo/gomp4)

Intro

Matroska/MKV is a Document Type of EBML.

  • EBML spec
  • WebM is a limited subset so it is supported too.

Layout

+-------------+
| EBML Header |
+---------------------------+
| Segment     | SeekHead    | index of Top-Level Elements locations (RECOMMENDED)
|             |-------------|
|             | Info        | vital information for identifying the whole Segment
|             |-------------|
|             | Tracks      | technical details for each track (decode the data)
|             |-------------|
|             | Chapters    | lists all of the chapters (points to jump)
|             |-------------|
|             | Cluster     | content for each track (SHOULD contain at least one)
|             |-------------|
|             | Cues        | temporal index for seeking (SHOULD contain at least one)
|             |-------------|
|             | Attachments | for attaching files (pictures/fonts...)
|             |-------------|
|             | Tags        | metadata for Segment/Tracks/Chapters...
+---------------------------+

See https://www.matroska.org/technical/diagram.html for more details.

Refs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages