+2
-2
package-lock.json
+2
-2
package-lock.json
+1
-1
package.json
+1
-1
package.json
+1
-1
src/stitcher.ts
+1
-1
src/stitcher.ts
···
26
const args: string[] = [];
27
files.forEach(f => args.push('-i', f));
28
args.push('-filter_complex', `[0:a][1:a][2:a]concat=n=${files.length}:v=0:a=1[out]`);
29
-
args.push('-map', '[out]', '-ar', '44100', '-ac', '2', '-c:a', 'pcm_s16le', 'output.wav');
30
await ffmpeg(args, files.length);
31
}
32
···
26
const args: string[] = [];
27
files.forEach(f => args.push('-i', f));
28
args.push('-filter_complex', `[0:a][1:a][2:a]concat=n=${files.length}:v=0:a=1[out]`);
29
+
args.push('-map', '[out]', '-ar', '44100', '-ac', '2', '-c:a', 'pcm_s16le', 'output.wav', '-y');
30
await ffmpeg(args, files.length);
31
}
32
+6
-3
test/stitcher.test.ts
+6
-3
test/stitcher.test.ts