diff --git a/edit.py b/edit.py index 516c8f1..7f8b8e7 100755 --- a/edit.py +++ b/edit.py @@ -251,8 +251,6 @@ if __name__ == '__main__': 'oshash': clip['streams'][i], 'url': '%s/%s/%sp%s.mp4' % (base_url, clip['item'], stream_resolution, i + 1), 'item': clip['item'], - 'item-in': clip['in'], - 'item-out': clip['out'], 'annotation': clip.get('annotation'), 'resolution': info['resolution'], 'in': stream_in, diff --git a/ffmpeg.py b/ffmpeg.py index 3d09f94..3f58cca 100755 --- a/ffmpeg.py +++ b/ffmpeg.py @@ -122,7 +122,6 @@ for clip in edit: ] cmd = [ 'ffmpeg', - '-hide_banner', '-nostats', '-loglevel', 'error', ] + audio + [ '-ss', str(clip['in']), @@ -161,12 +160,9 @@ for clip in edit: txt = output + '.txt' with open(txt, 'w') as fd: fd.write('file ' + '\nfile '.join(files)) -cmd = [ - 'ffmpeg', - '-hide_banner', - '-nostats', '-loglevel', 'error', - '-y', '-f', 'concat', '-safe', '0', '-i', txt, '-c', 'copy', output -] +cmd = ['ffmpeg', + '-nostats', '-loglevel', 'error', + '-y', '-f', 'concat', '-safe', '0', '-i', txt, '-c', 'copy', output] run(cmd) os.unlink(txt)