/mpdgen

DASH MPD generation

Primary LanguageGoMIT LicenseMIT

Generate DASH MPD

In this repo, Go code to represent DASH-MPD is first auto-generated, and then modified so that it can be used in an efficient way.

The XML Schema for MPEG DASH MPD is the 5'th edition fetched from the DASHSchema repo as commit 993cb92.

In addition, there is a schema for MPD Patch at the same repo:

and for "URL Parameters (UP)" at

There is also an XML schema for cenc in the ISO/IEC 23301-7 2016 specification for Common Encryption. There is not much code that can be generated from it, but the schema is included in the generates/schemas directory.

The XSDs have been downloaded and can be found in the subdirectory generate/schemas.

The generation is handled by a script and Go program in the generate directory and the final Go files are to be found in the pkg/mpd directory.