diff --git a/handle_imported_video.py b/handle_imported_video.py index bbe1d5a..cb4d510 100644 --- a/handle_imported_video.py +++ b/handle_imported_video.py @@ -184,7 +184,7 @@ if _ACTION == "join": #print(myCmd) print(f"Joining {len(parts)} files to {export_name} in {_DAY_DIR}...") - proc = subprocess.Popen(myCmd,stdout=subprocess.DEVNULL,stderr=subprocess.STDOUT) + proc = subprocess.Popen(myCmd,stderr=subprocess.STDOUT) # with tqdm(total=100, position=1, desc="Convert") as pbar: # for progress in ff.run_command_with_progress(): # pbar.update(progress - pbar.n) @@ -210,9 +210,13 @@ if _ACTION == "join": # pbar.update(1) # pbar.close() # pbar.clear() + if _TEST: + status,output = proc.communicate() print("\r\n") print("Outputs") + print(status) + print(output) print(proc.stdout) print(proc.communicate()[0]) print(proc)