Hello, my school hosts lectures on SharePoint, however, these lectures are view only and the stream data is drm locked. Are there any tools to download drm locked content or SharePoint videos? yt-dlp says it’s drm locked, and ffmpeg says it’s malformed. I tried looking through the megathread but mostly found things to find content, not download it.

  • curbstickle@anarchist.nexus
    link
    fedilink
    English
    arrow-up
    14
    ·
    edit-2
    7 天前

    I’m wondering if the issue is SharePoint, not any DRM. yt-dlp and ffmpeg wouldn’t be logged in, causing the problem. Try this:

    1. Login into sharepoint in your browser

    2. Get cookies for the page using a plugin, there are a variety of them out there and depends on your browser, but should be easy to find

    3. Using the file you download, run yt-dlp like this:

    yt-dlp --cookies=cookies.txt <url> -S proto:dash
    
  • Lyra_Lycan@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    9
    ·
    7 天前

    yt-dlp crew explicitly state they won’t touch DRM for good reasons, and that’s fair. Companies using it for malicious reasons like paywalling/gatekeeping education are assholes.

    I found two places with guides on how to use yt-dlp or ffmpeg:
    Stack Overflow
    Reddit

    Failing that, OBS (you might be able to stream the file through VLC first, idk) is your friend

    • HappyFrog@lemmy.blahaj.zoneOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 天前

      I tried these methods already. It was this stream link that yt-dlp said was drm locked and ffmpeg aaid was malformed. I’ll try the obs method later. Thank you :3

      Edit: looking closer I didn’t shorten the url. I might try this later.

  • Siru@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    22
    ·
    7 天前

    Not particularly helpful as an answer, but oftentimes the reson why people do not broadly share how to get past DRM, is because they use bugs, that might get fixed if they become too known.

    That being said, have you tried to use somethign like OBS and just do a screengrab instead of downloading?

      • UnRelatedBurner@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        7 天前

        do not ask me how, but once I found the mouth of a rabbit hole; You can create a virtual desktop, or montior. Render to it, and capture it. glhf