Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 61 to 90 of 321
Thread
-
The method is so simple:
1- List all of the audio and video formats in a MPD:
I suppose you've already downloaded yt-dlp... In the folder of "yt-dlp.exe", go to File > Open Windows Powershell and enter the following command:
./yt-dlp --list-formats --allow-unplayable-formats http://www.xxxxblablabla.mpd (link of your mpd)
2- Download the audio/video stream you want, by entering its ID which is listed by yt-dlp.
For example, if you want stream 8, the command will be like this:
./yt-dlp -f 8 --allow-unplayable-formats http://www.xxxxblablabla.mpd
Audio files are always downloaded very slower than video files. Be patient. -
-
Powershell command-line template:
./mp4decrypt --key KID:KEY InputFile OutputFile
Example for a video file:
./mp4decrypt --key f22422630a704379b08e7f6ad6b70801:69e2113cbb00435cb 21b79f6d9d2c6e1 encrypted.mp4 decrypted.mp4
Rename the mp4 video file you downloaded as "encrypted". Place "mp4decrypt.exe" and "encrypted.mp4" in the same folder. You'll get the decrypted file in the same folder.
For audios, file extensions are "m4a". -
Don't thank me, I'm just a messenger
Thank to members like [ss]vegeta. I learned from them. -
Hola, no sé si me pudieras ayudar, tengo el .mpd, pero al realizar estos pasos no consigo obtener las claves para descifrar el audio encriptado.
¿Existe alguna forma de obtener las claves partiendo de la dirección .MPD?
Al poner ./yt-dlp -f 8 --allow-unplayable-formats [url del MPD]
Me apararece:
[generic] stream: Requesting header
WARNING: [generic] Falling back on generic information extractor.
Alguien sabe como se soluciona o si tiene solución?
Muchísimas gracias por toda vuestra ayuda. -
@Joseitos
Use Google Translate please. Write in English.
Here's what Joseitos said:
Hi, I don't know if you could help me, I have the .mpd, but when I do these steps I can't get the keys to decrypt the encrypted audio.
Is there any way to get the keys from the .MPD address?
By putting ./yt-dlp -f 8 --allow-unplayable-formats [MPD url]
It appears to me:
[generic] stream: Requesting header
WARNING: [generic] Falling back on generic information extractor.
Does anyone know how to fix it or if there is a solution?
Thank you very much for all your help.
To get keys, you need PSSH, license URL and license request headers. And a working (not-revoked) CDM, and a Python script or a website like http://getwvkeys.cc
I wrote how to find PSSH.
You can find license URL and headers in "Developer Tools" section (in a browser, Edge/Firefox/Opera)
And... "./yt-dlp -f 8 --allow-unplayable-formats" is just a random example. In your case, stream IDs will be different.Last edited by ridibunda; 14th Feb 2022 at 03:15.
-
-
Thanks for the reply @ridibunda
First of all, thank you for how well you clarify each of the steps.
I suppose it is not as simple as it seems, although everything has its trick.
I've managed to get the PSSH inside the MPD, but I can't find the license URL and license request headers; When I access Inspect on Network from Chrome, the audio and video file appears, but I can't find any license URL data in the Header and it doesn't find anything if I filter by widevine.
This is what appears to me:
General:
Request URL: https://dmf9cnjua2s32.cloudfront.net/media/zZ3b0ti6qBsfY/0a64d520/audio_0_izwjl_68.mp4
Request Method: GET
Status Code: 206
Remote Address: 54.192.92.182:443
Referrer Policy: strict-origin-when-cross-origin
Response Header:
accept-ranges: bytes
age: 97
content-length: 984
content-range: bytes 0-983/13456347
content-type: video/mp4
date: Mon, 14 Feb 2022 15:38:27 GMT
etag: "56e57726ca5b8a185d74bc5896f6beb4-3"
last-modified: Thu, 30 Sep 2021 15:35:47 GMT
server: AmazonS3
via: 1.1 6703806f75b4c30eb9a13e2a46fb4966.cloudfront.net (CloudFront)
x-amz-cf-id: Sc2M1wrZZ-C0M5a9UcJrk6giHhUcuUtC3FtYFZ8_IEBA6bg8Os5AAw==
x-amz-cf-pop: MAD51-C3
x-cache: Hit from cloudfront
Request Header:
:authority:dmf9cnjua2s32.cloudfront.net
:method: GET
ath: /media/zZ3b0ti6qBsfY/0a64d520/audio_0_izwjl_68.mp4
cheme: https
accept: */*
accept-encoding: identity
accept-language: es-ES,es;q=0.9
if-range: "56e57726ca5b8a185d74bc5896f6beb4-3"
range: bytes=0-983
referer: https://dmf9cnjua2s32.cloudfront.net/playerAssets/1.6.10/embed/index.html
sec-ch-ua: " Not A;Brand";v="99", "Chromium";v="98", "Google Chrome";v="98"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: same-origin
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.82 Safari/537.36
This is what I can get, then in the other tabs like the Response tab I get some encrypted lines but I can't copy them, when copying and pasting it doesn't paste anything.
I don't know if I can get anything with these data or if I should rest from trying. -
Vegeta, I have a DRM encrypted .mp4 video file and .m4a audio file.
Would you be able to please help me on how to decrypt these so I can watch the episode?
Thanks so much. -
-
@Joseitos
To find request headers, go to Developer Tools > Network... Search for values like "widevine" "drm" "license" "lic" "cenc"... (Cenc is for MUBI).
You will find more than one. Once you find 2-3 lines with the same name like "cenc", take the one with the longest content-length. You'll see all content length values. You will also see the license URL there.
License URL can also be seen in Developer Tools > Console (with EME Logger script)
If you cannot find anything, reload the video playback, try again.
If you find nothing again, then it means they are hidden in site-design, so you will have to use a proper Python script to reach them. -
Hey, So i have the MPD file and from it i get the PSSH and the KID and i download the files thru N_m3u8DL CLI. After that, i try using mp4decrypt and when i do that and it finishes i play the video and it is just a blank screen.
Am I doing something wrong? I am fairly new with this so please bear with me. -
You have the key decryption when you use mp4decrypt.
If you don't have the keys, it won't work. You need a cdm and WKS-KEYS or the NotAGhost site to get the keys.
http://getwvkeys.cc/ -
Thanks! That worked!. How do i do that with audio, or is this with video only?
-
-
thanks for that but i ran into what i think is a problem when i put the pssh in the website it gives me multiple keys. which one is the correct one?
-
-
It looks like that but i am pretty sure I am doing something wrong because I don't change the license URL. I Leave it to be the default one. How do i get the proper License URL from the MPD?
-
i also need some help if you can,i am trying to download from a provider in my country that also uses drm protection,through the directions i read from here i got the pssh and licence from .mpd and then i used http://getwvkeys.cc/ and got 5 keys,when i try decrypt with mp4decrypter i have a new video but it doesnt seem to be correct,i need some help on if i am gothering the correct information please.
-
Thanks to the kind folks here I managed to download and decrypt a widevine protected video.
While I managed to decrypt both video/audio files, I'm still missing the subtitles, this is one of the lines I found in the mpd file<Representation codecs="stpp" startWithSAP="1" mimeType="application/mp4" bandwidth="4096" id="4" />
Here's the code I used to download the mpd file:yt-dlp --allow-unplayable-formats "mpd" -
Similar Threads
-
Download encrypted video via DRM protected MPD manifest
By Beta2k in forum Video Streaming DownloadingReplies: 19Last Post: 15th Jan 2024, 11:47 -
mpd protected with DRM?
By chisdchisdq in forum Video Streaming DownloadingReplies: 21Last Post: 24th Mar 2022, 23:14 -
How to download mpd stream (DRM protected)?
By bodasaud in forum Video Streaming DownloadingReplies: 5Last Post: 3rd Feb 2021, 08:41 -
Downloading mpd stream (DRM protected?)
By odyssey1234 in forum Video Streaming DownloadingReplies: 8Last Post: 14th Aug 2019, 22:26 -
Impossible Website: MPD / Fragmented Video / DRM Protected - Need Help!
By dynrte in forum Video Streaming DownloadingReplies: 1Last Post: 3rd Sep 2018, 00:03