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: 7 months 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 7 years ago)
- Default Branch: master
- Last Pushed: 2023-11-11T09:44:46.000Z (about 2 years ago)
- Last Synced: 2024-06-19T00:17:36.715Z (over 1 year 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 - go-mpd - Parser and generator library for MPEG-DASH manifest files. (Video / Utility/Miscellaneous)
- awesome-go-cn - go-mpd - DASH清单文件的解析器和生成器库。 [![godoc][D]](https://godoc.org/github.com/unki2aut/go-mpd) (视频 / 实用程序/Miscellaneous)
- awesome-go-plus - go-mpd - Parser and generator library for MPEG-DASH manifest files.  (Video / Utility/Miscellaneous)
- awesome-go - go-mpd - Parser and generator library for MPEG-DASH manifest files. (Video / Utility/Miscellaneous)
- awesome-go - go-mpd - Parser and generator library for MPEG-DASH manifest files. (Video / Utility/Miscellaneous)
- 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)
- awesome-go-with-stars - go-mpd - Parser and generator library for MPEG-DASH manifest files. (Video / Utility/Miscellaneous)
- awesome-go - unki2aut/go-mpd - DASH Media Presentation Description (MPD) files ☆`32` (Video / Utility/Miscellaneous)
- awesome-go - go-mpd - Parser and generator library for MPEG-DASH manifest files. (Video / Utility/Miscellaneous)
- awesome-go - go-mpd - Parser and generator library for MPEG-DASH manifest files. (Video / Utility/Miscellaneous)
- fucking-awesome-go - go-mpd - Parser and generator library for MPEG-DASH manifest files. (Video / Utility/Miscellaneous)
- awesome-Char - go-mpd - Parser and generator library for MPEG-DASH manifest files. (Video / HTTP Clients)
- awesome-go-cn - go-mpd - DASH清单文件的解析器和生成器库。 [![godoc][D]](https://godoc.org/github.com/unki2aut/go-mpd) (视频 / 实用程序/Miscellaneous)
- awesome-go-cn - go-mpd - DASH`清单文件的解析器和生成器库。 (视频 / 版本控制)
README
[](https://github.com/unki2aut/go-mpd/actions/workflows/ci.yml) [](https://raw.githack.com/wiki/unki2aut/go-mpd/coverage.html) [](https://goreportcard.com/report/github.com/unki2aut/go-mpd) [](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