CastagnaIT / plugin.video.netflix

InputStream based Netflix plugin for Kodi
MIT License
1.89k stars 258 forks source link

Video fails to play beyond 2 minutes #1678

Open Stefanperlarsson opened 5 months ago

Stefanperlarsson commented 5 months ago

Netflix add-on version

1.23.2+matrix1

Operative systems used

Android

Kodi version used

Kodi 20 (Nexus)

Description of the bug

Since last week there seem to be an issue playing videos beyond 2 minutes. The video stops playing, audio seem to continue however.

Starting the video half-way through also has the same issue. I tried multiple video streams with this as well, but no change.

Potentially related to https://github.com/xbmc/inputstream.adaptive/issues/1461 but I am unable to find a .zip to install the newer version of inputstream with.

If one is provided i can help test it.

Thank you.

Steps to reproduce the behavior

  1. Navigate to any video in Netflix
  2. Play the using any video stream
  3. Wait ~2 minutes
  4. See the video stop and fail to proceed

Debug log - mandatory

I seem to be unable to get the kodi.log file since I am using a chromecast. Please advise on how to get it and I will try my best.

Possible fix

No response

Additional context

No response

Screenshots

No response

tehjul commented 5 months ago

Same bug here on a Nvidia Shield TV 2017. After 2 minutes, the video freezes and the audio still playing. I think it's more Netflix related as this bug appeared in the same time for me as my Netflix app is only playing at 720p event if I have 800Mb of bandwidth. 3 or 4 days ago I didn't have any issue on both.

CastagnaIT commented 5 months ago

~this is duplicate of already opened issue #1675~ ~so for updates read that one~ edit: thread restored

CastagnaIT commented 4 months ago

i copy here my previous investigations:

the 2 minuts playback its normal because the first 2 minuts are unencrypted, and so after that time the DRM cannot do the decryption and playback its ofc broken.

i tried investigate but i have zero ideas of whats changed on netflix servers... website data looks the same as before, but device drm result in a weird error relative to initialize the drm session i have not found any info about this error on the web

02-04 10:54:50.228  3364  3406 E oemcrypto_cenc: OEMCrypto_LoadDRMPrivateKey: error in te_launch_operation: 0x1e
02-04 10:54:50.229  5400  5834 W System.err: android.media.NotProvisionedException: Failed to open session
nroets1 commented 4 months ago

First the important. Thank you very much for all working on this amazing addon. Your efforts are appreciated.

I can confirm that on Android MiBox S 4K and another Android TV box (HAKU), only 540p playback is possible. This is with kodi 21 omega beta 2 and latest inputstream update.

On my Linux pc with Ubuntu 22.04. Kodi 20.3, 1080p playback is working without an issue.

josefede commented 4 months ago

Amazon Firestick here. Also only first 2 minutes playback at 1080p and 4K

wajo666 commented 4 months ago

Philips 58PUS7304/12 Android 9 Kodi 21 beta2 Inputstream 21.4.2

same issue

Bajjmm commented 4 months ago

Also problems. Only works at 640p

Sony KD-65XH9505 Android 9 Kodi 20.3 Nexus Inputstream 20.3.17

PaulHeyworth commented 4 months ago

I can confirm I have the same issue too. On FireCube GEN2, GEN3, Firestick 4K and Nvidia Shield 2017. I've tried Kodi 20 Nexus, but also Omega Beta 2 and all exhibit the same behaviour of anything above 540p (based on the Netflix add-on settings) freezing after 2 minutes. Only the video stream is impacted and the audio continues to play unhindered.

Hopefully there is a fix, because the add-on has been excellent in my opinion and a much better experience than the native app.

Thanks for your help.

Paul.

tehjul commented 4 months ago

Hello guys, someone tried the official android app ? On my shield the image quality is poor (looks like 720p) even if I have about 800Mb/s bandwidth when I test my connections for in the app, and it started same time than this issue. Maybe it's Netflix related

nroets1 commented 4 months ago

@tehjul, I have tried on both my Android tv boxes, MiBox S 4K and HAKU, with the native netflix app. On both the playback is 4K without any issue. I have used the Google Home remote on my phone with hackers keyboard installed. During playback, press F8 to see the playback resolution. I have a suspicion, and I hope I'm wrong, that Netflix now only allow their native android app to decode beyond 540p on Android......

RealJustMe commented 4 months ago

@tehjul I noticed the same. The LG app has a clear image, but the app on my Fire TV looks like 720p.

tehjul commented 4 months ago

@nroets1 You're right I think. I plugged a keyboard and pressed F8 and I saw that I'm stuck at 540p (only in the native app, in Kodi it's ok but there's still this 2 minutes bug). I tried on my other devices (Computer, tablet, ..) and I have 2160p/1080p without any issue. Where did you find that information about android devices ?

nroets1 commented 4 months ago

