Skip to content
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

vmp_validation locks HD+ streams #294

Closed
ghoshben opened this issue Apr 2, 2019 · 60 comments
Closed

vmp_validation locks HD+ streams #294

ghoshben opened this issue Apr 2, 2019 · 60 comments

Comments

@ghoshben
Copy link

ghoshben commented Apr 2, 2019

playing HD content (including movie) right now amazon enforced vmp_validation.

image

@aers
Copy link

aers commented Apr 3, 2019

It's unlikely Kodi can ever pass VMP validation because it requires the main exe to be signed by Widevine's VMP certificate.

@ghoshben
Copy link
Author

ghoshben commented Apr 3, 2019

as far as I understand it has to post the servercertificate as well as the payload during widevine lisence request and license proxy will verify that (just like netflix ) which is not implemented here

@aers
Copy link

aers commented Apr 3, 2019

You never post the server certificate, you post a request for it.

Regardless, VMP does signature validation on the exe running the CDM. Kodi cannot pass this check.

@Varstahl
Copy link
Collaborator

Varstahl commented Apr 3, 2019

Yep, we're fucked. Was fun 'till it lasted.

@Varstahl Varstahl pinned this issue Apr 3, 2019
@Varstahl Varstahl changed the title vmp_validation [IMPORTANT] vmp_validation Apr 3, 2019
@aers
Copy link

aers commented Apr 3, 2019

Should still work on Android devices, but yeah PC's locked down. Widevine spec changed to VMP enabled by default (see https://www.widevine.com/news).

Netflix might follow suit soon, but I don't believe they have yet. Netflix tends to ignore a lot of recommended Widevine stuff (they don't even follow the revocation list, or didn't until recently).

@Varstahl
Copy link
Collaborator

Varstahl commented Apr 3, 2019

Netflix has been actively working against Google's specs in some areas, to provide a better experience for their users, so it might never come.

That was an aimed moved, and aim well they did. I wonder if Amazon might consider overriding the VMP requirements, or if they're in on the act.

@ghoshben
Copy link
Author

ghoshben commented Apr 3, 2019

@Varstahl currently I found a way to watch sd content on amaon prime just remove the operatingSystemName=Windows&operatingSystemVersion=10.0 while requesting then instead of sending HD they will send sd manifeast , which doesnot require VMP validation . but sadly den only sd content will be played.

@ghoshben
Copy link
Author

ghoshben commented Apr 3, 2019

@peak3d sir can u please look into this matter

@Varstahl
Copy link
Collaborator

Varstahl commented Apr 3, 2019

@Varstahl currently I found a way to watch sd content on amazon prime

Not sure, I think I tried to go the 580-ish height route but wasn't working for me. It might be working, but that's not the worse part. The worst part is that if what we had to do before to have 1080p was to enforce HDCP (doable) now we just can't do anything because the platform's been neutered.

Also, I'm fairly sure that doesn't even work (at least on my end), because movies were already HDCP-locked, so the versions I was watching were already SD, and now that doesn't work anymore just as well.

@Varstahl
Copy link
Collaborator

Varstahl commented Apr 3, 2019

Just tried anyway, and no:

ERROR: AddOnLog: InputStream Adaptive: Unable to find license;hdcpEnforcementResolutionPixels in JSON string
ERROR: AddOnLog: InputStream Adaptive: License update not successful (no keys)
ERROR: AddOnLog: InputStream Adaptive: Initialize failed (SingleSampleDecrypter)

@TehTux
Copy link
Contributor

TehTux commented Apr 3, 2019

@Varstahl Which movie have you tested? For me it works.

@Varstahl
Copy link
Collaborator

Varstahl commented Apr 3, 2019

My usual one, Hot Fuzz, but I'm checking some stuff.

@ghoshben
Copy link
Author

ghoshben commented Apr 3, 2019

@Varstahl dont know sir but for me it worked

@Varstahl
Copy link
Collaborator

Varstahl commented Apr 3, 2019

@TehTux @ghoshben Yeah guys, I get it, I'm used to Amazon's rolling updates process. So one of the following is going to happen:

  • they're rolling back the SD lockdown for everyone
  • you're early on the SD lockdown

Until proven wrong, I'm opting for the incoming doom. After all I knew this was gonna happen a week ago, and the update rolled last night or two nights ago for me.

@TehTux
Copy link
Contributor

TehTux commented Apr 3, 2019

My usual one, Hot Fuzz, but I'm checking some stuff.

Is working: 1088x464px

@Varstahl
Copy link
Collaborator

Varstahl commented Apr 3, 2019

It's stupid. I'm in the position in which is easier for me to legally download pirated content and watch it in 1080p/4K, then using the platform I'm paying for to watch it. This is fucking madness. I can't begin to wrap my head around it.

