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.