<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">ср, 7 мая 2025 г., 18:38 Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com" target="_blank" rel="noreferrer">randrianasulu@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Using this page<br>
<a href="https://www.reddit.com/r/ffmpeg/comments/17ma3mm/hdr_tone_mapping_not_working/" rel="noreferrer noreferrer noreferrer" target="_blank">https://www.reddit.com/r/ffmpeg/comments/17ma3mm/hdr_tone_mapping_not_working/</a><br>
<br>
and our guide at<br>
<a href="https://cinelerra-gg.org/download/CinelerraGG_Manual/File_naming_convention.html" rel="noreferrer noreferrer noreferrer" target="_blank">https://cinelerra-gg.org/download/CinelerraGG_Manual/File_naming_convention.html</a><br>
<br>
<br>
I come up with this (working) line to put in file.opts for HDR to SDR<br>
bt 709 100 nits mapping:<br>
<br>
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<br>
<br>
But it only works with software decoding. At, like, 2.3 fps for full 4k frame.<br>
<br>
And also you need to compile your ffmpeg used in cingg with z.img library.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Got it working with Vulkan hw decoding, not much faster, but leaves cingg a bit more responsive:</div><div dir="auto"><br></div><div dir="auto">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</div><div dir="auto"><br></div><div dir="auto">monster line from </div><div dir="auto"><br></div><div dir="auto"><a href="https://forum.doom9.net/showpost.php?p=1898421&postcount=56">https://forum.doom9.net/showpost.php?p=1898421&postcount=56</a></div><div dir="auto"><br></div><div dir="auto">I think we better to put those examples somewhere in manual before I forgot them/lost my opts files ;)</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>