сб, 27 мая 2023 г., 20:20 Andrew Randrianasulu <randrianasulu@gmail.com>:


сб, 27 мая 2023 г., 20:09 Phyllis Smith <phylsmith2017@gmail.com>:
Certainly merits looking at to see how useful it might be to add.


ah,  c++17! so only new OSes with new compilers will get it ....


upd: it was only recently-merget cxx17 branch on github, 3.0.4 release apparently work on older os/compilers ...

https://github.com/sekrit-twc/zimg/releases/tag/release-3.0.4

"checking whether C++ compiler accepts -std=c++14... yes" on gcc 11.2 may be we can dive deeper in history ...

may be 2.8?

https://src.fedoraproject.org/repo/pkgs/zimg/




On Sat, May 27, 2023 at 10:56 AM Andrew Randrianasulu via Cin <cin@lists.cinelerra-gg.org> wrote:
Note there was additional discussion about using zimg/zscale filter in ffmpeg for getting p3-d65



====

     Zscale does have support for DCI white point P3 and D65 P3.

ffmpeg -i INPUT.mp4 -c:v libx265 -crf 20 -vf zscale=r=limited:m=2020_ncl:t=2020_10:p=smpte431:c=topleft,format=yuv420p10 -color_primaries smpte431 -colorspace bt2020nc -color_trc bt2020_10bit -color_range tv OUTPUT.mp4   


===


I wonder if such file plays in say mpv as HDR on your display?


old ffmpeg patches (2016):

"vf_colorspace: Add support for smpte 431/432 (dci/display p3) primaries" but previous 2 patches might be not so trivial ...



====

ffmpeg -loop 1 -r 24 -t 30 -i DSC02236.tif -vf pad=3840:2160:302:0:black,zscale=tin=linear:t=arib-std-b67:npl=800:m=bt2020nc,format=yuv420p10le -c:v libx265 -preset medium -crf 26 -x265-params "colorprim=bt2020:atc-sei=18:colormatrix=bt2020nc" naturalbridge.mp4

====

zimg2 should be in Debian since late 2021


ffmpeg (7:4.3.2-2) experimental; urgency=medium
 .
   * debian/:
     - Build with zimg (Closes: #966059)

I wonder if cingg should add zimg too?
--
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin