Download videos from Microsoft Stream with Destreamer (2024)

Osni B. Junior

Posted on

Download videos from Microsoft Stream with Destreamer (3) Download videos from Microsoft Stream with Destreamer (4) Download videos from Microsoft Stream with Destreamer (5) Download videos from Microsoft Stream with Destreamer (6) Download videos from Microsoft Stream with Destreamer (7)

#destreamer #powershell #prompt #git

Presentation

Hello everyone
In these last days I participated in some online lectures that were recorded and made available by Microsoft Stream. Many of these talks, I would like to save offline, to watch during a trip or even listen as a podcast.
There are hundreds (if not thousands) of tools that download videos from YouTube, all online, but unfortunately, none for Microsoft Stream.

It was then that I came across this repository on GitHub and decided to share it with the dev.to community. Enjoy ;)

Prereqs

  • NodeJS
  • NPM
  • FFMPEG
  • Git

How to build

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

Use

Note: If you are running the destreamer in a Windows environment, it is recommended to use the PowerShell or Prompt scripts.

For use, you can pass some parameters, all of them can be consulted with the destreamer (consult the platform you are using to use the correct extension)

$ destreamer.cmdOptions: --help Show help [boolean] --version Show version number [boolean] --username, -u The username used to log into Microsoft Stream (enabling this will fill in the email field for you). [string] --videoUrls, -i List of urls to videos or Microsoft Stream groups. [array] --inputFile, -f Path to text file containing URLs and optionally outDirs. See the README for more on outDirs. [string] --outputDirectory, -o The directory where destreamer will save your downloads. [string] [default: "videos"] --outputTemplate, -t The template for the title. See the README for more info. [string] [default: "{title} - {publishDate} {uniqueId}"] --keepLoginCookies, -k Let Chromium cache identity provider cookies so you can use "Remember me" during login. Must be used every subsequent time you launch Destreamer if you want to log in automatically. [boolean] [default: false] --noExperiments, -x Do not attempt to render video thumbnails in the console. [boolean] [default: false] --simulate, -s Disable video download and print metadata information to the console. [boolean] [default: false] --verbose, -v Print additional information to the console (use this before opening an issue on GitHub). [boolean] [default: false] --closedCaptions, --cc Check if closed captions are available and let the user choose which one to download (will not ask if only one available). [boolean] [default: false] --noCleanup, --nc Do not delete the downloaded video file when an FFmpeg error occurs.[boolean] [default: false] --vcodec Re-encode video track. Specify FFmpeg codec (e.g. libx265) or set to "none" to disable video. [string] [default: "copy"] --acodec Re-encode audio track. Specify FFmpeg codec (e.g. libopus) or set to "none" to disable audio. [string] [default: "copy"] --format Output container format (mkv, mp4, mov, anything that FFmpeg supports). [string] [default: "mkv"] --skip Skip download if file already exists. [boolean] [default: false]

For example, I had to download some videos and make them manually it would be laborious, so I copied the links and put them in a notepad inside the installation folder.
From there, I ran the command at a Windows prompt:

destreamer.cmd -u USER@EMAIL.COM -f links.txt -k true -x true --skip

-u: I pass the user to login to Microsoft Stream (it is still necessary to enter the password).

-f: It is the file that contains my links, they must be placed one per line. If you want to download a single file, just use the -i option and pass the direct link to the video (read the help or documentation).

-k: I set it to true to keep the session cookie I logged in. Thus, it is not necessary to enter the password in any of the subsequent downloads. Complete automation.

-x: The destreamer tool presents a brief preview of the video being downloaded. To remove this, I set this option to true. The output log is cleaner.

--skip: If any video fails, I can run this entire command again and this parameter will validate that the video has already been downloaded and will ignore it for download.

Source

The complete documentation and new versions of the tool can be found in the official repository:

Download videos from Microsoft Stream with Destreamer (8) snobu / destreamer

Save Microsoft Stream videos for offline enjoyment.

Top comments (4)

Subscribe

Mihai Chindriș

Mihai Chindriș

To be continued.

  • Joined

Oct 6 '23

  • Copy link

very helpful, many thanks!

极客青年

极客青年

  • Joined

Mar 19 '22

  • Copy link

MOHAMED EL MOUKTAFI

MOHAMED EL MOUKTAFI

  • Location

    Morocco

  • Work

    Student

  • Joined

Mar 22 '21

  • Copy link

Thanks brother that's very helpful

Osni B. Junior

Osni B. Junior

  • Work

    SRE & Platform Engineer | Observability | DevOps Advocate

  • Joined

