doeesn't seem to make a dif but makes me feel better

This commit is contained in:
Brooke Vibber 2023-04-20 22:10:59 -07:00
parent dc08212159
commit 05694cd9e5

View file

@ -198,12 +198,12 @@ function convert( $src, $dest, $options ) {
$filters = [ "scale=w=$scaleWidth:h=$scaleHeight" ];
if ( $hdr ) {
$filters[] = "zscale=t=linear:p=bt709";
$filters[] = "zscale=t=linear:p=bt2020";
if ( $exposure ) {
$filters[] = "exposure=$exposure";
}
$filters[] = "tonemap=hable:peak=$peak";
$filters[] = "zscale=t=bt709:m=bt709:r=full";
$filters[] = "zscale=t=bt709:p=bt709:m=bt709:r=full";
}
$filters[] = "format=yuv420p";
if ( $crop ) {