I'll go silent for a while, but as I said I've tested anything and everything, and not even trailers work.

@TehTux
Copy link
Contributor

TehTux commented Apr 3, 2019

Yeah, it's stupid!

TehTux added a commit to TehTux/xbmc that referenced this issue Apr 3, 2019
…#294)

This forces SD videos, which are not related to VMP
TehTux added a commit to TehTux/xbmc that referenced this issue Apr 3, 2019
…#294)

This forces SD videos, which are not related to VMP
@trabogano
Copy link

TehTux i have tried latest commit. Video start but I have no sound, I I search audio track in option it say "no audio track"

@TehTux
Copy link
Contributor

TehTux commented Apr 3, 2019

TehTux i have tried latest commit. Video start but I have no sound, I I search audio track in option it say "no audio track"

@trabogano
Thank you for testing. Can you tell me which video you tested and your device + operating system?

@trabogano
Copy link

American gods, 1 season various episodes. Raspberry pi3+ libreelec9.1

@TehTux
Copy link
Contributor

TehTux commented Apr 3, 2019

American gods, 1 season various episodes. Raspberry pi3+ libreelec9.1

I have tested S01E01

  • American Gods S01 (4K UHD) -> EN Audio
  • American Gods S01 -> DE/EN Audio
  • American Gods S01 (OV/OmU 4KUHD) -> EN Audio

Can not reproduce this with RPi3 + LibreELEC 9.0.1

@trabogano
Copy link

Strange things happen on my raspberry. If I use Kore for starting an episode from extension voices audio working fine. If I start a video by monitor using Amazon vod gui audio not work.

@Varstahl
Copy link
Collaborator

Varstahl commented Apr 3, 2019

Funny as hell, if we use the wrong parameters then instead of putting out the correct videos it spits out the fallback streams, which include non protected SDs.

@Varstahl currently I found a way to watch sd content on amaon prime just remove the operatingSystemName=Windows&operatingSystemVersion=10.0 while requesting

I beg you guys pardon, @ghoshben, I've misread your comment. @TehTux your PR seems to work fine. It needs a few adjustments and might not work forever, but will suffice for now.

Varstahl pushed a commit that referenced this issue Apr 3, 2019
This forces SD videos, which are not related to VMP
@ezu64
Copy link

ezu64 commented Apr 3, 2019

Raspberry pi3+ libreelec9.1 works fine with new fix in sd with series like The Grand Tour all episodes.
There is some problem with movies. I’ ve no sound track if inputstream is set auto and only german
and english set manual. However I appreciate this fix found in a little time

@ghoshben
Copy link
Author

ghoshben commented Apr 3, 2019

lets what peak3d is upto he is one who can help bypassing vmp

@alitteration
Copy link

is there going to be a way to crack the VMP or bypass it or maybe apply a hack to skip the validation process?

@aers
Copy link

aers commented Apr 5, 2019

Sure if you want Google to send their lawyers after this project

@Varstahl
Copy link
Collaborator

Varstahl commented Apr 5, 2019

is there going to be a way to crack the VMP or bypass it or maybe apply a hack to skip the validation process?

Technically possible, but the distribution of such a thing would be gray area. Technically legal, although it depends on the local legislation.

Given the cyber/legal bullying that generally ensues such things, most unlikely.

Honestly, we'd have a lot less trouble mass contacting Amazon to make them revert the mandatory VMP validation, but then again it's not even clear if they're in on the act, so…

@alitteration
Copy link

Honestly, we'd have a lot less trouble mass contacting Amazon to make them revert the mandatory VMP validation, but then again it's not even clear if they're in on the act, so…

I also agree with that, if someone could contact Amazon and explain how the whole VMP validations led them to not able to stream their movies/TVs on certain devices and the downside downsides, maybe they would consider it.

@ghoshben
Copy link
Author

any update ?

@Varstahl
Copy link
Collaborator

There's no update to be had. Google won't sign Kodi, we can't bypass VMP, we can just use the SD streams for as long as we can. Amazon reached their goal, by having less bandwidth used and as a direct result it sold more Firesticks, Google's happy to have put another wrench in the works, so here we are.

@ghoshben
Copy link
Author

just like wvdecrypter by peak3d he might able to bypass or hack VMP, and litarary prirate group are till getting 1080p and the paying customer have to depends on pirates to get the hightest quality video , what a shame on amazon

@aers
Copy link

aers commented Apr 12, 2019

To bypass VMP you need to patch the CDM and I'd expect legal action from google if you tried to release something like that.

@ghoshben
Copy link
Author

