Sandmann79 / xbmc

Prime Video Addon for Kodi Media Center
https://forum.kodi.tv/showthread.php?tid=349255
GNU General Public License v3.0
759 stars 192 forks source link

[IMPORTANT] Amazon VOD Playback dos not start #293

Closed Terminator-95 closed 4 years ago

Terminator-95 commented 5 years ago

Starting today I cannot playback any films or series. Seems as if it is the same error as last year (compare Issue #90) but update and reinstall of WidevineCDM does not solve the problem. Netflix works fine.

2019-04-02 22:40:41.580 T:1721181040  NOTICE: [Amazon VOD] Service: Proxy bound to 127.0.0.1:38165
2019-04-02 22:40:41.608 T:1721181040  NOTICE: [Amazon VOD] Service: Proxy server started
2019-04-02 22:40:41.609 T:1721181040  NOTICE: [Amazon VOD] Service started
2019-04-02 22:40:51.704 T:1807721328   ERROR: GetDirectory - Error getting
2019-04-02 22:40:54.197 T:1532085104   ERROR: Previous line repeats 6 times.
2019-04-02 22:40:54.197 T:1532085104  NOTICE: [Amazon VOD] Version: 0.7.0-ter
2019-04-02 22:40:54.197 T:1532085104  NOTICE: [Amazon VOD] Unicode filename support: False
2019-04-02 22:40:54.198 T:1532085104  NOTICE: [Amazon VOD] Locale: en-gb / Language: de
2019-04-02 22:41:03.688 T:1532085104  NOTICE: [Amazon VOD] getURL: https://atv-ps-eu.amazon.de/cdp/catalog/Browse?firmware=fmw:17-app:2.0.45.1210&deviceTypeID=A2M4YX06LWP8WI&deviceID=19d71e45b2a042933054af085ec3f5e6ef4fdbfe9b2d675e06edda22&format=json&version=2&formatVersion=3&marketplaceId=A1PA6795UKMFR9&IncludeAll=T&AID=1&ContentType=Movie&Preorder=F&OrderBy=SalesRank,Rating&Preorder=F&OfferGroups=B0043YVHMY&NumberOfResults=40&StartIndex=0&Detailed=T&mobileClient=true
2019-04-02 22:41:13.784 T:1532085104  NOTICE: [Amazon VOD] Starting Fanart Update
2019-04-02 22:41:13.786 T:1532085104  NOTICE: [Amazon VOD] searching fanart for IRON MAN at tmdb.com
2019-04-02 22:41:14.134 T:1532085104  NOTICE: [Amazon VOD] searching fanart for IRON MAN 2 at tmdb.com
2019-04-02 22:41:14.321 T:1532085104  NOTICE: [Amazon VOD] searching fanart for IRON MAN 3 at tmdb.com
2019-04-02 22:41:14.525 T:1532085104  NOTICE: [Amazon VOD] searching fanart for AMERICAN PIE at tmdb.com
2019-04-02 22:41:14.916 T:1532085104  NOTICE: [Amazon VOD] searching fanart for DIE WELLE at tmdb.com
2019-04-02 22:41:16.045 T:1532085104  NOTICE: [Amazon VOD] searching fanart for THE WOLF OF WALL STREET at tmdb.com
2019-04-02 22:41:16.234 T:1532085104  NOTICE: [Amazon VOD] searching fanart for WENN ICH BLEIBE at tmdb.com
2019-04-02 22:41:16.409 T:1532085104  NOTICE: [Amazon VOD] searching fanart for THE EQUALIZER at tmdb.com
2019-04-02 22:41:17.414 T:1532085104  NOTICE: [Amazon VOD] searching fanart for HÜTER DER ERINNERUNG - THE GIVER at tmdb.com
2019-04-02 22:41:19.123 T:1532085104  NOTICE: [Amazon VOD] searching fanart for RUHET IN FRIEDEN - A WALK AMONG THE TOMBSTONES at tmdb.com
2019-04-02 22:41:19.310 T:1517024112  NOTICE: [Amazon VOD] postURL: http://127.0.0.1:38165/gpr/https%3A%2F%2Fatv-ps-eu.amazon.de%2Fcdp%2Fcatalog%2FGetPlaybackResources%3Fasin%3DB07J4SXH5W%26deviceTypeID%3DAOAGZA014O5RE%26firmware%3D1%26deviceID%3D19d71e45b2a042933054af085ec3f5e6ef4fdbfe9b2d675e06edda22%26marketplaceID%3DA1PA6795UKMFR9%26format%3Djson%26version%3D1%26gascEnabled%3Dfalse%26subtitleFormat%3DTTMLv2%26operatingSystemName%3DWindows%26resourceUsage%3DImmediateConsumption%26consumptionType%3DStreaming%26deviceDrmOverride%3DCENC%26deviceStreamingTechnologyOverride%3DDASH%26deviceProtocolOverride%3DHttps%26deviceBitrateAdaptationsOverride%3DCVBR%252CCBR%26audioTrackId%3Dall%26languageFeature%3DMLFv2%26videoMaterialType%3DFeature%26desiredResources%3DPlaybackUrls%2CSubtitleUrls%2CForcedNarratives%26supportedDRMKeyScheme%3DDUAL_KEY
2019-04-02 22:41:19.783 T:1532085104  NOTICE: [Amazon VOD] searching fanart for LOVE, ROSIE - FÜR IMMER VIELLEICHT at tmdb.com
2019-04-02 22:41:20.326 T:1532085104  NOTICE: [Amazon VOD] searching fanart for MINIONS at tmdb.com
2019-04-02 22:41:20.495 T:1517024112  NOTICE: [Amazon VOD] Using Host: Limelight
2019-04-02 22:41:20.497 T:1517024112  NOTICE: [Amazon VOD] checkURL: https://s3.ll.dash.row.aiv-cdn.net/d/2$kwJ8-YQ0G-org7j6Hh3HguHfwkY~/ww_dub/0108/ebd9/579d/47b7-8fa0-f9b971f465e2/6e862f48-3725-4dc3-a616-13c63fd2c374_corrected.mpd
2019-04-02 22:41:20.793 T:1532085104  NOTICE: [Amazon VOD] searching fanart for HOTEL TRANSSILVANIEN 2 at tmdb.com
2019-04-02 22:41:21.061 T:1517024112  NOTICE: [Amazon VOD] Using inputstream.adaptive Version: 2.3.15.1
2019-04-02 22:41:21.195 T:1937567264  NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.amazon-test/?asin=B07J4SXH5W&mode=PlayVideo&adult=0&name=Wildling&trailer=0&selbitrate=0
2019-04-02 22:41:21.197 T:1478296432  NOTICE: Creating InputStream
2019-04-02 22:41:21.207 T:1532085104  NOTICE: [Amazon VOD] searching fanart for TRIPLE 9 at tmdb.com
2019-04-02 22:41:21.341 T:1478296432   ERROR: GetDirectory - Error getting /usr/lib/kodi/addons/inputstream.adaptive/
2019-04-02 22:41:21.835 T:1532085104  NOTICE: [Amazon VOD] searching fanart for BIBI & TINA: MÄDCHEN GEGEN JUNGS at tmdb.com
2019-04-02 22:41:22.263 T:1532085104  NOTICE: [Amazon VOD] searching fanart for FAST & FURIOUS 8 at tmdb.com
2019-04-02 22:41:22.993 T:1532085104  NOTICE: [Amazon VOD] searching fanart for 21 JUMP STREET at tmdb.com
2019-04-02 22:41:23.982 T:1532085104  NOTICE: [Amazon VOD] searching fanart for DIE MUMIE at tmdb.com
2019-04-02 22:41:24.988 T:1532085104  NOTICE: [Amazon VOD] searching fanart for FIFTY SHADES OF GREY - GEFÄHRLICHE LIEBE - UNMASKIERTE FILMVERSION at tmdb.com
2019-04-02 22:41:25.516 T:1532085104  NOTICE: [Amazon VOD] searching fanart for ICH - EINFACH UNVERBESSERLICH 3 at tmdb.com
2019-04-02 22:41:25.900 T:1532085104  NOTICE: [Amazon VOD] searching fanart for BAYWATCH - ERWEITERTE FILMVERSION at tmdb.com
2019-04-02 22:41:27.055 T:1532085104  NOTICE: [Amazon VOD] searching fanart for WUNDER at tmdb.com
2019-04-02 22:41:27.966 T:1532085104  NOTICE: [Amazon VOD] searching fanart for I FEEL PRETTY at tmdb.com
2019-04-02 22:41:28.404 T:1532085104  NOTICE: [Amazon VOD] searching fanart for A QUIET PLACE at tmdb.com
2019-04-02 22:41:28.971 T:1478296432   ERROR: AddOnLog: InputStream Adaptive: Unable to find license;hdcpEnforcementResolutionPixels in JSON string
2019-04-02 22:41:28.971 T:1478296432   ERROR: AddOnLog: InputStream Adaptive: License update not successful (no keys)
2019-04-02 22:41:29.007 T:1478296432   ERROR: AddOnLog: InputStream Adaptive: Initialize failed (SingleSampleDecrypter)
2019-04-02 22:41:29.010 T:1478296432   ERROR: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.amazon-test/?asin=B07J4SXH5W&mode=PlayVideo&adult=0&name=Wildling&trailer=0&selbitrate=0]
2019-04-02 22:41:29.011 T:1478296432  NOTICE: CVideoPlayer::OnExit()
2019-04-02 22:41:29.035 T:1532085104  NOTICE: [Amazon VOD] searching fanart for 22 JUMP STREET at tmdb.com
2019-04-02 22:41:29.707 T:1532085104  NOTICE: [Amazon VOD] searching fanart for DIE BRILLANTE MADEMOISELLE NEILA at tmdb.com
2019-04-02 22:41:30.210 T:1532085104  NOTICE: [Amazon VOD] searching fanart for HOTEL ARTEMIS at tmdb.com
2019-04-02 22:41:30.216 T:1937567264  NOTICE: CVideoPlayer::CloseFile()
2019-04-02 22:41:30.216 T:1937567264  NOTICE: VideoPlayer: waiting for threads to exit
2019-04-02 22:41:30.216 T:1937567264  NOTICE: VideoPlayer: finished waiting
2019-04-02 22:41:30.265 T:1517024112  NOTICE: [Amazon VOD] postURL: https://atv-ps-eu.amazon.de/cdp/usage/UpdateStream?asin=B07J4SXH5W&deviceTypeID=AOAGZA014O5RE&firmware=1&deviceID=19d71e45b2a042933054af085ec3f5e6ef4fdbfe9b2d675e06edda22&marketplaceID=A1PA6795UKMFR9&format=json&version=1&gascEnabled=false&subtitleFormat=TTMLv2&event=STOP&timecode=0.0
2019-04-02 22:41:30.529 T:1532085104  NOTICE: [Amazon VOD] searching fanart for COLD SKIN: INSEL DER KREATUREN at tmdb.com
2019-04-02 22:41:30.715 T:1532085104  NOTICE: [Amazon VOD] searching fanart for CLEANER at tmdb.com
2019-04-02 22:41:30.886 T:1532085104  NOTICE: [Amazon VOD] searching fanart for UTØYA: 22. JULI at tmdb.com
2019-04-02 22:41:31.066 T:1532085104  NOTICE: [Amazon VOD] searching fanart for WILDLING at tmdb.com
2019-04-02 22:41:31.241 T:1532085104  NOTICE: [Amazon VOD] searching fanart for THE ROAD at tmdb.com
2019-04-02 22:41:31.627 T:1532085104  NOTICE: [Amazon VOD] searching fanart for TEXAS RANGERS at tmdb.com
2019-04-02 22:41:31.989 T:1532085104  NOTICE: [Amazon VOD] searching fanart for HEARTBREAKERS - ACHTUNG: SCHARFE KURVEN at tmdb.com
2019-04-02 22:41:32.173 T:1532085104  NOTICE: [Amazon VOD] searching fanart for DOWN A DARK HALL at tmdb.com
2019-04-02 22:41:33.028 T:1532085104  NOTICE: [Amazon VOD] Finished Fanart Update
2019-04-02 22:41:33.222 T:1532085104 WARNING: CPythonInvoker(4, /storage/.kodi/addons/plugin.video.amazon-test/default.py): the python script "/storage/.kodi/addons/plugin.video.amazon-test/default.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon7xbmcgui6DialogE,N9XBMCAddon9xbmcaddon5AddonE
2019-04-02 22:41:39.467 T:1807721328 WARNING: Repository add-on repository.membrane uses plain HTTP for add-on downloads in path http://github.com/prof-membrane/repository.membrane/raw/master/ - this is insecure and will make your Kodi installation vulnerable to attacks if enabled!
2019-04-02 22:41:42.012 T:1937567264 WARNING: Previous line repeats 2 times.
Blackstar77 commented 5 years ago

