-
-
Notifications
You must be signed in to change notification settings - Fork 449
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
Firestick 4k max (files with hdr10+ and dolby vision profile 8.1) #2630
Comments
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? These files work fine from a PC and now that I got Firestick none of them identify the HDR10+. 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) 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. |
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. :) |
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. |
This comment was marked as spam.
This comment was marked as spam.
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: 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
|
No, that is not the case. On the 4K Max, even when forcing the regular HEVC decoder, it is still playing in Dolby Vision and outputs a blank image. 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. |
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.
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. |
Yes, the issue even affects users with displays that don't support Dolby Vision.
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'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. |
@tonihei , I'll check with Dolby internal stakeholder about this issue. Stay tuned. BR, |
@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? |
This works:
This doesn't:
|
Jellyfin doesn't show HDR10+. Use MediaInfo instead. |
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. |
@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. |
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? |
@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. |
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 would recommend you to read though the whole discussion here. But i will be so nice to give you a summery: 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. |
@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. |
Hi, I have created this issue for exoPlayer androidx/media#957 which is currently one of the native players in Stremio and both firestick 4k max 1st and 2nd gen will cause issues (either black screen with audio only or split screen). Considering a player as Vimu Media Player makes it work I was hoping a fix can be created within the player itself (exoPlayer in this case), if anyone has suggestions or comments please add them in there or here! Thanks in advance. |
@tonihei "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." Considering it's been half a year and this quite an annoying issue, could you please add a workaround in ExoPlayer itself? Even if not preferred solution? It's quite obvious by now that Amazon won't do anything, and DV team (@ybai001) has tried their best. Let users know please |
The issue that the workaround is not quite as simple as I thought. What I was seeing only fixes the issue on older FireTV Stick 4K Ultra HD devices, not the 2021 4K Max ones. The only known workaround for the new devices (as far as I understand) is to modify the actual bitstream to remove either HDR+ or DV metadata (see quietvoid/xbmc@308135d). While this is possible in theory, it's quite invasive as bitstream rewriting isn't usually done when processing video bytes and there is no existing method we could simply hook into. If you are motivated to solve it, feel free to send a Media3 pull request that does that and we can see how it looks like. It could probably go somewhere in this method where you could try to modify the contents of |
There's no chance to edit it the way Kodi has it in advanced config settings to force HDR or DV? |
I think one solution might be that the client (with a certain setting) asks to the server to strip out DoVi or HDR10+ metadata on the fly. In this way we can entirely workaround this problem |
4k max user here; i can confirm that kodi's advanced option they added at some point in 21 omega solved the issue for me. I would love jellyfin to add one of the suggestions above whereby an advanced setting could make the server strip out the metadata on the fly. please & thanks! |
Same here for Jellyfin on a 4k Max (just bought so guessing 2023 model) |
I too have the same issue. But whilst the team are working hard to fix it, is there a script or way to remove hdr10+ elements from the file so that only dolby vision remains which would seemingly fix the issue |
For anyone interested, by running the following command, you can get rid of the HDR10+ data which then means the file is playable again, for hevc files.
|
Thanks, it worked. |
Does anyone know of a way that avoids remux which is inherent of ffmpeg. Something can modify the existing file? |
I'm still interested in this fix as well! It's frustrating that it's a bug on their end but a workaround would be nice. |
Workaround is using Kodi to strip either HDR10 or DV metadata on the fly |
That workaround would involve my non-technical users having to install
third party media players and plugins, it's a nonstarter for me
unfortunately.
…On Mon, Jun 17, 2024, 10:22 AM Nick ***@***.***> wrote:
I'm still interested in this fix as well! It's frustrating that it's a bug
on their end but a workaround would be nice.
Workaround is using Kodi to strip either HDR10 or DV metadata on the fly
—
Reply to this email directly, view it on GitHub
<#2630 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABQYWERKJFA2SJWJGMSC4R3ZH3WJLAVCNFSM6AAAAAAWPX2RDCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZTGU2TSNBTHA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
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
Vídeo Título: 4K HEVC HDR Codec: HEVC Perfil: Main 10 Nível: 150 Resolução: 3832x1596 Proporção da tela: 2.40:1 Entrelaçado: No Taxa de quadros: 23.976025 Bitrate: 25167 kbps Profundidade de bits: 10 bit Intervalo do vídeo: 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 Espaço de cor: bt2020nc Transferência de cor: smpte2084 Cores primárias: bt2020 Formato de pixel: yuv420p10le Quadros de referência: 1
Application version
latest
Device information
Amazon Firestick 4k max
Android version
latest
Jellyfin server version
latest
The text was updated successfully, but these errors were encountered: