Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.
/ go-mkv Public archive
forked from quadrifoglio/go-mkv

Matroska/WebM parsing for the Go Programming Language

License

Notifications You must be signed in to change notification settings

bugreplaydev/go-mkv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-mkv

Matroska/WebM parsing for the Go Programming Language.

Example

file, err := os.Open("video.webm")
if err != nil {
	fmt.Fprintf(os.Stderr, "%s\n", err)
	return
}

defer file.Close()

doc := mkv.InitDocument(file)
err = doc.ParseAll(func(el mkv.Element) {
	fmt.Printf("Element %s - %d bytes\n", el.Name, el.Size)
})

if err != nil {
	fmt.Fprintf(os.Stderr, "%s\n", err)
	return
}

About

Matroska/WebM parsing for the Go Programming Language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%