Skip to content

Instantly share code, notes, and snippets.

@SethuSenthil
Created March 30, 2023 19:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SethuSenthil/536ea564a5028e10a7267e7647c45f46 to your computer and use it in GitHub Desktop.
Save SethuSenthil/536ea564a5028e10a7267e7647c45f46 to your computer and use it in GitHub Desktop.
Download Kaltura (Zoom Cloud) Videos

Download Kaltura (Zoom Cloud) Videos

Some instutions and entriprises ristrict zoom recording to cloud recording and upload them to the Kaltura hosting solution Kaltura does not let you download the video to your disk :( this makes it annoying to downlooad the video to your computer so you can do whatever you want to it.

The following simple guide lets you download videos from Kaltura to your disk

How does it work

The video is in a m3mu format which is basically a text file with a bunch mp4 urls to clips of the video, the following code extracts the URLs and merges them into one MP4 file

//inject this code on your Kaltura portal to get the video URL by running pasting this in the JS console
const videoURL = document.querySelector('.videoDisplay video').src
console.log('videoURL', videoURL)
copy(videoURL) //copy to clipboard
//npm i m3u8-to-mp4 to install module
const KALTURA_VIDEO_URL = "VIDEO URL FROM FIRST STEP HERE"
const m3u8ToMp4 = require("m3u8-to-mp4");
const converter = new m3u8ToMp4();
(async function() {
await converter
.setInputFile(KALTURA_VIDEO_URL)
.setOutputFile("FILENAME.mp4")
.start();
console.log("File converted and saved");
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment