Repository navigation
Auto-switch macOS HDR when IINA plays an HDR video #6589
Replies: 1 comment 3 replies
|
Hello from a junior IINA developer, I do not see a discussion of why this is needed. IINA itself does this. Or at least tries to. Is this needed because macOS fails to properly support non-Apple external HDR displays? To determine if a display is capable of supporting HDR, IINA checks the value of the property NSScreen.maximumPotentialExtendedDynamicRangeColorComponentValue:
Is macOS returning a value that indicates the display is not capable of HDR when it is? What macOS is telling IINA can be seen in messages near the start of the log file: That is my external Apple / LG UltraFine display which does not support HDR. The status of EDR support is also reported when IINA starts playing a HDR video: What is happening with your display? |
Uh oh!
There was an error while loading. Please reload this page.
Hi! I made a small free tool for IINA users with an HDR external monitor. It reads
video-paramsthrough mpv's IPC socket. When the gamma is PQ/HLG or the video is Dolby Vision, it turns macOS HDR on (and brightness up), and puts both back when playback stops.It adds one option in Advanced settings:
input-ipc-server=/tmp/mpvsocket. Nothing else in IINA changes.https://github.com/dylanbuchi/iina-auto-hdr
Tested on macOS 27.0.1 with IINA 1.5.0. Happy to hear if it works on other setups.
All reactions