@tehjul , I did not find it anywhere. Just assuming / guessing. As I said, I hope I'm wrong.

tsioukas commented 4 months ago

@nroets1, Correct me if I didn't understand it. You say that using Netflix Google TV APP you get 540p? Did you know if they ban your native ESN number? Have you ever used this Netflix/Device ESN number in KODI Netflix Addon in the past?

nroets1 commented 4 months ago

@tsioukas , no, I get 4k playback on the Android tv Netflix app. With kodi addon I only get 540p to work without freezing after 2 minutes.

TehShining commented 4 months ago

Hello guys. I have a Nvidia Shield 2017 with all the updates, and since last august the addon stopped streaming in 4k, only got 1080 in HDR. Even the native Shield Netflix app showed the same behavior. Other users have reported the same problem on Reddit ever since. The weird thing is that on my TV (Xiaomi Q2) the native Netflix app receives the streaming in 4k HDR/DV.

Now, on Kodi the addon is completely broken and on the native Shield app I only got streaming on SD. The native Netflix app on my TV still work without any issues. I may be wrong, but it looks like the problem is not related to kodi, but linked to streaming devices.

grapenose commented 4 months ago

I had no luck with Sony TV other than playing at 540. I assumed that I would have the same problem on my Fire Cube Gen3 .This runs android 11 , I think. I tried casting from my PC laptop which worked, but is a bit of a pain. As a last resort I installed on the Fire Cube and it is working, with what appears to be HD. Go figure!

grapenose commented 4 months ago

Now working on my Sony TV.

Ferosmyth commented 4 months ago

Same issue Sony android Tv, logged out, uninstalled the add on, installed again, now it doesn´t allow me to log in even with the authentication key. Help please!

BBican63 commented 4 months ago

Now working on my Sony TV.

grapenose can you explain to me how it works for you? My Sony BRAVIA TV still works for 2 minutes only.

PaulHeyworth commented 4 months ago

I'm a little puzzled by the lack of noise on this issue, because it seems now that the add-on is completely broken on Android devices, unless you force playback at 540p. The video simply stops after 2 minutes, making it no longer usable.

Am I off the mark with this statement and is it only affecting some users? Are there still people able to use the Kodi with the addon on Android devices? If so, I'll resume looking at local issues.

lukaszkuch commented 4 months ago

I want to confirm that it's not working for me either on Android TV. I've changed configuration to force 540p and some files starts to work, but others doesn't start at all.

BBican63 commented 4 months ago

Is there any chance that the add-on will work on HD and 4K for android (google tv) ? 540p is unusable, and that's the only thing that works now. I don't think the add-on works for anyone on Android (Google TV). I know it doesn't even work on a fire stick (I have several friends who tell me so). Convince me if I'm wrong.

grapenose commented 4 months ago

Now working on my Sony TV.

grapenose can you explain to me how it works for you? My Sony BRAVIA TV still works for 2 minutes only. Have had no power since Monday due to a massive storm that ripped through Victoria, Australia. So first chance to check and Netflix is not working on Sony or Fire cube other than at 540. Can't play One Day at all( get error message) but can play other series such as Fool Me Once at 540

kokobokoroko commented 4 months ago

Mi box working only 540 p Android 12 Plan netflix -uhd

pmsobrado commented 4 months ago

