Kodi Community Forum

Full Version: 2018 - Amazon Fire TV Stick 4K
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2021-06-29, 15:05)ve01x Wrote: [ -> ]About hi10p - https://kodi.wiki/view/Archive:Hi10P, hardware support has been non existent for a long time, making it impossible to play without a powerful cpu. But recently, there was a change on this page https://developer.amazon.com/docs/fire-t...ftvstick4k
Quote:H.264. Hardware accelerated up to 3840x2160p (4K) @ 60fps, 20 Mbps, High 10 Profile Level 5.2
And today, I've confirmed that plex is able to direct play hi10p. Now, kodi could always direct play it but that was through falling back on software decode, resulting in dropped frames/stuttering making playback impossible. But plex is using the new hwdecode and plays smoothly, which I'm pretty sure was not the case a few months ago. Even emby, vlc, mx and the other players don't seem to have support for it yet. Is there something planned about that that I missed or should I make a post in feature requests or something?

Very interesting discovery. I tried it with Kodi and it fails with "profile not supported: 16" in the debug log - which is what you would expect if the profile (AVCProfileHigh10) isn't supported. It's trying, but it can't find a profile match. It would be interesting to defeat this profile search, just plow ahead regardless, and see if it works.
(2021-06-30, 16:25)Luke M Wrote: [ -> ]
(2021-06-29, 15:05)ve01x Wrote: [ -> ]About hi10p - https://kodi.wiki/view/Archive:Hi10P, hardware support has been non existent for a long time, making it impossible to play without a powerful cpu. But recently, there was a change on this page https://developer.amazon.com/docs/fire-t...ftvstick4k
Quote:H.264. Hardware accelerated up to 3840x2160p (4K) @ 60fps, 20 Mbps, High 10 Profile Level 5.2
And today, I've confirmed that plex is able to direct play hi10p. Now, kodi could always direct play it but that was through falling back on software decode, resulting in dropped frames/stuttering making playback impossible. But plex is using the new hwdecode and plays smoothly, which I'm pretty sure was not the case a few months ago. Even emby, vlc, mx and the other players don't seem to have support for it yet. Is there something planned about that that I missed or should I make a post in feature requests or something?

Very interesting discovery. I tried it with Kodi and it fails with "profile not supported: 16" in the debug log - which is what you would expect if the profile (AVCProfileHigh10) isn't supported. It's trying, but it can't find a profile match. It would be interesting to defeat this profile search, just plow ahead regardless, and see if it works.

So I built an experimental version of Kodi that ignores High10 and....it works! Smooth playback of >10mb/s 1080p AVC High10.

Edit: Found a problem. Resolutions other than 1080p (e.g. 720p) don't play correctly. The color is 100% green, for one thing.
(2021-07-01, 15:25)Luke M Wrote: [ -> ]
(2021-06-30, 16:25)Luke M Wrote: [ -> ]
(2021-06-29, 15:05)ve01x Wrote: [ -> ]About hi10p - https://kodi.wiki/view/Archive:Hi10P, hardware support has been non existent for a long time, making it impossible to play without a powerful cpu. But recently, there was a change on this page https://developer.amazon.com/docs/fire-t...ftvstick4k
And today, I've confirmed that plex is able to direct play hi10p. Now, kodi could always direct play it but that was through falling back on software decode, resulting in dropped frames/stuttering making playback impossible. But plex is using the new hwdecode and plays smoothly, which I'm pretty sure was not the case a few months ago. Even emby, vlc, mx and the other players don't seem to have support for it yet. Is there something planned about that that I missed or should I make a post in feature requests or something?

Very interesting discovery. I tried it with Kodi and it fails with "profile not supported: 16" in the debug log - which is what you would expect if the profile (AVCProfileHigh10) isn't supported. It's trying, but it can't find a profile match. It would be interesting to defeat this profile search, just plow ahead regardless, and see if it works.

So I built an experimental version of Kodi that ignores High10 and....it works! Smooth playback of >10mb/s 1080p AVC High10.
Sounds great, would it be possible to hand that edited/experimental APK over to me and maybe tell me what you exactly changed to ignore Hi10p?
(2021-07-01, 17:43)Maremide Wrote: [ -> ]
(2021-07-01, 15:25)Luke M Wrote: [ -> ]
(2021-06-30, 16:25)Luke M Wrote: [ -> ]Very interesting discovery. I tried it with Kodi and it fails with "profile not supported: 16" in the debug log - which is what you would expect if the profile (AVCProfileHigh10) isn't supported. It's trying, but it can't find a profile match. It would be interesting to defeat this profile search, just plow ahead regardless, and see if it works.

So I built an experimental version of Kodi that ignores High10 and....it works! Smooth playback of >10mb/s 1080p AVC High10.
Sounds great, would it be possible to hand that edited/experimental APK over to me and maybe tell me what you exactly changed to ignore Hi10p?

