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