diff --git a/ffmpeg.py b/ffmpeg.py index 3f58cca..3d09f94 100755 --- a/ffmpeg.py +++ b/ffmpeg.py @@ -122,6 +122,7 @@ for clip in edit: ] cmd = [ 'ffmpeg', + '-hide_banner', '-nostats', '-loglevel', 'error', ] + audio + [ '-ss', str(clip['in']), @@ -160,9 +161,12 @@ for clip in edit: txt = output + '.txt' with open(txt, 'w') as fd: fd.write('file ' + '\nfile '.join(files)) -cmd = ['ffmpeg', - '-nostats', '-loglevel', 'error', - '-y', '-f', 'concat', '-safe', '0', '-i', txt, '-c', 'copy', output] +cmd = [ + 'ffmpeg', + '-hide_banner', + '-nostats', '-loglevel', 'error', + '-y', '-f', 'concat', '-safe', '0', '-i', txt, '-c', 'copy', output +] run(cmd) os.unlink(txt)