From 84d3f2c1033156a2514d2c3ca3223692db548095 Mon Sep 17 00:00:00 2001 From: Djkato Date: Mon, 30 May 2022 19:36:09 +0200 Subject: [PATCH] Fix missing space after argument --- lib/encoder.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/encoder.js b/lib/encoder.js index 5a714a1..42a292d 100644 --- a/lib/encoder.js +++ b/lib/encoder.js @@ -86,9 +86,10 @@ class Encoder { command += `-maxrate ${Math.floor(videoBitRate * 1.4)}k ` command += `-b:a ${audioBitRate}k ` command += `-tile-columns 2 -threads 6 ` - command += `-qmax 60` + command += `-qmax 60 ` command += `-g 240 ` command += `-row-mt 1 "${out}.webm" ` + console.log(command) return [command, duration, false] } @@ -103,7 +104,7 @@ class Encoder { command += `-maxrate ${Math.floor(videoBitRate * 1.2)}k ` command += `-b:a ${audioBitRate}k ` command += `-auto-alt-ref 6 ` - command += `-qmax 60` + command += `-qmax 60 ` command += `-g 240 ` command += `-row-mt 1 -pass 1 -f webm NUL && ` @@ -120,11 +121,11 @@ class Encoder { command += `-b:a ${audioBitRate}k ` command += `-tile-columns 2 -threads 6 ` command += `-auto-alt-ref 6 ` - command += `-qmax 60` + command += `-qmax 60 ` command += `-g 240 ` command += `-row-mt 1 -pass 2 "${out}.webm" ` - + console.log(command) return [command, duration, isTwoPass] }