Nettoyage de code (F841, W293, F821, W391)

This commit is contained in:
Antoine Van Elstraete 2021-04-15 16:22:43 +02:00
parent 3692bd56b5
commit e4efafa608

View File

@ -109,8 +109,9 @@ def stabilization(file):
par exemple quand filmé au smartphone.
'''
cmd_stab = f'ffmpeg -i {file} -vf vidstabdetect=shakiness=10:accuracy=10:result="/tmp/vidstab.trf" -f null - '
subprocess.getoutput(cmd_stab)
if __name__ == '__main__':
import argparse
parser = argparse.ArgumentParser()
@ -127,5 +128,4 @@ if __name__ == '__main__':
cropsize = cropping(args.f_input, infos)
volumes = volume_audio(args.f_input, infos)
if args.stab:
stabilization(f_input)
stabilization(args.f_input)