|
|
@@ -28,6 +28,7 @@ if file_list: |
|
|
|
status, output = subprocess.getstatusoutput("ffmpeg -i " + os.path.join(DAT_FOLDER,dat) + " -c copy " + os.path.join(TARGET_FOLDER, codec, dat.split(".")[0], TARGET_SUFFIX)) |
|
|
|
if status==0: |
|
|
|
print("%s convert sucessfull" %dat) |
|
|
|
os.remove(os.path.join(DAT_FOLDER,dat)) |
|
|
|
else: |
|
|
|
print("%s convert fail" %dat) |
|
|
|
else: |
|
|
|