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:
parent
65c9032839
commit
f3a0d0129d
@ -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"';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user