google unlike other company normaly dont take legal action usless u pissed the off. and kodi is decrypting only 1 frame so its wont pissed them off I think .

@Varstahl
Copy link
Collaborator

Bypassing VMP means bypassing a good chunk of the DRM, which, depending on the law you're subject to, can mean:

  • copyright infringement violations
  • illegal reverse engineering (I still laugh at this)
  • distribution of tools aimed at copyright infringement

Yeah, no, not gonna happen. Even I, stupid enough to just do it, wouldn't distribute it, ever.

@ghoshben
Copy link
Author

wvdecrypter is already bypassing widevine till they dont say anything ,

@peak3d
Copy link
Contributor

peak3d commented Apr 12, 2019

wvdecrypter does not bypass anything. From DRM perspective it's doing exactly what the licenses allow.

@ghoshben
Copy link
Author

@peak3d which means HD streaming of amazon is no longer possible , I had only last hope on u

@aers
Copy link

aers commented Apr 12, 2019

Well, maybe its possible to use playreadycdm.dll from edge canary (edge chromium), since it has the same CDM adapter interface :^)

But you have to use Amazon's playready API, of course.

@varun432
Copy link

varun432 commented Apr 12, 2019

HD content is playing fine on amazon vod..
Kept settings on auto and 720p works like a charm..
This is in India.

Playing on kodi on rasberry pi 3

@Varstahl
Copy link
Collaborator

Kept settings on auto and 720p works like a charm

Well, it's not anywhere else, so you're either confusing 720p with 720x480 (which is 480p), or some series in India are differently encoded, totally possible. Still doesn't change a thing.

@peak3d
Copy link
Contributor

peak3d commented Apr 12, 2019

@aers playredycdm sounds interesting
@Varstahl not sure how the situation currently is, but for ARM devices libwidevine was always more tolerant because it is assumed it is only running on secure ChromeOS. Windows / Linux x86_64 / OSX are quite different.

@varun432
Copy link

varun432 commented Apr 12, 2019

I am sure its playing.. And it did get stuck for past 1 week... So I have no idea what's happening..

But is their a way to to list seasons properly in watchlist..
Only 1st episode or none get listed.. It somehow assumes them as movies I guess..
Also can't search the episodes via search option as it returns error...
So no way of watching a complete series.

Movies though work fine.. M

@Varstahl
Copy link
Collaborator

But is their a way to to list seasons properly in watchlist

Technically everything should work. You can try removing the cache files. A lot of users reported that uninstalling and reinstalling works. I have no idea why, or how, but whatever.

@Varstahl not sure how the situation currently is, but for ARM devices libwidevine was always more tolerant

@peak3d I don't really know, but what's "working" at the moment is using the fallback streams, which don't have HD+. So given the fact that it's (almost) impossible for 720p to be in the list, I'd guess he's mistaken. But since streams are regional, it's possible that India has DRM-free 720p, I just find it unlikely.

What I do know is that when I tried to play a TV series it displayed in a 720x480 resolution, so I guess he just misread.

@varun432
Copy link

varun432 commented Apr 12, 2019

You might be right that I might have misread..
I will definitely check again at night today and revert..

But for seasons listing problem.
Deleted and installed app twice
Deleted files in folder plugin.video.amazon.test twice

But still cannot remedy it..

Problem

  1. the seasons folder is either empty
  2. the season folder isn't created and is displayed as a single file with first episode..
  3. searching of episode by "episode name" returns error or the name of the series with the 1st episode playing..

This tested for many shows English as well as Indian.

Never faced this problem before...
Just past 1 week..

@ghoshben
Copy link
Author

ghoshben commented Apr 12, 2019 via email

@varun432
Copy link

varun432 commented Apr 12, 2019

Yes the videos are 480p just checked...

Also I found a way to get the episodes of a season to show in watchlist, search and TV shows link on amazon vod app.

If an episode is played for a few seconds and exited on amazon app on android.. And then the TV show folder refreshed it magically shows up in the folder.. Although all previous episodes dissappear..

But this gives a temporary solution to watch TV series

This might also help in providing a hint to the developer that why it's happening...

@Paco8
Copy link
Contributor

Paco8 commented Apr 12, 2019

Maybe Amazon changed again the format of the HTML pages, and the addon fails to get the list of episodes.

@Varstahl
Copy link
Collaborator

This is degenerating fast and not useful at all, locking the thread.

Repository owner deleted a comment from alitteration Apr 16, 2019
Repository owner locked as too heated and limited conversation to collaborators Apr 16, 2019
@Varstahl Varstahl changed the title [IMPORTANT] vmp_validation vmp_validation locks HD+ streams Nov 22, 2019
@Sandmann79 Sandmann79 unpinned this issue Jan 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests