Procedurally generates a radio weather report

overwrite

+2 -2
package-lock.json
··· 1 1 { 2 2 "name": "morning-report", 3 - "version": "0.0.1", 3 + "version": "0.0.2", 4 4 "lockfileVersion": 3, 5 5 "requires": true, 6 6 "packages": { 7 7 "": { 8 8 "name": "morning-report", 9 - "version": "0.0.1", 9 + "version": "0.0.2", 10 10 "license": "MIT", 11 11 "dependencies": { 12 12 "json5": "2.2.3",
+1 -1
package.json
··· 1 1 { 2 2 "name": "morning-report", 3 - "version": "0.0.1", 3 + "version": "0.0.2", 4 4 "description": "Procedurally generates a radio weather report", 5 5 "keywords": [ 6 6 "weather",
+1 -1
src/stitcher.ts
··· 26 26 const args: string[] = []; 27 27 files.forEach(f => args.push('-i', f)); 28 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'); 29 + args.push('-map', '[out]', '-ar', '44100', '-ac', '2', '-c:a', 'pcm_s16le', 'output.wav', '-y'); 30 30 await ffmpeg(args, files.length); 31 31 } 32 32
+6 -3
test/stitcher.test.ts
··· 41 41 '2', 42 42 '-c:a', 43 43 'pcm_s16le', 44 - 'output.wav' 44 + 'output.wav', 45 + '-y' 45 46 ]); 46 47 }); 47 48 ··· 62 63 '2', 63 64 '-c:a', 64 65 'pcm_s16le', 65 - 'output.wav' 66 + 'output.wav', 67 + '-y' 66 68 ]); 67 69 }); 68 70 ··· 81 83 '2', 82 84 '-c:a', 83 85 'pcm_s16le', 84 - 'output.wav' 86 + 'output.wav', 87 + '-y' 85 88 ]); 86 89 }); 87 90 });