Hello, same issue

RobbesU commented 5 years ago

Similar problem here for last two days. Updated libreelec and kodi to last nights (build 0204), deleted widevine directory. After reboot and picking a show it re-extracted widevine ok, but still no play. Digging into the KODI.log file it seems something might have happened with credentials as 2019-04-03 10:56:03.929 T:1432347504 ERROR: AddOnLog: InputStream Adaptive: License update not successful (no keys)

################################################################################
# ... output of cat /storage/.kodi/temp/kodi.log
# LibreELEC release: RPi2.arm-devel-20190402210257-#0402-g47af2b4
# 
################################################################################
2019-04-03 10:55:07.720 T:1936757328  NOTICE: -----------------------------------------------------------------------
2019-04-03 10:55:07.720 T:1936757328  NOTICE: Starting Kodi (18.2-RC1 Git:f810028). Platform: Linux ARM 32-bit
2019-04-03 10:55:07.720 T:1936757328  NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
2019-04-03 10:55:07.720 T:1936757328  NOTICE: Kodi compiled 2019-04-02 by GCC 8.3.0 for Linux ARM 32-bit version 5.0.5 (327685)
2019-04-03 10:55:07.720 T:1936757328  NOTICE: Running on LibreELEC (Milhouse): devel-20190402210257-#0402-g47af2b4 [Build #0402] 9.1, kernel: Linux ARM 32-bit version 5.0.5
2019-04-03 10:55:07.721 T:1936757328  NOTICE: FFmpeg version/source: 4.0.3-Kodi
2019-04-03 10:55:07.721 T:1936757328  NOTICE: Host CPU: ARMv7 Processor rev 4 (v7l), 4 cores available

