From 702a92ccd500720f780ca82f924a9fef81337bed Mon Sep 17 00:00:00 2001 From: Esa Kataja Date: Sat, 4 Oct 2025 18:11:50 +0300 Subject: [PATCH] change: tweak profile settings --- src/commandBuilder.ts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/commandBuilder.ts b/src/commandBuilder.ts index f4ec15d..07a12db 100644 --- a/src/commandBuilder.ts +++ b/src/commandBuilder.ts @@ -8,13 +8,13 @@ function escapeFilename(filename: string): string { const profiles: Record = { "DVD": { - "crf": 29, - "preset": 2, - "filmGrain": 5, + "crf": 30, + "preset": 4, + "filmGrain": 10, }, "BluRay": { - "crf": 27, - "preset": 2, + "crf": 28, + "preset": 4, "filmGrain": 5, }, }; @@ -82,6 +82,8 @@ export function encodingCommandBuilder(videoInfo: parsedVideoInfo): string { ); } + args.push("-metadata", "ENCODING_VERSION=1.0 \\\n"); + for (const [index, audioStream] of videoInfo.audioStreams?.entries() ?? []) { args.push( "-map",