You're right that I had said the first was P016 2020. I have fixed that. Thanks for pointing it out. The first is rendering HDR as SDR without the tonemapping, just commenting out dgtonemap() in the script. It shows what you get with a naive conversion. The difference is the whole reason for tonemap...

Before (converted without tonemapping) and after (with tonemapping) screenshots follow. As I mentioned, now that the infrastructure is in place, the tonemapping algorithm can be experimented with to find what we like best. This is basic Reinhard global with no attempt to tweak the white point (I jus...

I have it working in RGBP16 so the script now looks like this: dgsource("THE GREAT WALL.dgi",fulldepth=true) converttoplanarrgb(matrix="rec709") dgtonemap(white=0.25) # arbitrary units, don't try to make sense of it converttoyv12() convertbits(8) # include to deliver 8-bit, exclude for 16-bit Now I'...

I'll talk to pinterf about it. Working directly in RGBP16 may be possible. Ideally, I would like the filter to accept YUV420P16 but return YV12P8. But the Avisynth framework does not seem to support this for external filters. Got a lot of research to do on Avisynth+ capabilities, the actual tonemapp...