Skip to content

pixelbender/go-matroska

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Golang: Matroska and WebM Format

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages