-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Widevine Devices detected inside the ../cdm directory #2
Comments
Sorry for the late reply. |
That worked! But now I've got a different issue. I'm trying to decrypt the video at https://en.jff.jpf.go.jp/movie/time_of_eve_the_movie/. Thanks to yt-dlp, I've already got the encrypted audio and video streams downloaded. I've also got the PSSH from the .mpd file. I'm also logged into the website. However, I can't seem to find the POST request that has the license info in it. I think it's one of the two POSTs coming from https://widevine-dash.ezdrm.com, but using one of the two POSTs from there in your app says something about a certificate and to use the other POST request. The other one gives an error that there is no license detected. Am I doing something incorrectly, or is your app not capable of handling whatever type of response it's getting yet? |
Ok, so first error is supposed to happen, because that's the certificate response. |
Here is what I paste into the app for the second request. I copied it as Fetch.
|
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Ok, i got it. You have to block the license URL and enter the PSSH manually because the key argument on the license URL is based on the request data or something. |
I apologize. I'm still somewhat new to this. I'm not entirely sure what you mean by blocking the license URL, so I'm not sure I did things right. Just now, I tried blocking the POST request that gave me the license in Firefox's Network Monitor, and then I copied this FETCH data into the app: But the result was the same: Just so you know, I've been pasting the PSSH in there from the beginning, ever since I first opened this issue. |
Here's the link to the .mpd file I've been using. Maybe it has some insight into what's going on with the license. I tried to upload it directly, but GitHub didn't like that. |
It should work. But you probably didn't block the license URL correctly. |
sorry, I also experienced something similar how can i get cdm/device.mvd? |
see here |
Sorry it took so long to get back to you. Finally got around to trying this, and it worked! The video decrypted correctly. Looks like the user has to be quick to copy and paste the FETCH data and start the process in the app, though, or the server won't send a license. |
yes, there are tokens that expire after just 10 seconds |
Ive faced the same expired token issue. Any way to know by looking at the licence/token how long its set to expire so I can work accordingly? |
If you're working with a JWT (aka. Bearer) token, you could decode it on their website and look for a timestamp or similar inside |
I can't seem to figure out what sort of format this program wants the two main files in. I've dumped my keys using the Android Studio emulator method and have two files named client_id.bin and private_key.pem.
I've tried copying those files directly to the ../cdm folder. I've tried copying the entire dump from within the key_dumps folder. I've also tried renaming the files to device_client_id_blob and device_private_key. All of these resulted in the same error, so I'm not exactly sure which format the program wants these files in.
The text was updated successfully, but these errors were encountered: