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.
+ Reply to Thread
Results 1 to 30 of 60
-
-
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 15:43.
-
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 -
-
.. but sorry: your video (from ur shot) is 1600x900
the key provided from vegeta is 928x522 only ....
for this reason the key not work ... -
where you have find 1600x900?
from yt-dlp i see only 928x522 (same as vegeta, i think)
[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. -
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. -
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
Code:mp4decrypt --key 0ac9b1e16a3430ff892e1cac24748219:77973da183d8964e91e782e2474b88dd decrypted_video.mp4 video.mp4
-
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 -
-
Code:
mp4decrypt --key 0ac9b1e16a3430ff892e1cac24748219:77973da183d8964e91e782e2474b88dd decrypted_video.mp4 video.mp4
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. -
with your last mpd always show only 928x522
[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
[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 -
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">
-
Last edited by lomero; 20th Dec 2022 at 08:30.
-
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
-
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 09:30.
-
the mpd is the same
[Attachment 68241 - Click to enlarge]
only change _,1800,2400,3600
and last part after mpd mpd?hdnea=st=1671549602~exp=1671549752~acl=.... -
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 11:55.
-
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 -
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)"
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
Similar Threads
-
Vdocipher decryption key retrieval
By Diazole in forum Video Streaming DownloadingReplies: 98Last Post: 13th May 2024, 21:40 -
Widevine Content Key Decryption
By vfa1 in forum Video Streaming DownloadingReplies: 26Last Post: 12th Jan 2024, 05:23 -
Cannot get decryption key from Channel 4...
By hedgehog90 in forum Video Streaming DownloadingReplies: 2Last Post: 7th Nov 2022, 06:46 -
Am I doing this right? (requesting decryption key from license server)
By rajhlinux in forum Video Streaming DownloadingReplies: 56Last Post: 1st Apr 2022, 17:36 -
How do I get the decryption key
By Bakekalu in forum Video Streaming DownloadingReplies: 6Last Post: 5th Jul 2021, 01:25