Skip to content

Exo/medi3 fails to switch back from HDR/HDR10 to SDR once the playback is stoppedΒ #2785

Description

@Mostwest

Stremio Platform

Android TV

Describe the bug

HDR/HDR10+ to SDR Transition Issue with Media3/ExoPlayer. The Stremio enters correctly in HDR/HDR10/HDR10+ but fails to return to SDR once the the playback is stopped.

Why not using VLC/MPV? the first has issues with audio, the second has terrible tone mapping. EXO is way better in everything point blank.

this is the short version of the story. long version below:

I am experiencing an issue when switching from HDR/HDR10+ video playback back to SDR on an Android TV box connected to a 4K QLED display.
The display supports HDR, HDR10, HDR10+, and HLG. The issue occurs specifically when playback is handled through Media3/ExoPlayer.

WHAT HAPPENS
With Media3/ExoPlayer, after starting to play H* material it goes from SDR to H* no issue, the HDR output state does not return to SDR. The display remains in HDR instead of correctly switching back to SDR.

This behavior is consistent and reproducible when using Media3/ExoPlayer, Tested also with Just (Video) Player which uses Media3 aswell

COMPARISON WITH OTHER PLAYBACK ENGINES

I tested the same type of HDR β†’ SDR transition using different playback engines.

Two different YouTube 3rd party applications were tested, and the problem did not occur. HDR content could be followed by SDR content without the HDR state becoming stuck.

Kodi was also tested with an HDR10+ sample. Kodi correctly returned to SDR after HDR10+ playback.

OBSERVED BEHAVIOR

YouTube app #1:
HDR/HDR10+ β†’ SDR: Works correctly
HDR state: Correctly returns to SDR

YouTube app #2:
HDR/HDR10+ β†’ SDR: Works correctly
HDR state: Correctly returns to SDR

Kodi:
HDR/HDR10+ β†’ SDR: Works correctly
Frame-rate switch: Yes
HDR state: Correctly returns to SDR

Stremio / Media3:
HDR/HDR10+ β†’ SDR: Fails
Frame-rate switch: Yes
HDR state: Remains in HDR

Just (Video) Player / Media3:
HDR/HDR10+ β†’ SDR: Fails
Frame-rate switch: Yes
HDR state: Remains in HDR

PLEASE FIX, EXO PLAYER WHICH IS CLEARLY FAR BETTER THAN THE OTHER ENGINES AND PLAYERS.

Devices:
Samsung 4k QLED Q7F, new
Xiaomi Mi Box S 3rd gen
HDMI cable brand new from UGREEN rated 48Gbps

To Reproduce

Stremio. exoplayer engine
Choose anything that is HDR/HDR10/HDR10+ or HLG
Play the content for little as 4-5 seconds to let exo match the frame rate if needs to.
Quite the playback, HDR state is on
go back to Home, HDR still active

Expected behavior

Stremio. exoplayer engine
Choose anything that is HDR/HDR10/HDR10+ or HLG
Play the content for little as 4-5 seconds to let exo match the frame rate if needs to.
Quite the playback, SDR mode
go back to Home, SDR still active

Screenshots

EXO engine after quitting playback:
(you can see the green on the play button blown out in colors)

Image

VLC engine after quitting Playback:

Image

App Version

v1.10.4

Device Info

Xiaomi Mi Box S 3rd Gen

OS Version

AndroidTV 14

Player Info

Exo

Browser Info

No response

Logs

Notes

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions