Skip to content
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

Open
bobaoapae opened this issue Apr 1, 2023 · 57 comments
Open

Firestick 4k max (files with hdr10+ and dolby vision profile 8.1) #2630

bobaoapae opened this issue Apr 1, 2023 · 57 comments
Labels
bug Something isn't working playback Issue related to media playback

Comments

@bobaoapae
Copy link
Contributor

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

@bobaoapae bobaoapae added bug Something isn't working playback Issue related to media playback labels Apr 1, 2023
@bobaoapae
Copy link
Contributor Author

Issue also reported on ExoPlayer now

google/ExoPlayer#11096

@SubEdict
Copy link

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).

@bobaoapae
Copy link
Contributor Author

https://github.com/quietvoid/xbmc

This branch has the fix, it's in advanced config of the player

@SubEdict
Copy link

SubEdict commented Apr 12, 2023

@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)

@KyleSanderson
Copy link

Either HDR10+ or DV should resolve the issue, just make sure you don't select both.

@bobaoapae
Copy link
Contributor Author

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.

@SubEdict
Copy link

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. :)

@KyleSanderson
Copy link

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.

@frezeen

This comment was marked as spam.

@mikemulhearn
Copy link

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?

@rbjtech-github
Copy link

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.

@tonihei
Copy link

tonihei commented Jul 19, 2023

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);
  })
``

@quietvoid
Copy link

quietvoid commented Jul 19, 2023

@ 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.

@rbjtech-github
Copy link

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.

@tonihei
Copy link

tonihei commented Jul 19, 2023

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.

@quietvoid
Copy link

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+.

@rbjtech-github
Copy link

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 !

@bobaoapae
Copy link
Contributor Author

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.

@ybai001
Copy link

ybai001 commented Jul 20, 2023

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);
  })
``

@tonihei , I'll check with Dolby internal stakeholder about this issue. Stay tuned.

BR,
Yanning

@ybai001
Copy link

ybai001 commented Jul 20, 2023

@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.

@bobaoapae
Copy link
Contributor Author

@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.

@ybai001
Copy link

ybai001 commented Aug 1, 2023

@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.

@theinfguy
Copy link

Is there an update on this?

Also having major issues playing back content on the 4K Max.

@ybai001
Copy link

ybai001 commented Aug 21, 2023

Let me check with team whether they can provide some feedback early this week. Thanks for your patient.

@ybai001
Copy link

ybai001 commented Aug 21, 2023

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

  • FireStick 4k Max – Video playback is black, Audio is Good.
  • Amazon Fire TV Cube – Video playback is fine (selects Dolby Vision), Audio is Good.
    Exoplayer used is v2.11.apk from Dolby Vision Source SDK v2.6 LA.

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.

@bobaoapae
Copy link
Contributor Author

This problem it's a little old... just got more attention theses days.

reference: https://forum.makemkv.com/forum/viewtopic.php?t=29757

@Marvellll
Copy link

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

@bobaoapae
Copy link
Contributor Author

@ybai001 hello any news on that?

@bobaoapae
Copy link
Contributor Author

@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

@quietvoid
Copy link

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.

@mellmo
Copy link

mellmo commented Sep 30, 2023

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 ?

@SubEdict
Copy link

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.

@vyngur
Copy link

vyngur commented Oct 1, 2023

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.

@quietvoid
Copy link

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+.

@vyngur
Copy link

vyngur commented Oct 1, 2023

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

@quietvoid
Copy link

Jellyfin doesn't show HDR10+. Use MediaInfo instead.

@tonihei
Copy link

tonihei commented Oct 2, 2023

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.

@bobaoapae
Copy link
Contributor Author

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.

@quietvoid
Copy link

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.

@NetixQc
Copy link

NetixQc commented Nov 16, 2023

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.

@MichaelRUSF
Copy link
Contributor

@NetixQc I have the Fire Stick 4k (2nd Gen, 2023) non max version and this bug also affects it.

@bobaoapae
Copy link
Contributor Author

@ybai001 just checking again, any news?

@ybai001
Copy link

ybai001 commented Nov 20, 2023

@ybai001 just checking again, any news?

@bobaoapae, let me check with relative engineer whether we got feedback from Amazon.

@andreafontana99
Copy link

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.

@daf0x
Copy link

daf0x commented Dec 20, 2023

@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.

@JPVenson
Copy link
Member

@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
Copy link

ybai001 commented Dec 21, 2023

@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.

@KyleSanderson
Copy link

@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.

@nreis96
Copy link

nreis96 commented Jan 9, 2024

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.

@nreis96
Copy link

nreis96 commented Jan 12, 2024

@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

@tonihei
Copy link

tonihei commented Jan 12, 2024

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 inputBuffer.data.

@nreis96
Copy link

nreis96 commented Jan 12, 2024

There's no chance to edit it the way Kodi has it in advanced config settings to force HDR or DV?

@massijay
Copy link

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

@GreenDude120
Copy link

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!

@nickshanks347
Copy link

Same here for Jellyfin on a 4k Max (just bought so guessing 2023 model)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working playback Issue related to media playback
Projects
None yet
Development

No branches or pull requests