Correct a bug with ffmpeg where it will wait forever for the user to answer a question when trying to overwrite a file.

Fix #68
This commit is contained in:
Godzil 2018-06-08 21:53:47 +01:00
parent 65c9032839
commit f3a0d0129d

View File

@ -24,6 +24,7 @@ export default function(rtmpUrl: string, rtmpInputPath: string, swfUrl: string,
else if (mode === 'HLS')
{
cmd = command('ffmpeg') + ' ' +
'-y ' +
'-i "' + rtmpInputPath + '" ' +
'-c copy -bsf:a aac_adtstoasc ' +
'"' + filePath + '.mp4"';