change: tweak profile settings

This commit is contained in:
Esa Kataja
2025-10-04 18:11:50 +03:00
parent e78b2368ae
commit 702a92ccd5
+7 -5
View File
@@ -8,13 +8,13 @@ function escapeFilename(filename: string): string {
const profiles: Record<string, profile> = { const profiles: Record<string, profile> = {
"DVD": { "DVD": {
"crf": 29, "crf": 30,
"preset": 2, "preset": 4,
"filmGrain": 5, "filmGrain": 10,
}, },
"BluRay": { "BluRay": {
"crf": 27, "crf": 28,
"preset": 2, "preset": 4,
"filmGrain": 5, "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() ?? []) { for (const [index, audioStream] of videoInfo.audioStreams?.entries() ?? []) {
args.push( args.push(
"-map", "-map",