[Cin] Tonemapper algorithms (EXR input, require OpenGL)

Andrew Randrianasulu randrianasulu at gmail.com
Tue Apr 22 22:45:27 CEST 2025


вт, 22 апр. 2025 г., 21:11 Phyllis Smith <phylsmith2017 at gmail.com>:

> Because your email title was EXR input, I just rendered one frame of a
> video to EXR.  But it may be that the reason my X11 and X11-OpenGL both
> looked the same was because both are bad for me with an old GL on my
> laptop.  I will see if the standalone demo works for me.
>

Sorry for not explaining myself fully.

My idea was to
1.  load real HDR video file into cingg.
1a. set project format to rgba-float from default rgba-8
2. Save unprocessed one frame EXR.
3. Apply F_tonemap to see same frame tonemapped in cingg's compositor.
4. Play with different tonemappers in standalone demo (unlike F_tonemap
they should be OpenGL accelerated).
5. Optionally compare to that you see in mpv playing either EXR or stopped
at same frame  original HDR video.

As it was explained on doom9 mpv uses "dynamic tonemapping"  with few extra
tunables, but it uses few frames for best results, so not sure if our
plugin system will handle that nice, if one ever try to implement something
like this!


> On Tue, Apr 22, 2025 at 11:41 AM Andrew Randrianasulu <
> randrianasulu at gmail.com> wrote:
>
>>
>>
>> вт, 22 апр. 2025 г., 20:19 Phyllis Smith <phylsmith2017 at gmail.com>:
>>
>>> When I set my driver to X11 or to X11-GL, my results with F_tonemapper
>>> seemed the same unless it is a subtle difference.  I set the tonemap
>>> parameter to 4, param to 1, desat to 4, and peak to 3 leaving threads set
>>> to 0.
>>>
>>
>>
>> Ah, I was using different set of parameters. Namely I left param and peak
>> to their defaults.
>>
>> What file you used for testing?
>>
>> Does this stand-alone demo compiles/works for you? ;)
>>
>>
>>
>>>>
>>>>
>>>>
>>>>
>>> On Mon, Apr 21, 2025 at 9:52 AM Andrew Randrianasulu via Cin <
>>> cin at lists.cinelerra-gg.org> wrote:
>>>
>>>> https://github.com/tizian/tonemapper
>>>>
>>>> found while looking at why F_tonemap visibly misbehaves for me ...
>>>> --
>>>> Cin mailing list
>>>> Cin at lists.cinelerra-gg.org
>>>> https://lists.cinelerra-gg.org/mailman/listinfo/cin
>>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20250422/ab513ead/attachment.htm>


More information about the Cin mailing list