Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.
/ node-dash-proxy Public archive

Node script to parse DASH manifests and download / mirror its segments

Notifications You must be signed in to change notification settings

dcpesses/node-dash-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dash Proxy

node-dash-proxy is a tool that allows for downloading of remote MPEG-DASH streams. Based on the Python script Dash-Proxy from Viblast.

How to use

Download and Install dependencies

npm install

Mirroring a remote live stream

node ./dashproxy.js -o . http://server.com/Manifest.mpd

The content of http://server.com/Manifest.mpd will be downloaded to the output directory (specified by -o). The MPD will be constantly refreshed and when new content is available it will be also downloaded while old content will be removed. This will practically mirror the remote stream in the output directory (-o). The downloaded stream itself can be served using any HTTP server.

Downloading a remote live stream

node ./dashproxy.js -o . -d http://server.com/Manifest.mpd

This will behave just as the above command except that old content will not be deleted effectively downloading the live stream in the output directory (-o). This is useful for downloading a long sample of a live stream that can latter be used for debugging and testing puposes.

Downloaidng a remote VoD steram

node ./dashproxy.js -o . -d http://server.com/Manifest.mpd

The VoD stream will be downloaded in the output directory (-o). In this case the download (-d) parameter is effectively ignored. In this example it is provided for clarity.

Supported features

  • Segment Timeline

Compatibility

Tested on NodeJS v7.7.2 and NPM 4.1.2

License

MIT

About

Node script to parse DASH manifests and download / mirror its segments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published