Open bobaoapae opened 1 year ago
Issue also reported on ExoPlayer now
Same. Is there any Kodi-Firestick fix to this issue that let me choose the HDR10+ and disables Dolby Vision? I'm with Samsung 4K TV Q95T (Only HDR10+, No DV). Firestick 4K Max, Kodi 20.1 latest nightly.
These files work fine from a PC and now that I got Firestick none of them identify the HDR10+. Unbelievable disappointed.
Can you please share the link to the Kodi version with the fix? The Kodi forum is down (been hacked).
https://github.com/quietvoid/xbmc
This branch has the fix, it's in advanced config of the player
@bobaoapae Thank you very much, will test as soon as I can.
UPDATE: Installed and works great! (Tested 3 files with HDR10+DV) @KyleSanderson, Yep, that exactly what I did. Thanks.
FYI: LOL, now I got 2 Kodi versions on the "My Apps/Home" and both of them open the same old 20.1 (very strange). I thought, like in PC, it will replace the old version, didn't know about uninstall first (Glad I didn't because later on I copy the addon and userdata folders).
I'm able to launch the new 21-quietvoid from the Firestick Setting - Applications - Kodi 21 - Launch. Work fine, I hope it's ok? (Total newbie, less than 24 hours)
Either HDR10+ or DV should resolve the issue, just make sure you don't select both.
I hope this issue receive some attention.. this it's a old bug already know on plex community but never get fixed by major players, kodi it's the first to release some kind of fix.
Libvlc has the same issue, mxplayer, justplayer, exoplayer.. and many others i tested, much of theses to depend on libvlc/exoplayer.
So if exoplayer or libvlc receive some fix this can propagate for several others players.
I already tested some kinds of "fix" in the code by my self but i really don't know nothing about codecs it's self to build the misssig logic arround... in my opnion player should check if has hdr10+ and dolby vision send just the best layer supported by display, at least on firestick due to have some bug on the decoder in the system that cause this bug.
Honesty, I have no idea how this issue doesn't get the highest exposure on the web. Where are the original devs? How come they didn't release this Kodi fork fix in the original nightly versions.
BTW, I see that the latest release was 3+ month ago (Jan 24), is it still maintained? There were so many other bug fixes in the original Kodi git. Any suggestion where else can I look for more updated/sync version?
Also, I already link your post to anyone else as the no'1 explanation + fix. :)
Honesty, I have no idea how this issue doesn't get the highest exposure on the web. Where are the original devs? How come they didn't release this Kodi fork fix in the original nightly versions.
BTW, I see that the latest release was 3+ month ago (Jan 24), is it still maintained? There were so many other bug fixes in the original Kodi git. Any suggestion where else can I look for more updated/sync version?
Also, I already link your post to anyone else as the no'1 explanation + fix. :)
The vast majority of jellyfin users are transcoding 480i and thinking that's the best they're going to get. Kodi is a bit better at 720p (down to 240p), but leaning on the latest codec and metadata combinations takes work from a developer who just isn't watching IPTV (which, unfortunately, is the vast majority).
Yes, it's a pretty pathetic situation honestly. However, there's a couple people trying to actually improve the ecosystem despite constant egos and "this worked on dialup", "media bitrates never exceed 1mbit/s", "Linux doesn't support HDR so I don't care", and every other fallacy under the sun.
+1 need fix
I have this exact same issue with Fire TV 4K Max with Plex (same view as OP’s screenshot with the picture wrapping). I have no issues playing the same video through Plex on a 4K Fire TV (TV w/ Fire TV built-in). Wondering if this issue is specific to Fire TV 4K Max?
Yes it is - issue is the FireTV 4K Max. I have got around the issue by converting/fixing the DV8.1/HDR or DV8.1/HDR10+ media files - they now play just fine with Emby for FireTV (have yet to try JF - I'm just looking to transition..). Files prior to conversion worked fine on FireTV 4K, so issue is the Max I agree.
I got around to investigate this a bit with a FireTV Stick 4K Ultra HD. It has the same decoders available I believe and it also fails to play the provided file with the Dolby Vision decoder on the device (despite the decoder claiming it supports this profile and level). If I force the HEVC fallback level decoder, it works just fine (but is of course no longer using Dolby Vision).
@ybai001 : Not sure if you also maintain these codecs, but it seems the Amazon Fire TV sticks have 3 different Dolby Vision codecs, and one of them has matching profile/level information to play the file in this issue: OMX.MTK.VIDEO.DECODER.DVHE.STH
. However, the output is just black frames. Given the surprising number of reports in this issue recently, could it be that this was caused by some system update with a new codec binary?
If this issue is more permanent and can't be fixed by Dolby/Amazon, we could add a workaround in ExoPlayer to exclude this codec on these devices, but ideally we can just fix the underlying issue.
@ all issue reporters: The Kodi "fix" is basically what I described here: exclude the Dolby Vision decoder and force the fallback HEVC level decoder to play the video. You can do this manually in your ExoPlayer-based app by adding something like this on DefaultRenderersFactory
(which can be set in ExoPlayer.Builder
):
.setMediaCodecSelector(
(mimeType, requiresSecureDecoder, requiresTunnelingDecoder) -> {
if (mimeType.equals(MimeTypes.VIDEO_DOLBY_VISION)) {
return ImmutableList.of();
}
return MediaCodecSelector.DEFAULT.getDecoderInfos(
mimeType, requiresSecureDecoder, requiresTunnelingDecoder);
})
``
@ all issue reporters: The Kodi "fix" is basically what I described here: exclude the Dolby Vision decoder and force the fallback HEVC level decoder to play the video.
No, that is not the case. You tested on the old 4K stick, not the 2021 4K Max.
On the 4K Max, even when forcing the regular HEVC decoder, it is still playing in Dolby Vision and outputs a blank image. Only the 4K Max behaves that way, it completely ignores the chosen decoder.
The only workaround has been to strip the Dolby Vision or HDR10+ from bitstream before passing the bytes to the decoder.
Are you sure the issue is not poorly created DV8 files ? I have seen the black output myself, but by running the 'correction/remux' using DoviTools - the files then play fine (with DV being triggered). Same with creating DV8 files from DV5 + HDR10, they play fine as well. Using the latest Exo in Emby actually, but assume JF issue would be the same.
On the 4K Max, even when forcing the regular HEVC decoder, it is still playing in Dolby Vision and outputs a blank image. Only the 4K Max behaves that way, it completely ignores the chosen decoder.
This sounds very unusual. Are you certain it's not using the Dolby Vision decoder? You can verify this by looking at the logs in a bugreport or logcat.
Are you sure the issue is not poorly created DV8 files ?
I was working on the assumption that these a perfectly valid files that are also supported by other players. If the files are just broken media, then there is probably not much that can be done in the player and the media should be fixed instead.
This sounds very unusual. Are you certain it's not using the Dolby Vision decoder? You can verify this by looking at the logs in a bugreport or logcat.
Yes, the issue even affects users with displays that don't support Dolby Vision.
Are you sure the issue is not poorly created DV8 files ? I have seen the black output myself, but by running the 'correction/remux' using DoviTools - the files then play fine (with DV being triggered).
The files are perfectly valid here, it's just not super common for both HDR10+ and Dolby Vision to be in the same bitstream. I have no idea what this "correction" is doing but maybe it's just simply removing HDR10+.
I've had issues with DV8 (DV/HDR10) files with the same black screen symptom on the Max - a run though the correction/remux fixes those - so I assumed (incorrectly) that it fixed the DV/HDR10+ files as well. I just tested two 'fixed' DV/HDR10+ files and I still get the black screen. The standard DV8/HDR10 files are now all ok. So please disregard the above about it being fixed - it's not.
Apologies - my mistake !
The test files run without problem in the same version of jellyfin on the TV it's self, issue only in the firestick.
Also this happens in all the majors players i tested on the firestick, it's a bug in the firestick but amazon don't assume the problem.
The only working solution it's the solution provided by some fork of Kodi, to enable disable Dolby or HDR10+, doing exactly what @quietvoid said, they remove the bytes from the stream.
I got around to investigate this a bit with a FireTV Stick 4K Ultra HD. It has the same decoders available I believe and it also fails to play the provided file with the Dolby Vision decoder on the device (despite the decoder claiming it supports this profile and level). If I force the HEVC fallback level decoder, it works just fine (but is of course no longer using Dolby Vision).
@ybai001 : Not sure if you also maintain these codecs, but it seems the Amazon Fire TV sticks have 3 different Dolby Vision codecs, and one of them has matching profile/level information to play the file in this issue:
OMX.MTK.VIDEO.DECODER.DVHE.STH
. However, the output is just black frames. Given the surprising number of reports in this issue recently, could it be that this was caused by some system update with a new codec binary?If this issue is more permanent and can't be fixed by Dolby/Amazon, we could add a workaround in ExoPlayer to exclude this codec on these devices, but ideally we can just fix the underlying issue.
@ all issue reporters: The Kodi "fix" is basically what I described here: exclude the Dolby Vision decoder and force the fallback HEVC level decoder to play the video. You can do this manually in your ExoPlayer-based app by adding something like this on
DefaultRenderersFactory
(which can be set inExoPlayer.Builder
):.setMediaCodecSelector( (mimeType, requiresSecureDecoder, requiresTunnelingDecoder) -> { if (mimeType.equals(MimeTypes.VIDEO_DOLBY_VISION)) { return ImmutableList.of(); } return MediaCodecSelector.DEFAULT.getDecoderInfos( mimeType, requiresSecureDecoder, requiresTunnelingDecoder); }) ``
@tonihei , I'll check with Dolby internal stakeholder about this issue. Stay tuned.
BR, Yanning
@tonihei , our Dolby QA tested some Dolby Vision Profile 8, Level = 6, CCID = 1 contents on Amazon Firestick 4K max. There is no this kind of issue. Could you help to share the media with me for testing? You can send a link to ybai@dolby.com.
@tonihei , our Dolby QA tested some Dolby Vision Profile 8, Level = 6, CCID = 1 contents on Amazon Firestick 4K max. There is no this kind of issue. Could you help to share the media with me for testing? You can send a link to ybai@dolby.com.
Can I send? I have some files here with this problem in firestick 4k max.
@tonihei , our Dolby QA tested some Dolby Vision Profile 8, Level = 6, CCID = 1 contents on Amazon Firestick 4K max. There is no this kind of issue. Could you help to share the media with me for testing? You can send a link to ybai@dolby.com.
Can I send? I have some files here with this problem in firestick 4k max.
@bobaoapae, tonihei has already sent us the test stream and we can reproduce this issue now. The corresponding engineers are analyzing this issue. Stay tuned.
Is there an update on this?
Also having major issues playing back content on the 4K Max.
Let me check with team whether they can provide some feedback early this week. Thanks for your patient.
Here is feedback from corresponding team.
First of all, they did some testing. Playing the stream with HDR10+ and Dolby Vision stream on Firestick and Amazon Cube TV
So, as of now it looks like on few devices having good playback and other devices it is black.
The team is still consulting the Amazon team why the variation is observed on amazon devices.
This problem it's a little old... just got more attention theses days.
reference: https://forum.makemkv.com/forum/viewtopic.php?t=29757
Im having the same issue of black screen on dv hdr files on my firestick 4k max. I hope there will be a fix. I can provide files with the issue if needed
@ybai001 hello any news on that?
@ybai001 hello any news on that?
Our engineering team is consulting Amazon team but has not got feedback by now. :(
damn not even dolby getting a response from anazon? they should really give out refunds for their shitty device
@ybai001 hello any news on that?
Our engineering team is consulting Amazon team but has not got feedback by now. :(
I don't think Amazon will fix this, it's a old bug as you can see here https://forum.makemkv.com/forum/viewtopic.php?t=29757. This will need to be solved in https://github.com/google/ExoPlayer or more exactly in the new https://github.com/androidx/media
For info the new FireTV Stick 4K Max 2nd gen (2023) still has the same issues.
Dolby Vision profile 7 FEL still shows a blank screen. And files with both HDR10+ and Dolby Vision also show a blank screen.
just to confirm, the Amazon Fire TV Cube should be able to play 4k hdr10+ just fine right ? if not can someone recommend something that works ?
For info the new FireTV Stick 4K Max 2nd gen (2023) still has the same issues.
Just about to buy. Thanks for saving me the time and headache of trying to install the regular version.
From my limited experience, this seems to happen with files with with an aspect ratio different from 16:9. I have files with the same HDR10/DV8.1 profiles working as expected on a 4K Max Fire TV if they're 16:9, but in 2.40:1 I get a black screen (no playback interface) with just audio.
From my limited experience, this seems to happen with files with with an aspect ratio different from 16:9.
No, that's unrelated. You might want to check that your non working files also have HDR10+.
This works:
Video
Title: 4K HEVC HDR
Codec: HEVC
Profile: Main 10
Level: 150
Resolution: 3840x2160
Aspect ratio: 16:9
Interlaced: No
Framerate: 23.976025
Bitrate: 25117 kbps
Bit depth: 10 bit
Video range: HDR
Video range type: HDR10
DV title: DV Profile 8.1 (HDR10)
DV version major: 1
DV version minor: 0
DV profile: 8
DV level: 6
DV rpu preset flag: 1
DV el preset flag: 0
DV bl preset flag: 1
DV bl signal compatibility id: 1
Color space: bt2020nc
Color transfer: smpte2084
Color primaries: bt2020
Pixel format: yuv420p10le
Ref frames: 1
This doesn't:
Video
Title: 4K HEVC HDR
Codec: HEVC
Profile: Main 10
Level: 150
Resolution: 3840x1608
Aspect ratio: 2.40:1
Interlaced: No
Framerate: 23.976025
Bitrate: 24689 kbps
Bit depth: 10 bit
Video range: HDR
Video range type: HDR10
DV title: DV Profile 8.1 (HDR10)
DV version major: 1
DV version minor: 0
DV profile: 8
DV level: 6
DV rpu preset flag: 1
DV el preset flag: 0
DV bl preset flag: 1
DV bl signal compatibility id: 1
Color space: bt2020nc
Color transfer: smpte2084
Color primaries: bt2020
Pixel format: yuv420p10le
Ref frames: 1
Jellyfin doesn't show HDR10+. Use MediaInfo instead.
This will need to be solved in https://github.com/google/ExoPlayer or more exactly in the new https://github.com/androidx/media
ExoPlayer is generally happy to accept workarounds for known device-specific issues. The problem to my understanding is that the only known workaround is extremely verbose and involves modifying the actual bitstream. It would be a lot easier if the workaround code is more confined and manageable, e.g. selecting specific decoder instances, providing additional config flags to these decoders etc. If anyone can find a way to solve the playback problem in this way, please let us know.
This will need to be solved in https://github.com/google/ExoPlayer or more exactly in the new https://github.com/androidx/media
ExoPlayer is generally happy to accept workarounds for known device-specific issues. The problem to my understanding is that the only known workaround is extremely verbose and involves modifying the actual bitstream. It would be a lot easier if the workaround code is more confined and manageable, e.g. selecting specific decoder instances, providing additional config flags to these decoders etc. If anyone can find a way to solve the playback problem in this way, please let us know.
Yeah... but the only solution that works it's the one provided by @quietvoid in they fork of Kodi, as the bug it's in the driver embbed by amazon in the firestick that refuse to handle the bitstream correclty if hdr10+ and dolby vision are provided togheter. So yes would be much more better if anyone found a better solution, but has be a long time of this bug in theses devices without any action, if possible to use this currenlty "fix" for this problem in this way until someone can figure out a better way would be amazing for us with this problem. As currently the only way it's using the fork of Kodi or reenconding the file.
It would be a lot easier if the workaround code is more confined and manageable, e.g. selecting specific decoder instances, providing additional config flags to these decoders etc. If anyone can find a way to solve the playback problem in this way, please let us know.
@tonihei If you actually have suggestions of configurations to test, then it could be possible to try other workarounds.
I don't know much about Android. The only thing I could test was disallowing the Dolby Vision codecs. That didn't work on these devices. Other workarounds don't seem too likely, or it just needs someone who actually knows what can be tried.
For info the new FireTV Stick 4K Max 2nd gen (2023) still has the same issues.
Dolby Vision profile 7 FEL still shows a blank screen. And files with both HDR10+ and Dolby Vision also show a blank screen.
Any idea if it affects the new Fire Stick 4K (2023) also? The non max version.
@NetixQc I have the Fire Stick 4k (2nd Gen, 2023) non max version and this bug also affects it.
@ybai001 just checking again, any news?
@ybai001 just checking again, any news?
@bobaoapae, let me check with relative engineer whether we got feedback from Amazon.
Had the same issue - Firestick 4K 2023. Black screen and audio playing. Solved the problem by unchecking both "Audio Bitstream Dolby Digital" and "Bitstream Audio DTS". Honestly even if my hardware is incompatible with these settings, I don't understand why they should cause the black screen issue.
@ybai001
I am writing to express my frustration with the lack of communication and resolution regarding this issue. It has been months since it was first reported, and we have yet to receive any updates or feedback from you. This is unacceptable and unprofessional.
We understand that issues can arise, but the lack of transparency and accountability is frustrating. We deserve better than this. We have been waiting for months without any resolution or communication from you. This is not acceptable.
We urge you to take responsibility for the problem and communicate with us in a timely and transparent manner. We expect you to provide us with a clear timeline for when the issue will be resolved. We have been patient for too long, and we need a resolution as soon as possible.
We suggest that you provide regular updates on the progress of the issue and communicate with us in a transparent and timely manner. We hope that you will take our concerns seriously and work towards a resolution as soon as possible.
Thank you for your attention to this matter.
@ybai001
I am writing to express my frustration with the lack of communication and resolution regarding this issue. It has been months since it was first reported, and we have yet to receive any updates or feedback from you. This is unacceptable and unprofessional.
We understand that issues can arise, but the lack of transparency and accountability is frustrating. We deserve better than this. We have been waiting for months without any resolution or communication from you. This is not acceptable.
We urge you to take responsibility for the problem and communicate with us in a timely and transparent manner. We expect you to provide us with a clear timeline for when the issue will be resolved. We have been patient for too long, and we need a resolution as soon as possible.
We suggest that you provide regular updates on the progress of the issue and communicate with us in a transparent and timely manner. We hope that you will take our concerns seriously and work towards a resolution as soon as possible.
Thank you for your attention to this matter.
Dear user. I am very sory that you have this kind of unpleasant opinion of an app that you paid absolutely nothing for and did not contribute anything apart from this complaint.
I would recommend you to read though the whole discussion here. But i will be so nice to give you a summery: "The cause of the issue was at first not easy to identify and after that was determined to be an underlying issue was an issue with amazon's OS"
I will now take my responsibility and communicate to you that there is no current progress made on this issue. If you want it fixed however you are welcome to do so and PR the changes if you dont want to wait on anyone to fix it in their spare time for you to enjoy.
I tried to formulate this response as Professional as possible so please be lenient if it may sounded a bit harsh.
@ybai001
I am writing to express my frustration with the lack of communication and resolution regarding this issue. It has been months since it was first reported, and we have yet to receive any updates or feedback from you. This is unacceptable and unprofessional.
We understand that issues can arise, but the lack of transparency and accountability is frustrating. We deserve better than this. We have been waiting for months without any resolution or communication from you. This is not acceptable.
We urge you to take responsibility for the problem and communicate with us in a timely and transparent manner. We expect you to provide us with a clear timeline for when the issue will be resolved. We have been patient for too long, and we need a resolution as soon as possible.
We suggest that you provide regular updates on the progress of the issue and communicate with us in a transparent and timely manner. We hope that you will take our concerns seriously and work towards a resolution as soon as possible.
Thank you for your attention to this matter.
@daf0x , sorry for making you frustrated. As I replied in Aug, 21 in this thread, our Dolby engineering team has analyzed this issue. We observed the playback is OK on some Amazon devices while it is not on other Amazon devices. We provided same Dolby codec release to Amazon and we are helping to consult the Amazon team why the variation is observed. Dolby team has checked with Amazon team several times. The last time is on Dec 15th. Unfortunately, we didn't get any feedback by now.
@ybai001 I am writing to express my frustration with the lack of communication and resolution regarding this issue. It has been months since it was first reported, and we have yet to receive any updates or feedback from you. This is unacceptable and unprofessional. We understand that issues can arise, but the lack of transparency and accountability is frustrating. We deserve better than this. We have been waiting for months without any resolution or communication from you. This is not acceptable. We urge you to take responsibility for the problem and communicate with us in a timely and transparent manner. We expect you to provide us with a clear timeline for when the issue will be resolved. We have been patient for too long, and we need a resolution as soon as possible. We suggest that you provide regular updates on the progress of the issue and communicate with us in a transparent and timely manner. We hope that you will take our concerns seriously and work towards a resolution as soon as possible. Thank you for your attention to this matter.
@daf0x , sorry for making you frustrated. As I replied in Aug, 21 in this thread, our Dolby engineering team has analyzed this issue. We observed the playback is OK on some Amazon devices while it is not on other Amazon devices. We provided same Dolby codec release to Amazon and we are helping to consult the Amazon team why the variation is observed. Dolby team has checked with Amazon team several times. The last time is on Dec 15th. Unfortunately, we didn't get any feedback by now.
Yeah it's not on you guys at all, it's a common industry complaint with that team. These sticks are to deliver Prime Video, if Prime works nothing else matters (as unfortunate as it is).
As discovered in another issue (and I hadn't checked the repo history in a long time until then) the project is maintained now by a single individual. All the information that's needed is here, if you need DoVi use any other player until the new backend comes in.
Describe the bug
When playing a file that has hdr10+ and also dolby vision profile 8.1 image get full black or duplicate(check here).
This issue occours on all others players too, but kodi appers to have found a solution (here). Whe using this version i go do options -> video -> uncheck hdr10+ and video play smoth using Dolby Vision, if keep hdr10+ and dolby vision same issue happens, appers to have some problem with firestick decode that can't play a file with theses two codecs enabled, need to explicit configure player to use one or other
I can play the same file using this kodi modded version without any issue, but using exoplayer/libvlc on jellyfind don't work
Logs
No response
FFmpeg logs
No response
Media info of the file
Application version
latest
Device information
Amazon Firestick 4k max
Android version
latest
Jellyfin server version
latest