Hello,
I have my own CDM but I am struggling with getting the (correct) pssh from vtm go.
I think I have found the correct one for widevine and the license url.
But I am also not sure how I use all of these to get the actual decryption keys.
Any help would be greatly appreciated.
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
Results 1 to 16 of 16
Thread
-
-
Any link really, I don't want anyone just giving me the keys for a given link.
I'd like to know how I can do it myself because there's lots I want to grab from there. -
Providing a link is not that hard , at least to be a starting point from which you can get the keys for other links .
I'm also new to this field and still there is a lot to learn and i hope i'm doing this right , Anyway i will try to explain this by example.
Assuming your link is (hoping I'm using the correct site, you didn't provide a link! remember ?):
https://vtm.be/vtmgo/afspelen/7c077294-8fc6-4dbd-ab69-d53f157b613a
Now the first thing is to get the pssh , and fortunately there are 3 methods explained here :
https://forum.videohelp.com/threads/404586-how-to-work-out-the-pssh-when-not-shown-in-...pd#post2647121
NB: always use the search function in the forum , it will help you a lot .
now after we got the pssh which is for this example:
Code:AAAAMnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABISEGdLspHXzD73jL8NJc/sjt8=
Code:https://lic.drmtoday.com/license-proxy-widevine/cenc/
Code:https://lic.drmtoday.com/license-proxy-widevine/cenc/?specConform=true
Now take the headers and place them in headers.py ( you need a fresh header for this to work ,don't use your old one ), run the script enter pssh and lic url and i think you will get the keys , for this example they are :
Code:--key 8ddc29852e4c354bbb775a20989b3cbc:d2d328b5bb5e7a2b7ced4cbbaf65dacc --key 674bb291d7cc3ef78cbf0d25cfec8edf:f050b58c1a723f2da3b6a36a726cdb00 --key 925c184417c53ec5bd048ca2d261c7f5:89885dd4fda5835ce737fa0824a2f168 --key 4b19f3f67b6042668851af6a43933600:6541fbcdf4198bc389aa0336ea9ed880 --key 62836fda7a5a3c559d257fdf8174c2b6:070280a460af5009f7cb389d23a5471b
[Attachment 69556 - Click to enlarge]
RegardsLast edited by thej911; 3rd Mar 2023 at 15:39.
-
Thanks for the writeup, point taken about the url, but yes you guessed correctly.
I also did spend some time searching the forum and trying out things before but I seem to be going backwards instead of making progress.
At this point it is clear I still struggle with getting the correct pssh.
I get this init data for the url you picked
Code:AAAAjXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAG0IARIQjdwphS5MNUu7d1ogmJs8vBoIY2FzdGxhYnMiRGV5SmhjM05sZEVsa0lqb2lNREF6WTJaaE5EVXROMlEzTUMwME5tUmhMV0UwWlRBdE5XUTBNbUl3TVRGaVptSm1JbjA9MgdkZWZhdWx0
[Attachment 69568 - Click to enlarge]
Copy from "8 digits before 7073" to the end. These are in HEX. Convert it to Base64 again. That's your PSSH.
Code:AAAAjXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7Q==
Code:AAAAMnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABISEGdLspHXzD73jL8NJc/sjt8=
One last question I have is about the retrieving of the keys.
Now take the headers and place them in headers.py ( you need a fresh header for this to work ,don't use your old one ), run the script enter pssh and lic url and i think you will get the keys , for this example they are :
Anyhow massive thanks already for the pointers you gave me. -
Which is a valid pssh and can also work and you don't have to do anything else .
But if you are wondering how i get mine , here it is :
go to : https://tools.axinom.com/generators/PsshBox
put the "System ID" (which i think is static for Google Widevine ) then select Widevine PSSH Data , and then put the "Key IDs" and all of this can be found inside the .mpd file :
[Attachment 69569 - Click to enlarge]
then click on Generate and it will output the pssh:
[Attachment 69570 - Click to enlarge]
another method is to use a script that was posted by [ss]vegeta , you input the kid and a similar output will be generated (search the forum for this).
Or simply use the pssh you found using eme logger (i think).
I used "wks-keys" with my own CDM for this and it did the job .
Note: this is a weird coincidence ,but both of our usernames contain 911 in them!
RegardsLast edited by thej911; 4th Mar 2023 at 05:21.
-
Copy as Curl
[Attachment 69571 - Click to enlarge]
Go to curlconverter.com to convert in Python.
You have now all you need to fill headers.py
For me, I need to modify this file and let only the auth token.
[Attachment 69572 - Click to enlarge]
Go to WKS-Keys
[Attachment 69575 - Click to enlarge]Last edited by cedric8528; 4th Mar 2023 at 06:42.
-
Weird indeed
Thanks for all the help guys, I think I got everything now except for my wks-keys not playing along for some reason.
[Attachment 69582 - Click to enlarge]
EDIT:
Not sure what went wrong there but...
[Attachment 69583 - Click to enlarge]
Thanks guys!Last edited by Jerry911; 4th Mar 2023 at 10:48.
-
try to use only the "x-dt-auth-token" in your headers.py
And I think that the token expire quickly ...so you have to be fast -
Last edited by Jerry911; 4th Mar 2023 at 11:18.
-
you can use all keys with mp4decrypt
Code:mp4decrypt --key ...... --key ...... --key ...... --key ..... --key ...... video.mp4 output.mp4
-
-
I was also able to create an automated script. For the last step you can get the "x-dt-auth-token" header from the json reply that contains all the video info. Faster then converting the curl command
-
...
Last edited by Karoolus; 4th Sep 2023 at 18:23. Reason: Removed incorrect information
Similar Threads
-
Need a few keys from VTM GO
By TomVDJ in forum Video Streaming DownloadingReplies: 16Last Post: 14th Jan 2024, 13:33 -
Please help to get this tv serie from VTM GO?
By hioneilboy in forum Video Streaming DownloadingReplies: 4Last Post: 22nd Mar 2023, 09:12 -
Help downloading from VTM GO please (I get the wrong video)
By oopargentina in forum Video Streaming DownloadingReplies: 11Last Post: 18th Jan 2023, 15:45 -
Anyway to download from VTM GO?
By DarkSmile in forum Newbie / General discussionsReplies: 0Last Post: 11th Feb 2021, 10:49 -
Bug on website VTM
By Seadevil in forum Video Streaming DownloadingReplies: 4Last Post: 18th May 2018, 11:08