1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2024-12-26 11:30:03 +05:30

bytebeat-render.js: ffmpeg call: remove -y argument

This commit is contained in:
Intel A80486DX2-66 2023-12-29 20:23:16 +03:00
parent 1606eb57d2
commit 0b4349e8c3
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -109,5 +109,5 @@ for (let buffer = 0; t < PRODUCT; buffer++) {
appendFileSync(fileName, Buffer.from(audioData.buffer)) appendFileSync(fileName, Buffer.from(audioData.buffer))
} }
execSync(`ffmpeg -f u8 -ar ${FINAL_SAMPLE_RATE} -ac ${CHANNELS} -i ${fileName} output_${+new Date()}.wav -y`) execSync(`ffmpeg -f u8 -ar ${FINAL_SAMPLE_RATE} -ac ${CHANNELS} -i ${fileName} output_${+new Date()}.wav`)
unlinkSync(fileName) unlinkSync(fileName)