VideoHelp Forum


Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!


Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.


+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 30 of 60
Thread
  1. I'm from Italy, and I'm trying to download videos from Rai Play, but unable to. I tried using yt-dlp but it's giving me a "The video is DRM protected" error.

    Here is the episode I'm trying to download:

    https://www.raiplay.it/video/2022/12/Mondiali-di-calcio-Qatar-2022---Finale-Argentina-...56f66aac1.html

    Could anyone be so kind to provide me the key? Because I tried wit GetWVKeys but I couldn't get it.

    Thanks.
    Quote Quote  
  2. For yt-dlp to download drm protected videos, you need to add --allow-u

    Keys for decryption
    Code:
    0ac9b1e16a3430ff892e1cac24748219:77973da183d8964e91e782e2474b88dd
    Quote Quote  
  3. Originally Posted by [ss]vegeta View Post
    For yt-dlp to download drm protected videos, you need to add --allow-u

    Keys for decryption
    Code:
    0ac9b1e16a3430ff892e1cac24748219:77973da183d8964e91e782e2474b88dd
    I tried to decrypt with mp4decrypt, but it didn't work

    Maybe because I downloaded the file from https://streamcdnr13-b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr2/podcastcdn/drm_r...t_mvnumber.mpd ?

    Because this is the high definition version, I don't know.
    Last edited by phineferb98; 19th Dec 2022 at 16:43.
    Quote Quote  
  4. The mpd you posted and the mpd I got are the same. They contain only one video stream width="928" height="522"
    The KID inside the MPD matches the KID from the keys so I see no reason why it won't work.

    Here's your video
    https://drive.google.com/file/d/1dUocAczZrCD4r4H-tSEF4QDqdjoNv-7b/view?usp=sharing
    Last edited by [ss]vegeta; 20th Dec 2022 at 00:32.
    Quote Quote  
  5. Originally Posted by [ss]vegeta View Post
    The mpd you posted and the mpd I got are the same. They contain only one video stream width="928" height="522"
    The KID inside the MPD matches the KID from the keys so I see no reason why it won't work.
    This is the technical information of the video i downloaded and i can't decrypt

    But thanks for the video anyway.
    Image Attached Thumbnails Click image for larger version

