Skip to content

Instantly share code, notes, and snippets.

@Jxck-S
Last active April 16, 2025 19:00
Show Gist options
  • Save Jxck-S/27c6b979be66914f4e4de0a6f4651c6e to your computer and use it in GitHub Desktop.
Save Jxck-S/27c6b979be66914f4e4de0a6f4651c6e to your computer and use it in GitHub Desktop.
A guide to downloading videos from SharePoint/OneDrive repositories that have disabled the download functionality. This method uses browser inspection tools and FFmpeg to extract video content from SharePoint manifests.

SharePoint Video Download Guide

Overview

This guide explains how to download videos from SharePoint or OneDrive when the download functionality has been disabled. The process involves identifying the video stream URL and using FFmpeg to download it.

Methods to Get the Video URL

Method 1: Chrome Extension (Recommended)

  1. Install the SharePoint Video Downloader Extension
  2. Navigate to the SharePoint video you want to download
  3. Click the extension icon to generate the download URL and FFmpeg command

Method 2: Manual Inspection

  1. Open the video in SharePoint or OneDrive
  2. Open Chrome DevTools (F12 or Right-click → Inspect)
  3. Go to the Network tab
  4. Filter by "videomanifest"
  5. Play the video to capture the manifest URL
  6. Copy the URL for use with FFmpeg
  7. Remove everything after &format=dash in the URL

using YT-DLP

Some users have used yt-dlp to download SharePoint videos: Get yt-dlp

yt-dlp "VIDEO_MANIFEST_URL" -o "output.mp4"

Downloading in Higher Quality

The default FFmpeg command often downloads the lowest quality stream, as the first number index is the lowest quality. To get better quality:

  1. Analyze available streams with:

    ffprobe -i "VIDEO_MANIFEST_URL" -show_streams
    
  2. Identify the best video and audio stream indexes

  3. Download with those specific streams:

    ffmpeg -i "VIDEO_MANIFEST_URL_HERE" -map 0:3 -map 0:7 -c copy output.mp4
    

    (Replace 3 and 7 with your desired video and audio stream indexes)

Use Cases

This technique works for any SharePoint/OneDrive videos with downloads disabled, including:

  • Corporate SharePoint libraries
  • Educational institution content
  • Law enforcement footage (e.g., UCF Police body cam footage)
  • University conduct office recordings (e.g., UCF SCAI footage)

Prerequisites

  • FFmpeg installed on your system
  • Chrome browser (for manual inspection or extension)

UCF-Specific Application

This can be used to download body cam footage from UCF Police or footage from UCF Office of Student Conduct and Academic Integrity (SCAI), that is shared using SharePoint but downloading is disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment