Skip to content

Instantly share code, notes, and snippets.

@giansegato
Created September 5, 2020 14:20
Show Gist options
  • Save giansegato/912d8036df0623fecd2127f3b4d43ca8 to your computer and use it in GitHub Desktop.
Save giansegato/912d8036df0623fecd2127f3b4d43ca8 to your computer and use it in GitHub Desktop.
How to download a video from Kaltura video service

Kaltura Video Downloader

Also known as: find and merge m3u8 files

⚠️ WARNING ⚠️ → use this guide at your sole discretion.

Check the copyright laws and the term of service before using it. You might be breaking the law!


  1. Open the Network tab of the Chrome Inspector
  2. Before all the network calls to .ts video segment files, you'll find a request to index.m3u8: this is the playlist
  3. Download it by copying-pasting the URL to the m3u8 file into the browser
  4. Use the following command to download the video: ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto -i ./your_playlist_file.m3u8 -c copy -bsf:a aac_adtstoasc new_file.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment