Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/unki2aut/go-mpd
- Owner: unki2aut
- License: mit
- Fork: true (mc2soft/mpd)
- Created: 2018-11-02T19:09:07.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-11T09:44:46.000Z (about 1 year ago)
- Last Synced: 2024-06-19T00:17:36.715Z (6 months ago)
- Language: Go
- Homepage:
- Size: 33.2 KB
- Stars: 22
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-go-extra - go-mpd - DASH Media Presentation Description (MPD) files|13|6|0|2018-11-02T19:09:07Z|2020-08-18T09:32:36Z| (Video / Fail injection)
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-mpdGo 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 mainimport (
"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