...

2019-04-03 10:55:59.391 T:1462743920  NOTICE: [Amazon VOD] Using inputstream.adaptive Version: 999.2.3.16
2019-04-03 10:55:59.531 T:1936757328  NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.amazon-test/?asin=B00IBQU0QY&mode=PlayVideo&adult=0&name=1+-+She+Knows&trailer=0&selbitrate=0
2019-04-03 10:55:59.535 T:1432347504  NOTICE: Creating InputStream
2019-04-03 10:55:59.729 T:1352196976  NOTICE: [Amazon VOD] [PS] Requested GET path [u'mpd', u'https%3A%2F%2Fs3-dub-2.cf.dash.row.aiv-cdn.net%2Fdm%2F2%24b0BIArKmb2yCJJo3l1bno9HBlNg%2F16f1%2F0562%2F7df2%2F45b8-b881-9acf070bd973%2Fc4e668d9-ecaa-49a8-ae8a-ace357e5b3aa_corrected.mpd']
2019-04-03 10:55:59.742 T:1352196976  NOTICE: [Amazon VOD] [PS] Forwarding the GET request towards https://s3-dub-2.cf.dash.row.aiv-cdn.net/dm/2$b0BIArKmb2yCJJo3l1bno9HBlNg/16f1/0562/7df2/45b8-b881-9acf070bd973/c4e668d9-ecaa-49a8-ae8a-ace357e5b3aa_corrected.mpd
2019-04-03 10:56:00.319 T:1352196976  NOTICE: [Amazon VOD] [PS] Chunked transfer: prepping
2019-04-03 10:56:00.327 T:1352196976  NOTICE: [Amazon VOD] [PS] Loading MPD and rebasing as https://s3-dub-2.cf.dash.row.aiv-cdn.net/dm/2$b0BIArKmb2yCJJo3l1bno9HBlNg/16f1/0562/7df2/45b8-b881-9acf070bd973/
2019-04-03 10:56:01.309 T:1352196976  NOTICE: [Amazon VOD] [PS] Parsing languages
2019-04-03 10:56:01.318 T:1352196976  NOTICE: [Amazon VOD] [PS] Altering <AdaptationSet>s
2019-04-03 10:56:01.615 T:1352196976  NOTICE: [Amazon VOD] [PS] Chunked transfer: last chunks
2019-04-03 10:56:03.929 T:1432347504   ERROR: AddOnLog: InputStream Adaptive: Unable to find license;hdcpEnforcementResolutionPixels in JSON string
2019-04-03 10:56:03.929 T:1432347504   ERROR: AddOnLog: InputStream Adaptive: License update not successful (no keys)
2019-04-03 10:56:03.965 T:1432347504   ERROR: AddOnLog: InputStream Adaptive: Initialize failed (SingleSampleDecrypter)
2019-04-03 10:56:03.967 T:1432347504   ERROR: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.amazon-test/?asin=B00IBQU0QY&mode=PlayVideo&adult=0&name=1+-+She+Knows&trailer=0&selbitrate=0]
2019-04-03 10:56:03.968 T:1432347504  NOTICE: CVideoPlayer::OnExit()
2019-04-03 10:56:04.007 T:1936757328  NOTICE: CVideoPlayer::CloseFile()
2019-04-03 10:56:04.008 T:1936757328  NOTICE: VideoPlayer: waiting for threads to exit
2019-04-03 10:56:04.008 T:1936757328  NOTICE: VideoPlayer: finished waiting
2019-04-03 10:56:04.026 T:1936757328 WARNING: OnMessage: Suspiciously long time to handle GUI_MSG_PLAYBACK_STARTED (4.47s)
Varstahl commented 5 years ago

