Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/unki2aut/go-mpd

Go library for parsing and generating MPEG-DASH Media Presentation Description (MPD) files
https://github.com/unki2aut/go-mpd

Last synced: about 1 month ago
JSON representation

Go library for parsing and generating MPEG-DASH Media Presentation Description (MPD) files

Awesome Lists containing this project

README

        

[![Build Status](https://github.com/unki2aut/go-mpd/actions/workflows/ci.yml/badge.svg)](https://github.com/unki2aut/go-mpd/actions/workflows/ci.yml) [![Go Coverage](https://github.com/unki2aut/go-mpd/wiki/coverage.svg)](https://raw.githack.com/wiki/unki2aut/go-mpd/coverage.html) [![Go Report Card](https://goreportcard.com/badge/github.com/unki2aut/go-mpd)](https://goreportcard.com/report/github.com/unki2aut/go-mpd) [![GoDoc](https://godoc.org/github.com/unki2aut/go-mpd?status.svg)](https://godoc.org/github.com/unki2aut/go-mpd)
# go-mpd

Go library for parsing and generating MPEG-DASH Media Presentation Description (MPD) files.

This project is based on https://github.com/mc2soft/mpd.

## Usage

```go
package main

import (
"fmt"
"github.com/unki2aut/go-mpd"
)

func main() {
mpd := new(mpd.MPD)
mpd.Decode([]byte(`
















`))

fmt.Println(mpd.MediaPresentationDuration)
}
```

## Related links
* https://en.wikipedia.org/wiki/Dynamic_Adaptive_Streaming_over_HTTP
* [ISO_IEC_23009-1_2014 Standard](http://standards.iso.org/ittf/PubliclyAvailableStandards/c065274_ISO_IEC_23009-1_2014.zip)

## MPD parsing/generation in other languages
* Javascript - https://github.com/videojs/mpd-parser
* Python - https://github.com/sangwonl/python-mpegdash
* Cpp - https://github.com/bitmovin/libdash
* Java - https://github.com/carlanton/mpd-tools