Home

Awesome

DASH-to-HLS-Playback

DASH to HLS Playback converts DASH's MPD manifests to HLS's M3U8 manifests. It works by extracting information from MPD files, creating M3U8 master playlist and media playlists, finally plays out with hls.js.

DASH to HLS Playback does not need any player, it works directly on a standard HTML <video> element on a browser (tested on Chrome and Firefox) supporting HTML5 video and MediaSource Extensions.

It is written with Javascript and HTML.

Getting Worked

Prerequisite

A web server (for example a localhost) is required to hold the newly created M3U8 files, fetch media segments and play them out. Since All HLS resources must be delivered with CORS headers permitting GET requests.

Installing

Under the server folder git clone the source HTTP.

git clone https://github.com/huzhlei/DASH-to-HLS-Playback.git

Running

Open the folder from server.

Provide the MPD URL address or choose from file system the MPD of your interest.

Hit Convert and Play.

MPD instances

Notes

Bulit With

<img src="https://cloud.githubusercontent.com/assets/616833/19739063/e10be95a-9bb9-11e6-8100-2896f8500138.png" alt="hls.js logo" width="80"> - used to stream under HTTP live streaming protocol.

Workflow Chart

<img src="https://github.com/huzhlei/DASH-to-HLS-Playback/blob/master/flowchart.jpg">