Skip to main content

Downloading videos from MS Stream

This week a student asked me about downloading the videos from one of the courses from MS Stream. The problem is that if you are not a proprietary of the video you cannot download it. So, I will show you an option to download videos without being a proprietary of them.

Disclaimer: It might be a good idea if you ask your organization about the copyright of the videos.

Prerequisites

You will need the following:

destreamer installation

After getting the prerequisites you can download destreamer using

$ git clone https://github.com/snobu/destreamer
$ cd destreamer
$ npm install
$ npm run build

in a terminal.

If you do not want to play with environment variables, I suggest that you just add ffmpeg to the same folder as destreamer.

Downloading

After that, you need to navigate to the folder where you downloaded destreamer and

$ ./destreamer.sh -i "https://web.microsoftstream.com/video/VIDEO_ID"

in Mac or Linux,

$ destreamer.cmd -i "https://web.microsoftstream.com/video/VIDEO_ID"

in the command prompt in Windows, and

$ destreamer.ps1 -i "https://web.microsoftstream.com/video/VIDEO_ID"

in PowerShell.``VIDEO_ID`` refers to the identifier in MS Stream.

If you want to download several files (like a complete course), you can create a file with the URLs and use

$ destreamer.cmd -f filename.txt

Comments

Comments powered by Disqus