Skip to content
Golang: Matroska and WebM Format
Branch: master
Clone or download
pixelbender Merge pull request #2 from blitzprog/patch-1
Bugfix: ParseInt expects bit size not byte size
Latest commit 4ea028a Oct 29, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ebml Bugfix: ParseInt expects bit size not byte size Oct 27, 2018
matroska
.gitignore
.travis.yml Upgrade to Go 1.8 Aug 15, 2017
LICENSE Initial commit Jul 30, 2016
README.md

README.md

Golang implementation of Matroska and WebM media container formats

Build Status Coverage Status Go Report Card GoDoc

Installation

go get github.com/pixelbender/go-matroska/...

Usage

import (
    "os"
    "fmt"
    "github.com/pixelbender/go-matroska/matroska"
)

func main() {
    doc, err := matroska.Decode("example.mkv")
    if err != nil {
        fmt.Println(err)
        return
    }
    fmt.Println(doc.Segment.Info[0].Duration)
}

Specifications

You can’t perform that action at this time.