I removed "profile = CJNIMediaCodecInfoCodecProfileLevel::AVCProfileHigh10;" from DVDVideoCodecAndroidMediaCodec.cpp.

Line 466 here:
https://fossies.org/linux/xbmc/xbmc/core...aCodec.cpp

Experimental build:
https://www63.zippyshare.com/v/xdq9qGyH/file.html

You have to uninstall Kodi before you can install this.
Thanks for sharing, but however the Plex4Kodi Addon won't start. 

I also downloaded the source code of a stable version (19.1 ig) and edited the line,
but I don't know how to compile/make an apk out of it. Maybe you can tell me that
(2021-07-01, 19:00)Maremide Wrote: [ -> ]Thanks for sharing, but however the Plex4Kodi Addon won't start. 

I also downloaded the source code of a stable version (19.1 ig) and edited the line,
but I don't know how to compile/make an apk out of it. Maybe you can tell me that

https://github.com/xbmc/xbmc/blob/master...Android.md
(2021-07-01, 19:06)Luke M Wrote: [ -> ]
(2021-07-01, 19:00)Maremide Wrote: [ -> ]Thanks for sharing, but however the Plex4Kodi Addon won't start. 

I also downloaded the source code of a stable version (19.1 ig) and edited the line,
but I don't know how to compile/make an apk out of it. Maybe you can tell me that

https://github.com/xbmc/xbmc/blob/master...Android.md
Okay nvm, cli is a bit to difficult for me. Also, I'm a Windows user

Still, thanks for your help tho
(2021-07-01, 19:06)Luke M Wrote: [ -> ]
(2021-07-01, 19:00)Maremide Wrote: [ -> ]Thanks for sharing, but however the Plex4Kodi Addon won't start. 

I also downloaded the source code of a stable version (19.1 ig) and edited the line,
but I don't know how to compile/make an apk out of it. Maybe you can tell me that

https://github.com/xbmc/xbmc/blob/master...Android.md

Okay, I have tried the compelling to apk again, but I still couldn't do it.

Would it be possible that you make one for me with a stable version? So I can use the Plex Addon to test it?
But only if you have time for it and want to do for sure
(2021-07-03, 13:08)Maremide Wrote: [ -> ]
(2021-07-01, 19:06)Luke M Wrote: [ -> ]
(2021-07-01, 19:00)Maremide Wrote: [ -> ]Thanks for sharing, but however the Plex4Kodi Addon won't start. 

I also downloaded the source code of a stable version (19.1 ig) and edited the line,
but I don't know how to compile/make an apk out of it. Maybe you can tell me that

https://github.com/xbmc/xbmc/blob/master...Android.md

Okay, I have tried the compelling to apk again, but I still couldn't do it.

Would it be possible that you make one for me with a stable version? So I can use the Plex Addon to test it?
But only if you have time for it and want to do for sure

https://krakenfiles.com/view/aZQqOGJ3vA/file.html

This is actually a binary edit of 19.1, not a build from source. I did a quick test and it seems to work. Let me know...
That one works perfectly fine with Hi10p

I am so thankful for that rn

Thank you Smile
Got the 6.2.8.1/3385 update and haven't noticed much difference in the UI. Guess they fixed a ton of bugs.
Can anyone refresh my memory about Amazon's audio screwups? I gave my Fire Stick 4K (2018) to a friend, and I want to set it up so it outputs stereo PCM only. ISTR a recent update may be re-encoding things as DD+, but I'm not sure.

ETA: No reply after almost two weeks, but for anyone who cares, it worked fine. The stick is outputting stereo PCM, which is what my TV Bluetooth transmitter needs.
Kodi hangs for several minutes when I start Kodi after the Fire TV Stick 4K has been turned off.  If I force a stop or exit Kodi before I turn the Fire Stick off then Kodi starts quickly.  Is there a setting I can make to avoid Kodi hanging during startup?
(2021-08-07, 20:37)RKCRLR Wrote: [ -> ]Kodi hanging during startup?
Turn off settings>media>library>update library on start see if that does anything. A debug log would certainly help, might indicate a web service that is holding up a quick start. Kodi needs to exit properly, as it saves settings and writes to the log if this process is interrupted you might end up with partial writes and file corruption.
(2021-08-07, 20:37)RKCRLR Wrote: [ -> ]Kodi hangs for several minutes when I start Kodi after the Fire TV Stick 4K has been turned off.  If I force a stop or exit Kodi before I turn the Fire Stick off then Kodi starts quickly.  Is there a setting I can make to avoid Kodi hanging during startup?
I think I experienced the same when I had too many channels in my IPTV PVR Clients and it crashed Kodi.
Kodi Matrix will say "migrating database" or something like that upon the next startup.
So I always try to exit Kodi properly after finished using it.