jellyfin / jellyfin-androidtv

Android TV Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
2.9k stars 491 forks source link

[Exoplayer] Disable Dolby Vision profile 7 and fallback to HDR. #2700

Open vegedb opened 1 year ago

vegedb commented 1 year ago

Describe the feature you'd like

JustPlayer, based on exoplayer, added an option to disable dolby vision so it falls back to HDR. They implemented this last year. https://github.com/moneytoo/Player/issues/392

99.99% of android boxes CANNOT play dolby profile 7. Adding an option to disable it and use the fallback HDR is the only logical option.

Moxh3 commented 1 year ago

Or you could use libdovi (https://github.com/quietvoid/dovi_tool/) to covert Profile 7 to 8.1 (which is supported on a lot of android devices) in realtime, which is a better solution than just dropping DV.

rbjtech-github commented 1 year ago

This is the default behavior anyway as designed by the Dolby profile - if the device cannot playback DV7, then it will fallback to HDR10. Not sure what you are asking for here, why would I want to disable Dolby Vision 7 on a device that supports it ? (such as the Shield)

Eddez02 commented 12 months ago

I would also like to be able to disable it. In my case the Shield supports Dolby Vision 7 but my AVR dosent and because of this the video does not fallback to HDR 10.

I would also think the same issue would occur if you had a TV not supporting Dolby Vision but a streaming device that does not.

daniel-sousa-me commented 12 months ago

I am having this issue. How do I use dovi_tool on the fly? Do I have to convert my files before playing?

d13g0m0nt3s commented 11 months ago

Hi, I support this request or the possibility of disable Dolby vision or HDR10+ in videos that have both options.

For me is for the specific case of the Fire stick 4k Max, the videos with both options show a black screen. It is a known bug of that Fire stick but it seems that Amazon does nothing about it.

The only possible solution at the moment is what Kodi developers have done in the beta version of Kodi 21 okega, adding an option that allows you to deactivate one or both options.

The change adds a setting under the Videos/Processing section, where users can choose which HDR type should be allowed. By default, the video bitstream is kept intact, so all metadata is kept.

If you don't want HDR10+, uncheck HDR10+. If you don't want Dolby Vision, uncheck it.

Regards

firas2txen commented 11 months ago

Are there any news regarding this? I also wish to have an option for this. I got massive DV issues on my Sony TV and I think the only fast way to fix this is simpli disable DV. Somehow this can't be done on the device, so disabling DV in Jellyfin would be great.

jennso commented 3 months ago

I have this strange issue since ATV version 0.17.1, I have hybrid files which contain the DV and HDR10 profiles, before I was able to play these files with libvlc no problem but now libvlc is removed from ATV, when I try to play a files using exoplayer now the default one, I get a black screen and just audio, It doesn't seem to fallback to HDR10 like plex does, I play the same hybrid file in plex and it instantly falls back to HDR and plays no problem, running on shield with and HDR10 only tv.

jennso commented 3 months ago

You don't necessarly need a button or an setting, it should be a dynamic behavior like plex does, jellyfin/exoplayer should be able to detect what can be played based on your hardware and use the appropiate color profile automaticallly, in cases of the hardware supporting both, DV and HDR, it should try to play on DV first if it fails the fallback to HDR.

lucaperl commented 2 weeks ago

I do have a similiar issue on on v0.17.X and on v0.18.0-beta.2 running on a 2019 Shield Pro and a Samsung TV, which does not support Dolby Vision. The video files will just play in SDR when playing in Jellyfin. When I open the same files in the VLC app, they will correctly fall back to HDR10.