I feared this might happen, and it did. The addon won't work anymore, and I don't know if it ever will again. In some of the latest changes to Widevine, Google imposed VMP validity to provide the user with a license, a thing we can't do since Kodi is not verified by Google (will it ever?).

Since Amazon implemented the changes 2 days ago, this is the death of this addon as far as I'm concerned. Unless something changes with HDCP/VMP, this is it. Maybe it can still work on android or other Google-certified devices, but I'm not sure. And I can't do shit about that either, so… yeah.

TehTux commented 5 years ago

Maybe it can still work on android or other Google-certified devices, but I'm not sure.

The shield guys in the kodinerds forum confirmed, that it works on nvidia shield. It works too with Xiaomi Mi Box S

RobbesU commented 5 years ago

Darn. That would be a right shame as the rapsi kodi appears popular. My simple 'how to' blog still gets 1000 visits/month and always spikes when amazon goes down. It would just be nice if Amazon were willing to share their security with free source instead of just $$$$

If this is the end, it won't be because everbody behind this add-on isn't doing a fab job !

Varstahl commented 5 years ago

Honestly I can't really blame it on Amazon (at least yet). Afaik they tend to keep in line with Google's policies. They might be just into it though, if they want to sell more firesticks or the like, I don't know, it just sucks that as always the paying customers get the stick.

