-
Notifications
You must be signed in to change notification settings - Fork 225
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
[Manifest] Support 4k on Android/Nvidia shield #86
Comments
Currently not. Maybe one day, depends on inputstream.adaptive. |
Which reasearch is needed? With Youtube using dash and manual stream selection in inputstream.adaptive 4k is working in the Youtube addon. |
Passing HEVC through the DRM pipeline |
No research needed, we'll do it in the next couple of days |
@peak3d how ist the status of the HEVC passthrough? |
inputstream.adaptive seems to be able to play HEVC in general, not really tested with NX but I don't see any reason why it should not work. To allow 4K the NX plugin must be modified to request HEVC from netflix. @asciidisco and @trummerjo are already informed. |
Outstanding Pull Request #174 should enable the HEVC profiles. Will close this when merged & released. |
How to actually watch 4k videos:
|
Switch to the InputStream settings and change the stream selection to manual << why?? |
That is what I had to do when I tested this yesterday. With auto selected it was only offering me 1080p at best. Switching to manual allowed me to select the 4K streams. More than happy to try out any other settings you recommend |
@im85288 are you watching on a 4K Monitor? if you have a 4K display, and it does not work with auto, pls provide a debug log, thx! |
I’m watching it via my shield tv on an LG oled (kodi resolution is set to 4K). Up until you suggested activating the “ignore display” I had not activated it. I did so now but the result is the same (when stream selection is auto) in that it picks a 1080p resolution. Going to get a log after s quick cup of coffee :) |
@peak3d Hopefully this is of help: https://www.dropbox.com/s/gfrk6ajuplv8ni0/kodi.log?dl=0 Started looking through it myself but there is a lot there! In this example I played the first episode of Glow where I know there is a 4k stream but it chose the 1080p version |
Ok, thanx, from log I don't see anything unnormal, but will try (hopefully) this evening on my shield. |
@peak3d Let me know if you need to have something else logged, I can provide a version with more log options if needed. @im85288 What might be interesting as well, could be the generated Manifest file contents. You see the address in your log, it looks like this: http://localhost:48417/manifest?id=80115864 Unfortuanately, the port gets determined at every Kodi start, so the address is not persisted. If you have the chance to take a look at your logs while Kodi is running, you could try to open the address from within a browser (could be on a different device as well, just switch localhost with the devices IP address), copy the contents & post it here. Thanks :) |
I'm not sure if this helps: [img]https://i.imgur.com/LK3zSIm.jpg[/img] As you can see there a 1080p stream is in position 12 (after the 4k ones) could it be picking that one by mistake? |
Yep, this is exactly what I'm looking for (the generated manifest file). |
@peak3d Don't see a problem in doing that, I´ll try to get this in (maybe in a separate branch first) |
ok, great, thx! |
i think we should implement some kind of debug mode (maybe its possible to hook to the kodi debug mode?). |
@trummerjo Do you possibly have the time to look into this? |
Unfortunately I think the port may be blocked, attempting to access the url always gave me a connection error. If there is anything else I can do to help just let me know, thanks. |
removed as wrong output |
Hopefully the above is the generated manifest you needed? I just added logging locally after the call to get the manifest file is initiated |
I'll look into this one tomorrow @asciidisco |
Thank you @trummerjo 👍 |
@trummerjo yeah sure (though I’m not certain how yet as I’m fairly new to Android). I’ll have a look now to see how to dig it out |
@trummerjo I generated the apk and the link to download is here: https://www.dropbox.com/s/h76dc9ija8skl8p/com.netflix.mediaclient.apk?dl=0 |
Has anyone been able to stream hevc recently? I've been trying this on Windows with the 20170809-67137d6348-master-x86 version of Kodi and widevine-cdm/970-win-ia32.zip from the Firefox Sources. The inputstream max res secure/general are both set to max and stream selection is on manual. In the Expert tab of the netflix settings, all of the options are checked including HEVC. If I try to play a tv show (known to be 4k), it will begin playing in 640x480 using ff-hevc (SW) (573000~ rough bitrate) just fine, although if I try to up the quality to 720p, the video will freeze (at the previous quality) but the audio will continue. I am unable to play any of the higher qualities than 640x480 on hevc, h264 will work on 1080p though. Edit: I also noticed that with Hardware acceleration turned on (Render method set to DXVA and Allow HW Acceleration DXVA2 on) the lower qualities will show ff-hevc-d3d11va (HW) as the video codec but when I set it to 720p, the codec reads ff-hevc (SW) like it's not receiving the stream and detecting it. |
@camjac251 We added the hevc stuff for Android only (but wouldn't limit it, because detecting Android reliably is a shit show). If you´re not using Android, you should turn it off, it will cause more trouble then it helps & inputstream.adaptive wouldn't be able to detect the correct manifest entry. |
@asciidisco and @peak3d thank you for all your work honestly I have been so frustrated by the fact that I want a legitimate Kodi Box with my accounts but no way of having it. Are there any plans on porting this android feature to other platforms? I am using an odroid c2 and hevc would help me with the hardware decoder to reach the 1080p resoloution since my cpu on that board will never be able to do this on its own. Sorry for my bad English :D |
To have h/w decoding for Netflix on Linux/Arm devices, one would need a secure OS (like ChromeOs) and then discussions with widevine. I bet there will be something in the near future, but there is curently no real work on it because device vendors earn so much money with android devices. |
Is there a possibility to get HDR working? |
I hope so it’s the only reason I have not switched completely to using this addon. I’m not sure if there is any ongoing development on this addon at the minute though and did not hear back from my above comments. Fingers crossed, I would be happy to implement it if I knew where to look |
HDR is bound to ESN, currently we fake ESN because of crypto reasons. If this is done, we should be able to get the HDR streams. Ping @trummerjo |
@caphm it has been about 6 months since I last tested this, now that up next support is included I decided to try again. As much as I try (using the same NVIDIA shield) as previously I cannot get any of the 4K streams to show up as being selectable (using Kodi 18 beta 5). I set the expert settings of the addon to include both 4K and hdr profiles. Tried setting input stream to manual selection (as that worked previously). Is this still supported and working? |
@peak3d I recall you have a shield, is 4K/hdr working with your setup? Thanks |
@caphm Ok I read the readme and added my ESN and now I can see 4K streams (again only with manual) selected in input stream. I am not however seeing any hdr streams (according to the readme that should work now?) |
Did already someone else tested on a Mibox International? On app I can see 4K. What I'm missing? |
With the native App I'm able to watch 4k content. The addon only does 1080p.
Is it possible to support 4k on the Shield or Android in general?
The text was updated successfully, but these errors were encountered: