change: tweak profile settings
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user