Me and my wife both have prime subscriptions, both use primevideo, and now we can't watch it how we damn please because it's platform restricted. Or we could watch it from a browser, which doesn't work properly and lacks a shit ton of features.

This whole affair leaves a bad taste in my mouth, but it's not like I can do anything either, so…

The only way forward is to hack Widevine to fake VMP to watch content I'm paying for. This is so stupid.

MparkG commented 5 years ago

Ive been using this addon for a day and that seems to be the last day it worked? Ive noticed it died, spent a day trying to follow instructions to update widevine after all its them restricting it even more...

And people start downloading/streaming their series, without paying for it, for no reason at all...

I guess this forcing to SD-resolution fixes it again? i will try it tonight. Does kodi notice your changes and update automatically this fast, or do i need to apply manual changes?

Cheers.

Varstahl commented 5 years ago

When a regular update is pushed Kodi automatically updates immediately or within 24 hours. This is a special case, since we don't know yet if those SD streams will be completely removed or locked yet, so I don't feel like immediately pushing an update yet.

As for manual change it's relatively easy, just access the addons/plugin.video.amazon-test/resources/lib/network.py file in your installation, and add and (g.platform & g.OS_ANDROID) on line 223.

MparkG commented 5 years ago

Thanks, it works fine at about 720p (~700x300) resolution, for now...

tuxedo0801 commented 5 years ago

When a regular update is pushed Kodi automatically updates immediately or within 24 hours. This is a special case, since we don't know yet if those SD streams will be completely removed or locked yet, so I don't feel like immediately pushing an update yet.

As for manual change it's relatively easy, just access the addons/plugin.video.amazon-test/resources/lib/network.py file in your installation, and add and (g.platform & g.OS_ANDROID) on line 223.

