FFMPEG does have support for tonemapping. With a few tonemappers too… not just one… I See no reason why this couldn’t be added to the Media Server for transcoding/tonemapping on devices that don’t support it.
The tonemapping on ffmpeg runs at 4 FPS as it is a singlethreaded operation. They would immediately see hundreds of threads about “All of my transodes are buffering even though my cpu is sitting at 10% usage!!11” if that was implemented.
There is a tonemap_opencl option which could run over the GPU, but getting the opencl stuff to work over ffmpeg is a pain in the ass from my experience. With tonemap_opencl the encoding FPS goes from 4 to 28, which makes it barely fast enough to stay ahead of real-time usage.
@Dion250 That DGIndexNV guy is pretty good at coding and hasn’t open-sourced what he is doing, so there’s no chance that plex could use his stuff. Additionally, It only works on Nvidia cards at the moment.
I’ve read somewhere (ffmpeg maillist, probably) that the person who helped implement the HDR stuff into MPV has been working on adding vulkan-based filters into FFMPEG, including tonemapping. This would work on all GPUs, and would probably be faster than opencl implementations.
@Collisionc: Does this mean it might be possible for tonemapping to be offloaded to Intel QSV in addition to transcoding, or am I hoping for too much?
It should be supported by all gpus that come with OpenCL 1.2 drivers, which should include all modern GPUs, including QSV.
QSV is dedicated video encoding and decoding hardware on Intel CPUs. It’s not the part of the CPU that runs Open CL, but interestingly Ice Lake is supposed to have QSV hardware that can do HDR tone mapping.
I notice that audio transcoding is not forcing video transcode anymore. I.e., when playing 4K video on a 4K TV, the DTS-MA or TrueHD audio will transcode but the 4K video will directplay.
Am I mis-perceiving this? Is this new in Plex?
Agreed, UHD has been available long enough that this is now an issue. I cannot. I share a library among close friends and they can’t watch these films because the colors are washed out. And they are nowhere as picky as myself, which is why I have 4K HDR to begin with.
Lets please make this a priority.