# Tonemapping Algorithm Question

**URL:** <https://forums.plex.tv/t/tonemapping-algorithm-question/885942>\
**Category:** Plex Media Server\
**Tags:** plex-web\
**Created:** [August 22, 2024, 4:44pm UTC](https://forums.plex.tv/t/tonemapping-algorithm-question/885942 "2024-08-22T16:44:55Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Insomnic\_1](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/insomnic_1/32/215416_2.png) [@Insomnic\_1](https://forums.plex.tv/u/Insomnic_1)\
**Post date:** [August 22, 2024, 4:44pm UTC](https://forums.plex.tv/t/tonemapping-algorithm-question/885942/1 "2024-08-22T16:44:55Z")

</div>

With beta release of server version [1.41.0.8911](https://forums.plex.tv/t/plex-media-server/30447/640) there are now options to set the tonemapping algorithm for HDR-\>SDR transcoding.

 ![Screen Shot 2024-08-22 at 11.03.02 AM](https://global.discourse-cdn.com/plex/original/4X/2/6/1/261ece80ae98f830659e92521eb7ba21a9cbd4c8.png)

I am not very familiar with these different options so went looking across some discussion groups and there are a lot of opinions. 🙂

These links provided some good reference:  
[FFMPEG ToneMapping](https://ffmpeg.org/ffmpeg-filters.html#Tone-mapping)  
[Tonemap](http://underpop.online.fr/f/ffmpeg/help/tonemap.htm.gz)

Plex - and it seems most media servers and converters - default to hable and discussions I came across mention reinhard and mobius a lot. It definitely seems like a preference that can be influenced by personal taste as well as what hardware is being used (display type, client, display settings).

I setup my library to have both HDR and SDR versions of movies (4kHDR and 1080\720SDR) and generally don’t run into situations with transcoding kicking in - which was the point as Plex does a pretty good job of picking the appropriate version to play but with some of the recent transcoder improvements I’m debating if I even need to keep the SDR versions anymore.

I assume the Plex documentation about it will be updated to include some guidance once it’s out of beta, but was wondering if folks who are more familiar already have some input from their experiences fiddling with these algorithms.

Once I get some time with it a bit I’ll post up some of my results as well.

---

<div class="post-metadata">

**Author:** ![FordGuy61](https://avatars.discourse-cdn.com/v4/letter/f/22d042/32.png) [@FordGuy61](https://forums.plex.tv/u/FordGuy61)\
**Post date:** [August 22, 2024, 5:02pm UTC](https://forums.plex.tv/t/tonemapping-algorithm-question/885942/2 "2024-08-22T17:02:11Z")

</div>

Thanks for the reference links. Will be interesting to see the differences between the algorithms.

FWIW, the earlier versions of Plex use mobius.

---

<div class="post-metadata">

**Author:** ![Insomnic\_1](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/insomnic_1/32/215416_2.png) [@Insomnic\_1](https://forums.plex.tv/u/Insomnic_1)\
**Post date:** [August 22, 2024, 5:26pm UTC](https://forums.plex.tv/t/tonemapping-algorithm-question/885942/3 "2024-08-22T17:26:30Z")

</div>

> [@FordGuy61](#):
>
> FWIW, the earlier versions of Plex use mobius.

That’s good to know! I was curious.

---

<div class="post-metadata">

**Author:** ![PoppinJ](https://avatars.discourse-cdn.com/v4/letter/p/8e8cbc/32.png) [@PoppinJ](https://forums.plex.tv/u/PoppinJ)\
**Post date:** [August 22, 2024, 6:03pm UTC](https://forums.plex.tv/t/tonemapping-algorithm-question/885942/4 "2024-08-22T18:03:11Z")

</div>

I have been so exited for this release since HW transcoding was introduced in the preview build, PlexMediaServer-1.40.6.8747, which worked flawlessly for me. No matter what I threw at it it would hw transcode. Unfortunately after installing this latest beta, hw transcoding is no longer and defaulting to the CPU to transcode HDR content. I know this is still beta so Ill keep my hopes up for now.

Also, I don’t see the options to select a tone mapping algorithm so I’m not sure what platforms this is for.

Windows 11 fully updated  
Intel UHD 770 iGPU Raptor Lake, driver version latest (32.0.101.5971)  
Plex \*\*1.41.0.8911 beta

Log Errors  
[FFMPEG] - Using device (Intel(R) UHD Graphics 770).  
“Current pixel format is unsupported”  
“some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.”  
“Error initializing output stream 0:0 – Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit\_rate, rate, width or height”

---

<div class="post-metadata">

**Author:** ![Insomnic\_1](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/insomnic_1/32/215416_2.png) [@Insomnic\_1](https://forums.plex.tv/u/Insomnic_1)\
**Post date:** [August 22, 2024, 6:21pm UTC](https://forums.plex.tv/t/tonemapping-algorithm-question/885942/5 "2024-08-22T18:21:56Z")

</div>

> [@PoppinJ](#):
>
> Also, I don’t see the options to select a tone mapping algorithm so I’m not sure what platforms this is for.

Mine is screenshot from my QNAP … maybe Windows platform doesn’t support it?  
Saw [this support document](https://support.plex.tv/articles/hdr-to-sdr-tone-mapping/) which looks like that’s the case if you’re not using nvidia. Maybe some other bug? It is beta…

---

<div class="post-metadata">

**Author:** ![PoppinJ](https://avatars.discourse-cdn.com/v4/letter/p/8e8cbc/32.png) [@PoppinJ](https://forums.plex.tv/u/PoppinJ)\
**Post date:** [August 22, 2024, 6:27pm UTC](https://forums.plex.tv/t/tonemapping-algorithm-question/885942/6 "2024-08-22T18:27:21Z")

</div>

Yeah, it just beta so Maybe they havn’t fully worked HDR tone mapping into windows yet.  
I was excited based on this release note.

- (Tonemapping) Added support for HW Tonemapping on Windows for some Intel devices (PM-532)  
I dont know how to look up more info on this. Like I said this version,

> [@\[Plex Media Server\] Forum Preview for Tonemapping on Windows with Intel iGPUs](https://forums.plex.tv/t/plex-media-server-forum-preview-for-tonemapping-on-windows-with-intel-igpus/869425):
>
> Hello Plexians, We have finally added HDR tone mapping support for compatible Intel iGPUs on Windows platforms, and could use your help testing it out before we add it to an official release! Unfortunately Intel drivers only support tone mapping for the following GPUs: TGL (Tiger Lake), DG1 (Intel® Iris® Xe MAX graphics), RKL (Rocket Lake), ADL-S (Alder Lake S), ADL-P (Alder Lake P), DG2 (Intel® Arc™ A-Series Graphics), ATSM (Intel® Data Center GPU Flex Series), and All Future platforms… What…

Worked Great, and the final post was  
"I am closing this thread as this feature has officially been incorporated into the codebase and will be available in 1.41.0. "  
Ah well. more patience required. Keep up the great work plex devs, excited to see this feature fully fleshed out.

---

<div class="post-metadata">

**Author:** ![Insomnic\_1](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/insomnic_1/32/215416_2.png) [@Insomnic\_1](https://forums.plex.tv/u/Insomnic_1)\
**Post date:** [August 22, 2024, 6:33pm UTC](https://forums.plex.tv/t/tonemapping-algorithm-question/885942/7 "2024-08-22T18:33:19Z")

</div>

Maybe related to [this comment](https://forums.plex.tv/t/plex-no-longer-transcodes/880560/40) about some issues with a couple intel chips? I just happened to come across that one while digging around the forums about tonemapping before posting this topic.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [August 22, 2024, 7:30pm UTC](https://forums.plex.tv/t/tonemapping-algorithm-question/885942/8 "2024-08-22T19:30:16Z")

</div>

Tonemapping algorithm isn’t the root issue with my comment.

We have, for a few processors (GeminiLake and CoffeeLake Refresh specifically), where we’re playing “whack-a-mole” with Intel’s drivers.

Fix one – break something else. It’s getting better but a REAL P.I.T.A 🙄

---

<div class="post-metadata">

**Author:** ![Insomnic\_1](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/insomnic_1/32/215416_2.png) [@Insomnic\_1](https://forums.plex.tv/u/Insomnic_1)\
**Post date:** [August 22, 2024, 7:46pm UTC](https://forums.plex.tv/t/tonemapping-algorithm-question/885942/9 "2024-08-22T19:46:03Z")

</div>

Okay… so I got some references but not ideal testing.

Using Plex Desktop on Mac this is the HDR reference:

 ![HDR1-HDR](https://global.discourse-cdn.com/plex/original/4X/4/0/6/4069da85c9d567e1dfc5ac2581b372e999d77d6b.jpeg)

Here is transcoding using Hable via Plex Web (Firefox):

 ![HDR1-Hable](https://global.discourse-cdn.com/plex/original/4X/7/4/1/741f39a94e5bc3827cb02f5e93d645617d8e5acc.jpeg)

Here is Mobius:

 ![HDR1-Mobius](https://global.discourse-cdn.com/plex/original/4X/5/a/f/5afff8754c09bb5fed8e20fc5ac7222020fa59eb.jpeg)

Here is Reinhard:

 ![HDR1-Reinhard](https://global.discourse-cdn.com/plex/original/4X/4/c/2/4c27ee6e6aa8e487828ace21b4ee7accaeb56752.jpeg)

Another reference using Plex Desktop on iMac with HDR:

 ![HDR2-HDR](https://global.discourse-cdn.com/plex/original/4X/d/a/0/da0558fb0336bc5196184a70565a357e58edd5b8.jpeg)

And transcoding via PlexWeb (firefox) with Hable:

 ![HDR2-Hable](https://global.discourse-cdn.com/plex/original/4X/e/7/9/e79cc6fd5923e8bdf4b6a24650eef3a4530d6bb7.jpeg)

Here is Mobius:

 ![HDR2-Mobius](https://global.discourse-cdn.com/plex/original/4X/5/3/5/535388a1f543364b583c164e45b26fdd76e25cf3.jpeg)

Here is Reinhard:

 ![HDR2-Reinhard](https://global.discourse-cdn.com/plex/original/4X/9/4/9/9493f0ff8149ec3d67f70fd587f86688470959bd.jpeg)

I didn’t test the others only because in the different discussion groups these three seemed to be the most preferred options.

It’s hard to say if one or the other is a clear “best” option. It’s definitely going to come down to preferences I think; and hardware config. So no way for there to be a right answer that’ll work for everyone. If you look in some of the other discussions about it folks get into the nitty gritty of setting manual settings for the algorithms too (personally I think that’d only be useful as a per client setting to try to get that specific).

I did the same tests on a 1080p TV and the differences weren’t as drastic as on my iMac but hable still _seemed_ more accurate to the HDR - taking pictures of the TV did not represent the differences well so not going to bother posting them too.

I do tend to prefer darker over brighter myself so probably will stick with hable for now but am curious what others might find in testing things out too.

@ChuckPa - @PoppinJ mentioned HW transcoding overall wasn’t working in this build but was working in the earlier preview build so just wondered if it might’ve be related (irrespective of tonemapping). Thanks for clarifying it.

---

<div class="post-metadata">

**Author:** ![PoppinJ](https://avatars.discourse-cdn.com/v4/letter/p/8e8cbc/32.png) [@PoppinJ](https://forums.plex.tv/u/PoppinJ)\
**Post date:** [August 22, 2024, 7:50pm UTC](https://forums.plex.tv/t/tonemapping-algorithm-question/885942/10 "2024-08-22T19:50:29Z")

</div>

Just to clarify, with this new Beta version HW transcoding works with 1080 content, and 4k SDR content. HDR HW transcoding is failing and falling back to CPU, where it worked on the preview build.

---

<div class="post-metadata">

**Author:** ![chris\_decker08](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chris_decker08/32/316799_2.png) [@chris\_decker08](https://forums.plex.tv/u/chris_decker08)\
**Post date:** [August 22, 2024, 11:34pm UTC](https://forums.plex.tv/t/tonemapping-algorithm-question/885942/11 "2024-08-22T23:34:15Z")

</div>

The support articles have been updated with basic descriptions of the algorithms; we are working on finding HDR content we can legally use to generate screenshots to show the various differences. We had users asking to change the algorithm to hable, and knew there would be others who prefered mobius so I made it selectable. That being said, the new hw tonemapping for intel on windows does not support algorithm selection so the preference is not exposed.

I am aware tonemapping for intel on windows is broken for some users and am investigating.

---

<div class="post-metadata">

**Author:** ![Insomnic\_1](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/insomnic_1/32/215416_2.png) [@Insomnic\_1](https://forums.plex.tv/u/Insomnic_1)\
**Post date:** [August 23, 2024, 12:21am UTC](https://forums.plex.tv/t/tonemapping-algorithm-question/885942/12 "2024-08-23T00:21:02Z")

</div>

The language added in the [support article](https://support.plex.tv/articles/hdr-to-sdr-tone-mapping/) is a bit hard to understand unless you’re already familiar with these things. I’m minimally familiar and I have no idea what “Fit a logarithmic transfer between the tone curves” means so having those examples would probably provide the most help for us regular folks - that’s a good idea.

This site might have some that will work for legal examples?

> **[4K Media | Free Ultra-HD / HDR / HLG / Dolby Vision 4K Video Demos](https://4kmedia.org/)**
>
> Uncompressed 4K demos, samples, and trailers, to show off your new ultra-HD (2160p) HDR/HLG/Dolby Vision television or monitor.

At least those have been suggested in other forums\AV spaces as free use for testing HDR so might work for your test options too. IANAL though - just have used them myself for testing DV\HDR.

Overall it’s such a personal preference impacted by your own playback setup so I’m glad Plex has given us the option. Personally I like hable, but the discussion threads I came across were a lot of back and forth so I started this one here so folks could hear about different experiences. But really, it’s not hard to try out the options.

And like a lot of things with media playback experience, if you don’t actually compare you likely wouldn’t even notice the difference anyways (but now we can). 🙂

Really liking the transcoding improvements being made recently - particularly the subtitles one - so very much appreciating Plex’s work to improve functionality. 👍

---

<div class="post-metadata">

**Author:** ![alejosr](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@alejosr](https://forums.plex.tv/u/alejosr)\
**Post date:** [September 21, 2024, 10:55am UTC](https://forums.plex.tv/t/tonemapping-algorithm-question/885942/13 "2024-09-21T10:55:23Z")

</div>

Hi! Any news regarding this? I updated to latest public version (1.41.0.8992) and I’m suffering this issue (hw transcoding not working for HDR content…was working ok with 1.40 on N100 PC with W11)  
br!!

---

<div class="post-metadata">

**Author:** ![alejosr](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@alejosr](https://forums.plex.tv/u/alejosr)\
**Post date:** [September 26, 2024, 9:00pm UTC](https://forums.plex.tv/t/tonemapping-algorithm-question/885942/14 "2024-09-26T21:00:23Z")

</div>

1.41.0.8994, still failing:(

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 25, 2024, 9:00pm UTC](https://forums.plex.tv/t/tonemapping-algorithm-question/885942/15 "2024-12-25T21:00:47Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