Thanks, that saved my afternoon. Prima plays again, but okay, in SD ... Future will tell how Prime VOD will continue.

Thanks for all the work

quantenschaum commented 5 years ago

I applied this fix yesterday, then playback was working with 720p. But today it stopped with

2019-04-06 21:59:37.811 T:140407629739776   ERROR: AddOnLog: InputStream Adaptive: DecodeVideo: kNoKey for key 3DF3...
2019-04-06 21:59:37.820 T:140407490823936  NOTICE: Creating audio stream (codec id: 86056, channels: 6, sample rate: 48000, no pass-through)
2019-04-06 21:59:37.821 T:140407629739776   ERROR: AddOnLog: InputStream Adaptive: DecodeVideo: kNoKey for key 3DF3...
2019-04-06 21:59:37.868 T:140407228847872   ERROR: Previous line repeats 6 times.
2019-04-06 21:59:37.868 T:140407228847872  NOTICE: [Amazon VOD] Starting Playback: 0.0/8500.0
2019-04-06 21:59:37.869 T:140407228847872  NOTICE: [Amazon VOD] postURL: https://atv-ps-eu.amazon.de/cdp/usage/UpdateStream?...
2019-04-06 21:59:37.873 T:140407629739776   ERROR: AddOnLog: InputStream Adaptive: DecodeVideo: kNoKey for key 3DF3...
2019-04-06 21:59:37.946 T:140407228847872   ERROR: Previous line repeats 11 times.
2019-04-06 21:59:37.946 T:140407228847872  NOTICE: [Amazon VOD] postURL: https://atv-ps-eu.amazon.de/cdp/usage/UpdateStream?...
2019-04-06 21:59:37.956 T:140407629739776   ERROR: AddOnLog: InputStream Adaptive: DecodeVideo: kNoKey for key 3DF3...
2019-04-06 21:59:48.004 T:140410318070720   ERROR: Previous line repeats 391 times.
2019-04-06 21:59:48.004 T:140410318070720   ERROR: Control 50 in window 10025 has been asked to focus, but it can't

Audio is playing, but no video.

MparkG commented 5 years ago

for me it werks. I can see prime Video. various Audio streams and (960x560) pixels video..

Am 6. April 2019 22:03:12 MESZ schrieb Adam notifications@github.com:

I applied this fix yesterday, then playback was working with 720p. But today it stopped with

2019-04-06 21:59:37.811 T:140407629739776   ERROR: AddOnLog:
InputStream Adaptive: DecodeVideo: kNoKey for key
3DF399A4B27149489E62146DF298448B
2019-04-06 21:59:37.820 T:140407490823936  NOTICE: Creating audio
stream (codec id: 86056, channels: 6, sample rate: 48000, no
pass-through)
2019-04-06 21:59:37.821 T:140407629739776   ERROR: AddOnLog:
InputStream Adaptive: DecodeVideo: kNoKey for key
3DF399A4B27149489E62146DF298448B
2019-04-06 21:59:37.868 T:140407228847872   ERROR: Previous line
repeats 6 times.
2019-04-06 21:59:37.868 T:140407228847872  NOTICE: [Amazon VOD]
Starting Playback: 0.0/8500.0
2019-04-06 21:59:37.869 T:140407228847872  NOTICE: [Amazon VOD]
postURL:
https://atv-ps-eu.amazon.de/cdp/usage/UpdateStream?asin=B00FYULBAY&deviceTypeID=AOAGZA014O5RE&firmware=1&deviceID=1a542e1052b780e95a2a1a772d942210a1821d4e2fa9da17d306923b&marketplaceID=A1PA6795UKMFR9&format=json&version=1&gascEnabled=false&subtitleFormat=TTMLv2&event=START&timecode=0.0
2019-04-06 21:59:37.873 T:140407629739776   ERROR: AddOnLog:
InputStream Adaptive: DecodeVideo: kNoKey for key
3DF399A4B27149489E62146DF298448B
2019-04-06 21:59:37.946 T:140407228847872   ERROR: Previous line
repeats 11 times.
2019-04-06 21:59:37.946 T:140407228847872  NOTICE: [Amazon VOD]
postURL:
https://atv-ps-eu.amazon.de/cdp/usage/UpdateStream?asin=B00FYULBAY&deviceTypeID=AOAGZA014O5RE&firmware=1&deviceID=1a542e1052b780e95a2a1a772d942210a1821d4e2fa9da17d306923b&marketplaceID=A1PA6795UKMFR9&format=json&version=1&gascEnabled=false&subtitleFormat=TTMLv2&event=STOP&timecode=0.0
2019-04-06 21:59:37.956 T:140407629739776   ERROR: AddOnLog:
InputStream Adaptive: DecodeVideo: kNoKey for key
3DF399A4B27149489E62146DF298448B
2019-04-06 21:59:48.004 T:140410318070720   ERROR: Previous line
repeats 391 times.
2019-04-06 21:59:48.004 T:140410318070720   ERROR: Control 50 in window
10025 has been asked to focus, but it can't

