VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. Another MPD question! 😱😱😱

    I tried searching, a lot of hours. Probably even tried the most dumbest things without knowing what it does. Along with all these Python scripts.

    But the worst part was reading some of the forum answers.


    I wanted to help someone. I don't have the PSSH infront of me right now. I only need to know what I need to do with the PSSH and MPD files. (A lot of people ask for PSSH, then give you a key. They do not say from where tf they got it)


    First, we're talking about Widevine.

    I know the things that I need:
    • A .MPD
    • A License URL
    • Some crap with the request headers for headers.py files that never work
    • The m4a and the mp4 from the MPD with yt-dlp (no clue if the PSSH change or something)


    But then, I don't know an exact precise way to obtain the rest.

    I only know that it involves some "KID" and "SYSTEM ID".
    PSSH found within a MPD, which apparently is in the "init.MPD" like file.

    Once the keys have been obtained, then they work with mp4decrypt from bento4, apparently.


    For this case, I was trying stuff from here: https://mediasetinfinity.mediaset.it/
    You don't need anything special there to access videos, most are free idk, but region-locked. However, DRM protected. Except trailers or first episodes.

    The first thing, is that you won't even manage to get any of these links, without using a VPN (or idk) or being in Italy. (If someone knows a better free method or workaround for this, let me know) Free methods only though, otherwise ig cope with Hola VPN.

    I tried searching for free ones, and the only working one was Hola VPN. (Which is the annoying thing ever, when you start it and stop it, you need "to load free time" and wait 30 minutes) I've tried Italian DNS or Italian Proxies, they go through the "You're not in this region" Popup. But the video does not load.


    Anyways, once you get to that part. Simply get an episode. For this example I will mention two.

    Easy: https://mediasetinfinity.mediaset.it/video/myhomemydestiny2/episodio-1_F312842101000104
    This URL has a MPD, it's not protected and works even in VLC, nothing needed.



    Difficult: https://mediasetinfinity.mediaset.it/video/myhomemydestiny2/episodio-2_F312842101000204
    The rest of the episodes of this series, is DRM protected labeled as wv. But the video loads in the browser.

    It also loads in this Chrome Extension: https://chrome.google.com/webstore/detail/native-mpeg-dash-%20-hls-pl/cjfbmleiaobegage...mlhmaadepdeedn

    If you provide it the License URL, which looks like
    Code:
    https://widevine.entitlement.theplatform.eu/wv/web/ModularDrm/getRawWidevineLicense?
    on that extension, it loads the video as well.

    I've tried to console.log the sh*t out of that extension, but no keys either. The only thing that I read from there, is that it uses a com.widevine.alpha key system.



    Anyways. That's pretty much how you obtain all the info things needed. Idk about the request stuff, but getting the Headers isn't hard from inspect element. I just need to know which correct headers.


    You get the mp4 and m4a like that e.g.
    Code:
    yt-dlp –allow-unplayable -o myEncryptedvideo.mp4  <your MPD url found at item 2>
    At the end you combine both decrypted ones with ffmpeg or something.



    Now what I need to know, is what do you do next to obtain the key and decrypt the .mpd?

    It would be cool if someone can try getting the .mpd key for themselves and then tell how they did it, so that I can do it as well.


    I've been looking at those getwvkeys.cc looking like websites, which have keys, but I put them all in mp4decode.exe and it didn't output a video though.
    And they had more than one key. And the .mpd has pssh also more than once
    Last edited by BlueVideo10; 11th Oct 2023 at 14:02.
    Quote Quote  
  2. Okay so, I think I managed to get the key. I simply followed everything here and then put it on a website that can be found in this forum that is like getwvkey.cc but no Discord

    eitherways

    this was the forum post https://forum.videohelp.com/threads/408031-Dumping-Your-own-L3-CDM-with-Android-Studio

    Just decrypted the .mp4 and I got a video :O

    no clue about the quality though



    But what does website even do? The website got the keys for me, but what did it actually do? I wanna know, that knowledge is going to be useful if that website ever disappears.
    Last edited by BlueVideo10; 11th Oct 2023 at 17:39.
    Quote Quote  
  3. Originally Posted by BlueVideo10 View Post
    Okay so, I think I managed to get the key. I simply followed everything here and then put it on a website that can be found in this forum that is like getwvkey.cc but no Discord

    eitherways

    this was the forum post https://forum.videohelp.com/threads/408031-Dumping-Your-own-L3-CDM-with-Android-Studio

    Just decrypted the .mp4 and I got a video :O

    no clue about the quality though



    But what does website even do? The website got the keys for me, but what did it actually do? I wanna know, that knowledge is going to be useful if that website ever disappears.
    Hi, which website did u visit to get the keys?
    Quote Quote  
  4. Banned
    Join Date
    Apr 2022
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by BlueVideo10 View Post
    I know the things that I need:
    A .MPD
    A License URL
    Some crap with the request headers for headers.py files that never work
    The m4a and the mp4 from the MPD with yt-dlp (no clue if the PSSH change or something)


    But then, I don't know an exact precise way to obtain the rest.
    What do you mean "the rest"? I don't know what else you should get to finish all these stuff.
    PSSH + License URL --(Python)-> Key(s)
    DASH manifest (.mpd) --(yt-dlp)-> Encrypted video
    Key(s) + Encrypted video --(mp4decrypt)-> Decrypted video
    That's all. What else do you need?

    Originally Posted by BlueVideo10 View Post
    I've tried to console.log the sh*t out of that extension, but no keys either. The only thing that I read from there, is that it uses a com.widevine.alpha key system.
    Don't ever think that. It's a free extension on that Google Webstore, so don't expect that it will spit the keys out.

    Originally Posted by BlueVideo10 View Post
    Now what I need to know, is what do you do next to obtain the key and decrypt the .mpd?
    You have explained all the processes already. And so have I.
    One more thing, your key to Episode 2 is:
    Code:
    af26aa90ba93f31818cd96635deabff8:1c66a1c18a099c419904b16dfcd3f062
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!