From a80629c9adfb6dd8eef4e237496551d7796db43b Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 26 Jan 2023 19:21:55 -0800 Subject: [PATCH] Set peak linear RGB value of 8.0 in tonemap --- pack-vid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pack-vid b/pack-vid index e5e36db..17ca5d6 100755 --- a/pack-vid +++ b/pack-vid @@ -133,7 +133,7 @@ function convert( $src, $dest, $options ) { $filters = [ "scale=w=$scaleWidth:h=$scaleHeight" ]; if ( $hdr ) { $filters[] = "zscale=t=linear:p=bt709"; - $filters[] = "tonemap=hable"; + $filters[] = "tonemap=hable:peak=8"; $filters[] = "zscale=t=bt709:m=bt709:r=full"; } $filters[] = "format=yuv420p";