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 < [email protected]> wrote:
ср, 7 мая 2025 г., 18:38 Andrew Randrianasulu <[email protected]>:
Using this page
https://www.reddit.com/r/ffmpeg/comments/17ma3mm/hdr_tone_mapping_not_workin...
and our guide at
https://cinelerra-gg.org/download/CinelerraGG_Manual/File_naming_convention....
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 [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin