[Cin] zscale's tonemapping on input

Phyllis Smith phylsmith2017 at gmail.com
Sat May 10 02:56:27 CEST 2025


>
> I think we better to put those examples somewhere in manual before I
> forgot them/lost my opts files ;)
>
Agreed! Andrea, if you have time to do this that would be great! if not,
just let me know and I can do it.


On Fri, May 9, 2025 at 4:42 PM Andrew Randrianasulu via Cin <
cin at lists.cinelerra-gg.org> wrote:

>
>
> ср, 7 мая 2025 г., 18:38 Andrew Randrianasulu <randrianasulu at gmail.com>:
>
>> Using this page
>>
>> https://www.reddit.com/r/ffmpeg/comments/17ma3mm/hdr_tone_mapping_not_working/
>>
>> and our guide at
>>
>> https://cinelerra-gg.org/download/CinelerraGG_Manual/File_naming_convention.html
>>
>>
>> I come up with this (working) line to put in file.opts for HDR to SDR
>> bt 709 100 nits mapping:
>>
>>
>> video_filter=zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,format=yuv444p
>>
>> But it only works with software decoding. At, like, 2.3 fps for full 4k
>> frame.
>>
>> And also you need to compile your ffmpeg used in cingg with z.img library.
>>
>
>
> Got it working with Vulkan hw decoding, not much faster, but leaves cingg
> a bit more responsive:
>
>
> video_filter=zscale=tin=smpte2084:min=bt2020nc:pin=bt2020:rin=tv:t=smpte2084:m=bt2020nc:p=bt2020:r=tv,zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:p=bt709:m=bt709
>
> monster line from
>
> https://forum.doom9.net/showpost.php?p=1898421&postcount=56
>
> I think we better to put those examples somewhere in manual before I
> forgot them/lost my opts files ;)
>
>
>
> --
> 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/20250509/0007a187/attachment.htm>


More information about the Cin mailing list