Name:	Screenshot 2022-12-20 alle 09.58.13.png
Views:	31
Size:	37.7 KB
ID:	68232  

    Quote Quote  
  6. maybe you used a wrong command for mp4decrypt

    show us your command
    Quote Quote  
  7. .. but sorry: your video (from ur shot) is 1600x900
    the key provided from vegeta is 928x522 only ....

    for this reason the key not work ...
    Quote Quote  
  8. where you have find 1600x900?
    from yt-dlp i see only 928x522 (same as vegeta, i think)

    Image
    [Attachment 68235 - Click to enlarge]


    the key from vegeta not work for you because you have download the max res 1600x900, unknow to us ...
    also with N_m3u8DL-RE same res. or maybe have you find an hide mpd
    the built extract of yt-dlp not work with drm video, so need to use mod only. but from mpd the res is one only 928x522
    weird situation ...
    Quote Quote  
  9. Originally Posted by lomero View Post
    where you have find 1600x900?
    from yt-dlp i see only 928x522 (same as vegeta, i think)

    Image
    [Attachment 68235 - Click to enlarge]


    the key from vegeta not work for you because you have download the max res 1600x900, unknow to us ...
    also with N_m3u8DL-RE same res. or maybe have you find an hide mpd
    the built extract of yt-dlp not work with drm video, so need to use mod only. but from mpd the res is one only 928x522
    weird situation ...
    I downloaded the max resolution video from this site:

    https://streamcdnr13-b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr2/podcastcdn/drm_r...t_mvnumber.mpd

    This is a trick I learned on other videos of the same site: you can choose the resolution based on the kb/s (3600, 2400 or 1800 are usually the choices that can be made on the RaiPlay website).

    For drm-free videos I've never had a problem.
    Quote Quote  
  10. Originally Posted by phineferb98 View Post
    What did you used to download?
    That link serves me the same mpd, with only one video resolution, the one I mentioned before.
    Can you download the mpd and upload here?
    I still think something's wrong at your side.

    The site's player doesn't let me choose different bitrates.
    Quote Quote  
  11. Originally Posted by [ss]vegeta View Post
    What did you used to download?
    I used this code

    Code:
    yt-dlp --allow-u https://streamcdnr13-b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr2/podcastcdn/drm_root/DRM_Qatar2022/18682802_3600/manifest_mvnumber.mpd
    And than I tried with

    Code:
    mp4decrypt --key 0ac9b1e16a3430ff892e1cac24748219:77973da183d8964e91e782e2474b88dd decrypted_video.mp4 video.mp4
    Quote Quote  
  12. it's still weird that yt-dlp would download a 1600 resolution video from that mpd

    anyways

    concerning mp4decrypt you should check the filenames of the downloaded video and audio

    the last thing from the code expects the encrypted video first, then you choose the new name of the decrypted video

    so the code you posted will try to decrypt the encrypted video named "decrypted_video.mp4" and it will create a new, decrypted video file, named video.mp4
    Quote Quote  
  13. Originally Posted by [ss]vegeta View Post
    it's still weird that yt-dlp would download a 1600 resolution video from that mpd

    anyways

    concerning mp4decrypt you should check the filenames of the downloaded video and audio

    the last thing from the code expects the encrypted video first, then you choose the new name of the decrypted video

    so the code you posted will try to decrypt the encrypted video named "decrypted_video.mp4" and it will create a new, decrypted video file, named video.mp4
    Ok I will try to change the code. Instead can you check if the decryption key for the mpd that I provided is the same as you gave yesterday?
    Quote Quote  
  14. it's the same
    I already uploaded your video, check up there
    Quote Quote  
  15. Code:
    mp4decrypt --key 0ac9b1e16a3430ff892e1cac24748219:77973da183d8964e91e782e2474b88dd decrypted_video.mp4 video.mp4
    is at least wrong. You need first the original video source, then the decrypted destination.
    The mpd-problem could simply be that @phineferb98 is logged in, and thus gets higher res, while the others are not.
    Quote Quote  
  16. Originally Posted by Quint View Post
    Code:
    mp4decrypt --key 0ac9b1e16a3430ff892e1cac24748219:77973da183d8964e91e782e2474b88dd decrypted_video.mp4 video.mp4
    is at least wrong. You need first the original video source, then the decrypted destination.
    The mpd-problem could simply be that @phineferb98 is logged in, and thus gets higher res, while the others are not.
    If you try to download the video from this link:

    https://streamcdnr13-b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr2/podcastcdn/drm_r...t_mvnumber.mpd

    what resolution comes out?

    I tried to change the code for mp4decrypt but the video remains encrypted

    Anyway, thank you all for your availability and help.
    Quote Quote  
  17. with your last mpd always show only 928x522

    Image
    [Attachment 68237 - Click to enlarge]


    but seem only... i have download only 1% of video and this is up to 5.2GB
    and confirmed: high resolution here 1600x900

    Image
    [Attachment 68238 - Click to enlarge]


    but the key provided by vegeta not work for this resolution. can't decrypt. need another one for this resolution
    Quote Quote  
  18. I downloaded the mpd and the only video data it contains is this:
    Code:
    <AdaptationSet id="0" group="1" mimeType="video/mp4" width="928" height="522" par="16:9" frameRate="25" segmentAlignment="true" startWithSAP="1" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
    Edit: Oh, @lomero was faster. So it is specified a pseudo-resolution, but you get real 1600*900? Funny.
    Quote Quote  
  19. Originally Posted by Quint View Post
    but you get real 1600*900? Funny
    yeah. weird
    and i think need l1 to get key for this high resolution
    Last edited by lomero; 20th Dec 2022 at 09:30.
    Quote Quote  
  20. But if this is the only resolution you can get: For what is the found key?
    Quote Quote  
  21. Originally Posted by Quint View Post
    For what is the found key?
    For the video you get when you use the actual mpd from network tab
    Code:
    https://streamcdnr13-b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr1/podcastcdn/drm_root/DRM_Qatar2022/18682802_,1800,2400,3600/manifest_mvnumber.mpd?hdnea=st=1671549602~exp=1671549752~acl=/*~hmac=cd8832063a2f1dbc5f18ffe2edd39d11e0b1765b53eadb8b8f25f1d653eb79d8p
    Quote Quote  
  22. Originally Posted by Quint View Post
    But if this is the only resolution you can get: For what is the found key?
    I think the key sent earlier is for the 1800 kb/s version, which is the version on the official site, while I'm looking for the key for this 3600 kb/s version.

    But I could easily be wrong since I'm very ignorant in this matter.

    So can anyone help me to get the key for the video I get from this mpd?

    Code:
    https://streamcdnr13-b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr2/podcastcdn/drm_root/DRM_Qatar2022/18682802_3600/manifest_mvnumber.mpd
    Last edited by phineferb98; 20th Dec 2022 at 10:30.
    Quote Quote  
  23. the mpd is the same

    Image
    [Attachment 68241 - Click to enlarge]


    only change _,1800,2400,3600

    and last part after mpd mpd?hdnea=st=1671549602~exp=1671549752~acl=....
    Quote Quote  
  24. 1280x720. no key needed
    Code:
    N_m3u8DL-RE "https://hlsazv3-dc-euwe.akamaized.net/subtl_proxy/d34ba55c-61ab-4d10-abaa-d3c2f1f2afe4/INTEGRALE-20221218202523_18682802.ism/manifest(format=m3u8-aapl)"
    Last edited by lomero; 20th Dec 2022 at 12:55.
    Quote Quote  
  25. Originally Posted by lomero View Post
    1280x720. no key needed
    Code:
    N_m3u8DL-RE "https://hlsazv3-dc-euwe.akamaized.net/subtl_proxy/d34ba55c-61ab-4d10-abaa-d3c2f1f2afe4/INTEGRALE-20221218202523_18682802.ism/manifest(format=m3u8-aapl)"
    I have a MacOS system.
    Quote Quote  
  26. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by phineferb98 View Post

    I have a MacOS system.
    I am very pleased for you.

    I'm less pleased you couldn't find this place yourself: - https://github.com/nilaoda/N_m3u8DL-RE/releases
    Quote Quote  
  27. update: also m3u8 link is drm encrypted ...

    so, try with:
    Code:
    N_m3u8DL-RE -M format=mp4 --key 0ac9b1e16a3430ff892e1cac24748219:77973da183d8964e91e782e2474b88dd "https://hlsazv3-dc-euwe.akamaized.net/subtl_proxy/d34ba55c-61ab-4d10-abaa-d3c2f1f2afe4/INTEGRALE-20221218202523_18682802.ism/manifest(format=m3u8-aapl)"
    this is original key from vegeta, but with m3u8 link to 720p only
    maybe it work. i don't have tested (no time to download all this video for test only)
    this is your last way

    macOS version
    Code:
    https://github.com/nilaoda/N_m3u8DL-RE/releases/download/v0.1.5.2-beta/N_m3u8DL-RE_Beta_osx-x64_20221220.tar.gz
    Quote Quote  
  28. Originally Posted by phineferb98 View Post
    Originally Posted by [ss]vegeta View Post
    For yt-dlp to download drm protected videos, you need to add --allow-u

    Keys for decryption
    Code:
    0ac9b1e16a3430ff892e1cac24748219:77973da183d8964e91e782e2474b88dd
    I tried to decrypt with mp4decrypt, but it didn't work

    Maybe because I downloaded the file from https://streamcdnr13-b70cb04c54ab478189e9d8ee45637b13.msvdn.net/ostr2/podcastcdn/drm_r...t_mvnumber.mpd ?

    Because this is the high definition version, I don't know.
    can you tell me how you found this key?
    Quote Quote  



Similar Threads

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