Fix missing space after argument

This commit is contained in:
Djkato 2022-05-30 19:36:09 +02:00
parent f9bf73f6d7
commit 84d3f2c103

View file

@ -86,9 +86,10 @@ class Encoder {
command += `-maxrate ${Math.floor(videoBitRate * 1.4)}k ` command += `-maxrate ${Math.floor(videoBitRate * 1.4)}k `
command += `-b:a ${audioBitRate}k ` command += `-b:a ${audioBitRate}k `
command += `-tile-columns 2 -threads 6 ` command += `-tile-columns 2 -threads 6 `
command += `-qmax 60` command += `-qmax 60 `
command += `-g 240 ` command += `-g 240 `
command += `-row-mt 1 "${out}.webm" ` command += `-row-mt 1 "${out}.webm" `
console.log(command)
return [command, duration, false] return [command, duration, false]
} }
@ -103,7 +104,7 @@ class Encoder {
command += `-maxrate ${Math.floor(videoBitRate * 1.2)}k ` command += `-maxrate ${Math.floor(videoBitRate * 1.2)}k `
command += `-b:a ${audioBitRate}k ` command += `-b:a ${audioBitRate}k `
command += `-auto-alt-ref 6 ` command += `-auto-alt-ref 6 `
command += `-qmax 60` command += `-qmax 60 `
command += `-g 240 ` command += `-g 240 `
command += `-row-mt 1 -pass 1 -f webm NUL && ` command += `-row-mt 1 -pass 1 -f webm NUL && `
@ -120,11 +121,11 @@ class Encoder {
command += `-b:a ${audioBitRate}k ` command += `-b:a ${audioBitRate}k `
command += `-tile-columns 2 -threads 6 ` command += `-tile-columns 2 -threads 6 `
command += `-auto-alt-ref 6 ` command += `-auto-alt-ref 6 `
command += `-qmax 60` command += `-qmax 60 `
command += `-g 240 ` command += `-g 240 `
command += `-row-mt 1 -pass 2 "${out}.webm" ` command += `-row-mt 1 -pass 2 "${out}.webm" `
console.log(command)
return [command, duration, isTwoPass] return [command, duration, isTwoPass]
} }