Audio is playing, but no video.

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/Sandmann79/xbmc/issues/293#issuecomment-480533514

-- Max vom Telefon

clonesr1 commented 5 years ago

very nice, mine is working too now.

Varstahl commented 5 years ago

I applied this fix yesterday, then playback was working with 720p

720p is HD, it can't work. If it was a problem on their end, they fixed it, it's normal.

quantenschaum commented 5 years ago

720p is HD, it can't work. If it was a problem on their end, they fixed it, it's normal.

OK. But it was working before, all the time. Why this?

When I reduce max resolution in the inputstream settings, I still get

ERROR: AddOnLog: InputStream Adaptive: DecodeVideo: kNoKey for key ...

What am I doing wrong?

Varstahl commented 5 years ago

Needs patching/the last update, or most likely you have HDCP override enabled in InputStream.Adaptive.

fatg3erman commented 5 years ago

This is crazy. Really appreciate your efforts to make this work but if Amazon insist on making stuff difficult for people then I guess I'll give my money to Netflix instead.

TehTux commented 5 years ago

This is crazy. Really appreciate your efforts to make this work but if Amazon insist on making stuff difficult for people then I guess I'll give my money to Netflix instead.

Netflix also uses Widevine, nobody knows if they will activate VMP in the future. 😵

fatg3erman commented 5 years ago

This is crazy. Really appreciate your efforts to make this work but if Amazon insist on making stuff difficult for people then I guess I'll give my money to Netflix instead.

Netflix also uses Widevine, nobody knows if they will activate VMP in the future. 😵