Mar 24 '21

  • Copy link

I'm glad I helped you

For further actions, you may consider blocking this person and/or reporting abuse

Download videos from Microsoft Stream with Destreamer (2024)

FAQs

How to download video from Microsoft Stream if not owner? ›

Ensure that you have ownership of any video on Stream (Classic) that you need to save: If you need to save a video that was recorded or uploaded by someone else, you will not be able to download it unless that person makes you a co-owner.

How to extract video from Microsoft Stream? ›

Download a video or audio file
  1. Open the file in the Stream Web App and select Download.
  2. Navigate to the file in OneDrive or SharePoint, select the file and choose Download. Or select the three dots next to your file and select Download.

How do I download a video from Microsoft Webstream? ›

To download from Microsoft Stream on SharePoint, log in at https://stream.office.com. Click the ellipse icon (⋯) next to a video, then click the Download button.

Can you download a Microsoft Stream video with captions? ›

Log into stream and click the my content dropdown then select videos. Search or scroll until you find your video then click the update video details icon. In the options panel, click the link to download the captions file.

Why can't I download Microsoft Stream videos? ›

Turns out the download issue is caused by having “[“ and/or “]” in the video name. Once you remove those characters, the file downloads fine.

How do I give access to download Microsoft streaming video? ›

Add a co-owner to your Stream Classic Videos
  1. Access Microsoft Stream (Classic) Open the Office 365 apps menu (waffle icon) Select Stream from the list of apps.
  2. Find your videos. Select My Content to view a list of your videos. Select Videos to see a list of all your video content. ...
  3. Assign a co-owner to your videos.
May 29, 2024

How do I copy a Microsoft streaming video? ›

Begin within the file that you intend to move or copy already open in the Stream web app. In the command bar, select either Move to or Copy to, which will appear if you have sufficient file-access permissions.

Where is Microsoft Stream videos stored? ›

Videos are now stored in SharePoint, Teams, and OneDrive just like your documents, presentations, and spreadsheets. Stream offers the same familiar experiences for sharing, searching, and commenting as the other apps in Microsoft 365.

How do I download a video from a streaming site? ›

How to download streaming videos from any website
  1. Download and install Movavi Screen Recorder. Download the version of Movavi Screen Recorder for your particular operating system and follow the installation instructions. ...
  2. Adjust the recording settings. Click Screen recording on the sidebar. ...
  3. Download your streaming video.
Jun 6, 2024

How to download Stream videos in Chrome? ›

Go to a streaming website like https://videojs.com/ 2. Wait until the toolbar color changes 3. Click on the toolbar button once to select a quality 4. Wait until the download is over.

Can you extract transcripts from Microsoft Stream? ›

To do so, open Video settings and expand the Transcript and captions section if it's closed. Then, next to the transcript you wish to download, select Download from the "..." menu.

What is the best video format for Microsoft Stream? ›

Tips: For the best video playback experience, we recommend the following video encoding settings:
  • Container - MP4.
  • Video - H.264 / MPEG-4 AVC, 30 fps, using these approximate bitrates based on resolution. ~8 Mbps or less for 1080p. ~5 Mbps or less for 720p. ~2.5 Mbps or less for 480p. ...
  • Audio - AAC, 384 Kbps or less.

Can anyone watch a Microsoft Stream video? ›

Only the people in your school or district can see the videos uploaded to Microsoft Stream. Plus, you can further customize the permissions for a video so that only select people or groups can view. Note: IT Admins, see how you can manage user data in Stream.

How do I download a team recording when not the owner? ›

To download a meeting recording:
  1. Select the Files or Shared tab in the meeting chat, channel, or meeting in calendar.
  2. Find and select the file.
  3. Select More options > Download .

Can a stream video be downloaded? ›

Can I download and save a live stream video? Yes! You can use a screen recorder to capture what's happening on the screen (including audio).

References

Top Articles
Latest Posts
Article information

Author: Kareem Mueller DO

Last Updated:

Views: 5891

Rating: 4.6 / 5 (46 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Kareem Mueller DO

Birthday: 1997-01-04

Address: Apt. 156 12935 Runolfsdottir Mission, Greenfort, MN 74384-6749

Phone: +16704982844747

Job: Corporate Administration Planner

Hobby: Mountain biking, Jewelry making, Stone skipping, Lacemaking, Knife making, Scrapbooking, Letterboxing

Introduction: My name is Kareem Mueller DO, I am a vivacious, super, thoughtful, excited, handsome, beautiful, combative person who loves writing and wants to share my knowledge and understanding with you.