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> = {
"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",