Fire Stick 4K Max here, same problem, with 4K and HDR, no playback, only sound and only some times, and the "nf_is_ads" or something like that "MSPlayback" error (I don't remember the error names).

manolischania commented 4 months ago

i have a question for you who have problem . netflix account is from your country or some other country ?

CastagnaIT commented 4 months ago

people are making a huge mess of comments on all the threads saying a lot of nonsense things and also ignoring my few comments, I'm a little tired of repeating things all the time, here i summarize:

Since nothing has changed on kodi, ISAdaptive and on the addon, something unclear is changed on netflix website server it is possible that new changes are needed on ISA, but seems more like something related to website quirks but i could be wrong since there are still DRM things that i dont know exaclty how works given poor docs and his complexity

On my part i currently have no other information and no other solutions And i don't even know who it would help on this

tsioukas commented 4 months ago

@CastagnaIT, sorry that I mess your threads. I will never comment again even to report my devices behavior. I thought that Linux problem solved by ISA latest update as users reported (and that’s why issue closed). I hope to find the solution.

pmsobrado commented 4 months ago

i have a question for you who have problem . netflix account is from your country or some other country ?

Mine is from other country, but the NF app works fine on the same device and I don't think that's the issue here.

manolischania commented 4 months ago

i have a question for you who have problem . netflix account is from your country or some other country ?

Mine is from other country, but the NF app works fine on the same device and I don't think that's the issue here.

I didn't say that this is the problem, I just asked a question because we have strange behavior in different accounts, I am from Greece and with a Turkish account it stops every two minutes from a Greek account and a Greek ip does not stop

pmsobrado commented 4 months ago

Are you saying that a greek account with a greek IP plays well on Kodi and Android beyond 540p? HD and UHD?

manolischania commented 4 months ago

Are you saying that a greek account with a greek IP plays well on Kodi and Android beyond 540p? HD and UHD?

on certified machines like nokia and 8010 with greek ip and greek account plays 4k dolby vision also with nigerian account and greek ip ... not with tourkish account an greek ip ...

pmsobrado commented 4 months ago

Weird, the error should be present on any Android device... my Fire TV is also certified...

manolischania commented 4 months ago

Weird, the error should be present on any Android device... my Fire TV is also certified...

I have different behavior on the same machine with different accounts that's why I asked the question

pmsobrado commented 4 months ago

Interesting...

BBican63 commented 4 months ago

I noticed a very strange thing on the original netflix app. I have a Sony BRAVIA XR-65A75K TV, Croatian account and Croatian IP. When I press the info button on the remote (the button below the number 7 button), I get the technical details of the currently playing video and it says "Video: 0.55 Mbps / 540 / Codec DV5" (image attached). The movie I'm watching is declared as 4K. The picture quality is excellent, at least HD. If I choose a movie that is declared as HD the situation is very similar "Video: 0.xx Mbps / 540 / Codec ...". Can someone check my statements? Video

BBican63 commented 4 months ago

Sorry, I forgot to mention. Before this issue it always said "Video: 27.xx Mbps / 2160 / Codec ..." or something similar.

krzychuw88 commented 4 months ago

PXL_20240216_105307353 I have the same issue. Even factory reset doesn't help. On different netflix account also low quality playback.

wajo666 commented 4 months ago

I think, netflix changed drm security. It is for security with sharing. He started blocked netflix app and you need to be in one home. Only playing via web browser is not secure under home check. Could someone check which version of video is played via web browser?

BBican63 commented 4 months ago

web browser resolution for me is full HD 1920x1080, but that's because my laptop supports a maximum of 1920x1080. I assume the resolution would be 4K if my laptop supported it. It would be good if someone else could try by pressing Alt+Crtl+Shift+D on the keyboard during playback. Video_web

nroets1 commented 4 months ago

web browser resolution for me is full HD 1920x1080, but that's because my laptop supports a maximum of 1920x1080. I assume the resolution would be 4K if my laptop supported it. It would be good if someone else could try by pressing Alt+Crtl+Shift+D on the keyboard during playback. Video_web

I assume you are using Edge / Chrome on Windows? That is the only two browsers that supports playback resolution of 1080p and Edge supports 4k playback aswell. All other browsers on all other platforms are limited to 720p playback. The image shows the Chrome playback resolution on my Linux laptop with a 1080p screen.

The kodi addon on linux actually achives better playback than any browser on Linux (1080p).

On Android, 4k playback was possible with the kodi addon since around the 15th of January 2024. It is now limited to 540p playback without freezing after 2 minutes. I assume that Netflix changed something on their side to only allow the native Netflix app on Android platforms to decode beyond 540p.

image

BBican63 commented 4 months ago

InputStream Adaptive 20.3.18 February 21, 2024 appeared, but my problem remained the same. Limit of 2 minutes and maximum resolution of 540p.

grapenose commented 4 months ago

Netflix seems to be working again for me. Did change over to USA from Australia with a DNS, so maybe it won't last.

josefede commented 4 months ago

Netflix seems to be working again for me. Did change over to USA from Australia with a DNS, so maybe it won't last.

That's interesting. Looks like it works for some people depending on their location. Does it still work if you disable the DNS?

grapenose commented 4 months ago

Now I really am confused. Does not work on my Amazon Fire Cube other than at 540. Works on my Sony Bravia TV with or without the DNS.

BBican63 commented 4 months ago

My Sony BRAVIA XR-65A75K (location Croatia) is still not working. It only works at 540p.

grapenose commented 4 months ago

Bravia H series 2020, Android 10. Still working

etgecata commented 4 months ago

Sorry for the bad english. My guess is that Netflix limits Android devices to 540p. I have an Nvidia Shield 2019. I have never used its ESN number in the Kodi addon. In the official Netflix app, my resolution is 540p. I have 4k in the Netflix app on the Samsung TV. There are two threads on the Nvidia Shield forum for other users that confirm this:

https://www.nvidia.com/en-us/geforce/forums/shield-tv/9/537184/netflix-unable-to-output-anything-higher-than-540p/ https://www.nvidia.com/en-us/geforce/forums/shield-tv/9/537504/netflix-bitrate-low-on-hd-streams-on-shield-tv-pro/

pmsobrado commented 4 months ago

But the official Netflix app seems to work fine for me, it's only the plugin the one that doesn't go beyond 540p :(

Now that I notice it, maybe not...