just changing stuff

This commit is contained in:
Elghinnarisa
2023-03-26 18:31:49 +02:00
parent f8ccf44a92
commit 790fd3538e
8 changed files with 242 additions and 18 deletions

View File

@@ -17,13 +17,14 @@ output_path = head_tail[0]
#skip first part of sys.argv since it points to script location
arguments = sys.argv[1:]
number_of_ss=int(input("Number of ss: "))
print(number_of_ss)
#check if output folder exists, otherwise create it
isExist = os.path.exists(output_path+output_folder_name)
if not isExist:
os.makedirs(output_path+output_folder_name)
number_of_ss=int(input("Number of ss: "))
print(number_of_ss)
#run ffprobe to get duration of input file, then get appropriate timestamps out of it
for i, file in enumerate(arguments):