Hello everybody, long time reader, first time poster!
Until recently, PSSH, N_m3u8DL-RE and the likes were unknown to me. Therefore I do apologize if my question is rather silly.
However I feel like I read up as much as I could on different sources and I'm stuck. I was hoping somebody could lead me in the right direction. I truly don't expect all the answers for clear reasons but without a push in the right direction I have no clue what to do next.
I'm trying to get this video https://vtm.be/vtmgo/afspelen/cba21b50-2963-4859-bd43-f52281f89dc4
Using N_m3u8DL-RE I got a mp4 and a m4a file that I have to decrypt (as far as I know).
To decrypt with Widevine I need the PSSH, license and authorization. The last two I'm quite sure are right, still I get the following error:
ERROR
Error 412: <!doctype html><html lang="en"><head><title>HTTP Status 412 – Precondition Failed</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 412 – Precondition Failed</h1></body></html>
I'm pretty sure the problems lays in using the wrong PSSH. However I'm at a loss at trying to get the right one, since I've used every option I have.
The index.mpd file has about 4 different PSSH keys, the first one for example being: AAAAjXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAG0IARIQMH OnDEalMRm8LR73LALh+BoIY2FzdGxhYnMiRGV5SmhjM05sZEVs a0lqb2lZV1ExWlRGak9HUXRNVFJoT1MwMFpUaGxMV0kzTjJRdE 1qVTJOR0kzWldFek9XWTFJbjA9MgdkZWZhdWx0
Using the EME logger I get: AAAAjXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAG0IARIQMH OnDEalMRm8LR73LALh+BoIY2FzdGxhYnMiRGV5SmhjM05sZEVs a0lqb2lZV1ExWlRGak9HUXRNVFJoT1MwMFpUaGxMV0kzTjJRdE 1qVTJOR0kzWldFek9XWTFJbjA9MgdkZWZhdWx0
Using the PSSH Box Generator I get:
AAAAMnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABISEF3Vtd gntDwXq1aI/CiH9l0=
I've used both options but I still get the error. Is there an obvious mistake I'm making?
Here is a printscreen of the Widevine
https://prnt.sc/YF8uaVMduVz5
I'm not sure if this is an easy to answer question and I thank everyone in advance!
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
+ Reply to Thread
Results 1 to 5 of 5
-
-
There are several aspects about VTM you need to pay attention to, but first: Both of your PSSH values are correct. The difference is that one contains Key ID and Content ID, while the other is only Key ID. Both will work here. In the future when looking for the correct PSSH inside the MPD, look for "<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">". That is the Sytem ID for Widevine, and whatever PSSH follows is the one you want. If it doesn't exist, then it's time to generate one using the KID.
Now for VTM specifically, there are a few steps you need to take:
1. Some bright person figured out that the full license is https://lic.drmtoday.com/license-proxy-widevine/cenc/?specConform=true.
2. You need the "x-dt-auth-token" as your only header. In your screenshot, you have Bearer. I don't know where you got that, but it's not for this particular service.
3. You need to send the request from a BE ip-address. Which means that cdrm-project will not work, unless you can find a working proxy.
4. The response you get from that request will need to be parsed which, again, cdrm-project cannot handle. You will need a custom script.
5. On VTM, the audio and every version of the video have their own keys. So you need to match accordingly:
Code:[CONTENT] : 3f5c94a65c3e3be8bedc63031a4e5736:12a7eeab3275eaf10ece6f8458528f66 [CONTENT] : be250f7e2445326a912f2441a467c86c:14f0d687abbba68bc6be28dd8fa3320b [CONTENT] : 3073a70c46a53119bc2d1ef72c02e1f8:202be95c07af39e36443024540749afc [CONTENT] : 49dbbd63b7fd3296becc5bdaa8746db6:f0ca9b21ce18a99850654824875a708d [CONTENT] : e9820978a4893686bda6facceb1cf255:0360d583ac8a9a51ae2de3c3d8109c30 [CONTENT] : 5dd5b5d827b43c17ab5688fc2887f65d:9a91643f2a96a12bcad2677142f57518 [CONTENT] : e30d4fec94df42d59fc3427f17aeb429:5c025ffc9f7a68d334fc3880bc0ef0f3
-
I just wanted to take a second to thank you again. Since a few hours I completely understand all of this and I've downloaded 2 episodes (one with your codes and one finding it myself).
Thank YOU so much for helping me out, you've really started me out here, I'm so grateful!!
Similar Threads
-
how to work out the pssh when not shown in the mpd
By kev043 in forum Video Streaming DownloadingReplies: 90Last Post: 4th Nov 2023, 09:47 -
Mpd Kid pssh how do I download it?
By cinamews in forum Video Streaming DownloadingReplies: 9Last Post: 24th Oct 2022, 12:20 -
help generate pssh from this mpd
By tere1579 in forum Video Streaming DownloadingReplies: 6Last Post: 12th Oct 2022, 20:16 -
Exracting PSSH from a MPD doesn't inc KID .
By chomako in forum Video Streaming DownloadingReplies: 3Last Post: 30th Jun 2022, 11:45 -
Get Pssh Key of MPD Files
By thegeek in forum Video Streaming DownloadingReplies: 46Last Post: 26th Mar 2022, 21:54