A Go library for generating MPEG-DASH manifests.
Switch branches/tags
Nothing to show
Clone or download
miyukki and stuarthicks Support some MPD attributes to encode/decode (#51)
* Support some MPD attributes to encode/decode

* Implement NewDynamicMPD to generate dynamic type MPD
Latest commit 12a54ee Jul 24, 2018

README.md

go-dash

godoc

A Go library for generating MPEG-DASH manifests.

Install

This library uses Glide to manage it's dependencies. Please refer to the Glide documentation to see how to install glide.

mkdir -p $GOPATH/src/github.com/zencoder
cd $GOPATH/src/github.com/zencoder
git clone https://github.com/zencoder/go-dash
cd go-dash
glide install
go install ./...

Supported Features

  • Profiles
    • Live
    • On Demand
  • Adaption Sets / Representations / Roles
    • Audio
    • Video
    • Subtitles
    • Multiple periods (multi-part playlist)
  • DRM (ContentProtection)
    • PlayReady
    • Widevine

Known Limitations (for now) (PRs welcome)

  • No PSSH/PRO generation
  • Limited Profile Support

Example Usage

See examples/

To run (Live Profile example):

make examples-live

To run (OnDemand Profile example):

make examples-ondemand

Development

Dependencies

Tested on go 1.9.2.

Build and run unit tests

make test

CI

This library builds on Circle CI, here.

License

Apache License Version 2.0