From e56a4b52429543c340c9898284bcd01b4dd64d5a Mon Sep 17 00:00:00 2001 From: "ladislav.dusa" Date: Wed, 25 Sep 2024 17:06:10 +0200 Subject: [PATCH] rebase --- handle_imported_video.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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)