zencoder / go-dash

A Go library for generating MPEG-DASH manifests.
Other
217 stars 60 forks source link

Using go-dash as a mpd parser #80

Closed rdezavalia closed 4 years ago

rdezavalia commented 4 years ago

I would like to use go-dash in order to parse and extract data from an mpd file. What I'm looking is a way to get the URL from the last video and audio segments among other information from the mpd. Is it already implemented on go-dash ? Is there a method to get an URL for a segment ? I'm most interest in a dynamic manifest, but both dynamic and static should be supported.

If it is not supported yet, are you interested on a PR ? Could you give me any tips to get me started ?

thomshutt commented 4 years ago

Hi @rdezavalia, thanks for getting in touch. This library is only focussed on the generation of manifests; you can use the object definitions to marshal a manifest into the structs we use, but I think any functionality beyond that would probably be better suited to a separate repo.