Nettoyage de code (F841, W293, F821, W391)
This commit is contained in:
parent
3692bd56b5
commit
e4efafa608
@ -109,6 +109,7 @@ def stabilization(file):
|
|||||||
par exemple quand filmé au smartphone.
|
par exemple quand filmé au smartphone.
|
||||||
'''
|
'''
|
||||||
cmd_stab = f'ffmpeg -i {file} -vf vidstabdetect=shakiness=10:accuracy=10:result="/tmp/vidstab.trf" -f null - '
|
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__':
|
if __name__ == '__main__':
|
||||||
@ -127,5 +128,4 @@ if __name__ == '__main__':
|
|||||||
cropsize = cropping(args.f_input, infos)
|
cropsize = cropping(args.f_input, infos)
|
||||||
volumes = volume_audio(args.f_input, infos)
|
volumes = volume_audio(args.f_input, infos)
|
||||||
if args.stab:
|
if args.stab:
|
||||||
stabilization(f_input)
|
stabilization(args.f_input)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user