From d3184dad14b9105eaf67e1a59732d9bc8af7ae7b Mon Sep 17 00:00:00 2001 From: Levon Date: Thu, 25 Apr 2024 08:37:39 -0500 Subject: [PATCH] new recc encode --- scripts/recc_encode.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/recc_encode.sh b/scripts/recc_encode.sh index 40ff717..f96b35d 100755 --- a/scripts/recc_encode.sh +++ b/scripts/recc_encode.sh @@ -15,8 +15,8 @@ encode() { echo ffmpeg -i \""$INPUT"\" -map 0 $(unmap_streams "$INPUT") \ -af '"aformat=channel_layouts=7.1|5.1|stereo|mono"' -c:a libopus $(get_bitrate_audio "$INPUT") \ - -c:s copy -c:V libsvtav1 -pix_fmt yuv420p10le -crf 25 -preset 3 -g 240 \ - -svtav1-params \"tune=0:enable-overlays=1:scd=1:enable-hdr=1:fast-decode=1:enable-variance-boost=1\" \ + -c:s copy -c:V libsvtav1 -pix_fmt yuv420p10le -crf 25 -preset 3 -g 240 -dolbyvision 1 -svtav1-params \ + \"tune=0:enable-overlays=1:scd=1:enable-hdr=1:fast-decode=1:enable-variance-boost=1:enable-qm=1:qm-min=0:qm-max=15\" \ \""$OUTPUT"\" "&& mkvpropedit \"$OUTPUT\" --add-track-statistics-tags " > "$ENCODE_FILE" if [[ "$PRINT_OUT" == "true" ]];