Search code examples
shellvideovideo-streamingstreamingmpeg-dash

How to download Dash video files as they appear on the server?


Is it possible, given an mpd file like https://dash.akamaized.net/akamai/bbb_30fps/bbb_30fps.mpd, to easily download all the Dash files stored on the server (assuming we know that it's static content on the server). That is, I should be able to run an HTTP server serving the content I downloaded, and point a Dash player at it to play the same video.

youtube-dl does not seem to give me the Dash package. I could use curl to perform XHR requests like the browser, but I'm hoping there's an easier way.

enter image description here


Solution

  • I found a project that downloads the segments as they are stored on the server: https://github.com/Viblast/dash-proxy

    I had to fork it to fix a few things for myself though: https://github.com/elv-peter/dash-proxy