:( Then I guess I'll continue not giving my money to anybody.

quantenschaum commented 5 years ago

OK... I deleted ~/.kodi and installed the addons again. Then it works. Deleting all relevant directories under ~/kodi and reinstalling the addon worked as well. :+1:

hoksilato2 commented 5 years ago

Not for me @quantenschaum. I deleted %appdata%\roaming\kodi\addons\plugin.video.amazon-test folder, and Uninstalled and installed again the plugin.

Now i can see movies with any restrictions but tv shows its impossible. I can't list any title of episode :(

tmortagne commented 5 years ago

I just upgraded to 0.7.1 and American Gods is back to normal (was not starting at all with 0.7.0) in much better quality than in the browser so probably at least 720p (not sure how to check that while it's running).

mzanetti commented 5 years ago

Yeah, working fine for me again too, in HD. The only difference is that it takes some 30 seconds to start a video now, but it works eventually.

@tmortagne Pressing "Menu" while watching, then going to settings, then Video settings will show the video stream info (Although I'm not sure if that updates at runtime or just shows the initial values and I believe the stream will dynamically adapt the quality depending on available bandwith).

tmortagne commented 5 years ago

The only difference is that it takes some 30 seconds to start a video now, but it works eventually.

It's indeed not super fast.

@tmortagne Pressing "Menu" while watching, then going to settings, then Video settings will show the video stream info (Although I'm not sure if that updates at runtime or just shows the initial values and I believe the stream will dynamically adapt the quality depending on available bandwith).

Indeed thanks, I could have tough about that :) Will check that later.

quantenschaum commented 5 years ago

Works for me on movies as well as on TV shows with 960p.

Varstahl commented 5 years ago

@quantenschaum The resolution is counted with the vertical lines, not the horizontal width. You're watching 540p.

tmortagne commented 5 years ago

So I checked and while the quality is definitely better than what I can see in Firefox video settings indicates 540p.

hoksilato2 commented 5 years ago

Uninstalling and installing again 0.7.1 works all again. Thank you for the new update. Sound dd+ works perfectly and HD video too.

RobbesU commented 5 years ago

Had to do a full new install, but up and running again under 0.7.1. Showing 960x540.

quantenschaum commented 5 years ago

Yes, it's 540p. This actually does not belong here, but I just want to ask: Does anyone get more than 540p in Kodi? I don't see a noticeable difference in quality between Kodi and Chrome? In the browser I can select 3 different qualities, last one is 6.8GB/h on Windows, but 1.2GB/h on Linux. Does this correspond to HD/Full-HD? Does Kodi on Windows allow to play Full-HD?

Varstahl commented 5 years ago

Does anyone get more than 540p in Kodi?

Only on Android or other platforms with verified hardware for safe decoding/decrypting

I don't see a noticeable difference in quality between Kodi and Chrome?

The browser I use, Vivaldi, has been killed by Google/Widevine again. I won't use Chrome if my life depended on it, but Firefox can reach 1080p no problem:

hotfuzz

Does Kodi on Windows allow to play Full-HD

It used to, not anymore, in order for Kodi on Desktop to play full HD it needs binaries signed by Google. Yeah, good luck with that.

florianjacob commented 5 years ago

Everything works fine again on current stable LibreELEC + RaspberryPi + 480p, thank you! :tada:

ghoshben commented 5 years ago

@Varstahl sir can u please explain what the hell is vmp & how it works ? if u got time ?

Varstahl commented 5 years ago

Sure. VMP stands for Verified Media Path. The Widevine.dll, after being loaded scans the process tree that loaded it to verify whether or not it's safe to trust the executable. So, for example, it will find the tree to be (not specifically, I'm just giving random example):

  1. Firefox.exe
  2. PluginContainer.dll
  3. Widevine.dll

So Widevine.dll checks PluginContainer.dll and Firefox.exe to see if they're signed by Google, (the *.sig files found with the binaries). If they are, Widevine.dll bundles the signatures together and sends them to Google's servers for analysis, along with other data possibly, I never checked. At that point Google's servers respond with a trust/don't trust, and that tells you whether you're verified or not.

So, in our case, if you're a browser verified by google on a Desktop, it gets a response from Amazon's server which is "you know what, sure, decoding is not so safe, but we trust that executable so it's ok", along with the decoding key. If it's Kodi which loads Widevine.dll, then it gets a "fuck that noise" response and it can't decode anything.

This is roughly how everything goes.

ghoshben commented 5 years ago

thats great , but the firefox signature is opesource cannt we sign kodi with that signature ?

BenjaminHae commented 5 years ago

The signature is attached to firefox and is only valid for that binary. The signature itself is public, but the key to create that signature is not.

mirh commented 5 years ago

What if widevine wasn't the only DRM they supported?

Varstahl commented 5 years ago

It's not the only DRM afaik. I think there's also support for PlayReady2?

mirh commented 5 years ago

Right, we had already kind of discussed that. If you can't try to hookup system support for WV in Android because you couldn't be bothered to sniff programs on your devices though, why couldn't you try the same on Windo

Rrrrright, inputstream doesn't support playready at all on windows. Uh, but you could be the dev versed into windows api thing for @peak3d tho :smile:

Varstahl commented 5 years ago

Android doesn't have the problem. Since, technically, supported Android platforms have secure decoding/decrypting, they can already watch FHD content. The problem is only on PC.

It should be (theoretically) possible to code PlayReady support, but I'd have to look into it and atm I'm investing my time elsewhere.

Edit: ah, @mirh, I now understand what you meant with the "versed into the api".

ghoshben commented 5 years ago

@Varstahl Can I talk to u in private ?

Varstahl commented 5 years ago

@ghoshben strange question, but I guess you could find me in Telegram or DM me on Twitter, I guess.

Tarun75 commented 5 years ago

Hi @Varstahl , I face the same issue, when I click on the video, the video starts loading and slips. Nothing happens then. Please help with the solution.

Mark901 commented 5 years ago

Hi @Varstahl , I face the same issue, when I click on the video, the video starts loading and slips. Nothing happens then. Please help with the solution.

This should fix the video playback.

https://github.com/Sandmann79/xbmc/issues/324#issuecomment-530613375