hide banner
This commit is contained in:
parent
3f603ae136
commit
3eced0eaef
1 changed files with 7 additions and 3 deletions
|
@ -122,6 +122,7 @@ for clip in edit:
|
||||||
]
|
]
|
||||||
cmd = [
|
cmd = [
|
||||||
'ffmpeg',
|
'ffmpeg',
|
||||||
|
'-hide_banner',
|
||||||
'-nostats', '-loglevel', 'error',
|
'-nostats', '-loglevel', 'error',
|
||||||
] + audio + [
|
] + audio + [
|
||||||
'-ss', str(clip['in']),
|
'-ss', str(clip['in']),
|
||||||
|
@ -160,9 +161,12 @@ for clip in edit:
|
||||||
txt = output + '.txt'
|
txt = output + '.txt'
|
||||||
with open(txt, 'w') as fd:
|
with open(txt, 'w') as fd:
|
||||||
fd.write('file ' + '\nfile '.join(files))
|
fd.write('file ' + '\nfile '.join(files))
|
||||||
cmd = ['ffmpeg',
|
cmd = [
|
||||||
|
'ffmpeg',
|
||||||
|
'-hide_banner',
|
||||||
'-nostats', '-loglevel', 'error',
|
'-nostats', '-loglevel', 'error',
|
||||||
'-y', '-f', 'concat', '-safe', '0', '-i', txt, '-c', 'copy', output]
|
'-y', '-f', 'concat', '-safe', '0', '-i', txt, '-c', 'copy', output
|
||||||
|
]
|
||||||
|
|
||||||
run(cmd)
|
run(cmd)
|
||||||
os.unlink(txt)
|
os.unlink(txt)
|
||||||
|
|
Loading…
Reference in a new issue