From 09a323aa4955cd4bd030310a7377136481a221ca Mon Sep 17 00:00:00 2001 From: jaydee Date: Thu, 26 Sep 2024 23:29:12 +0200 Subject: [PATCH] bitwarden --- handle_imported_video.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/handle_imported_video.py b/handle_imported_video.py index 39339e9..1bcfed5 100644 --- a/handle_imported_video.py +++ b/handle_imported_video.py @@ -97,8 +97,9 @@ if _ACTION == "flip": # accessed = "08/07/2014 18:30:45" # ) create_date = filedate.File(_FULL_PATH + _FILE).get() - print(_FULL_PATH) - print(myCmd) + if _TEST: + print(_FULL_PATH) + print(myCmd) os.chdir(_FULL_PATH) proc = subprocess.Popen(myCmd,stdout=subprocess.DEVNULL,stderr=subprocess.STDOUT) print(f"Fliping {_FILE} to {export_name} in {_DAY_DIR}...".ljust(100)) @@ -107,7 +108,7 @@ if _ACTION == "flip": for progress in ff.run_command_with_progress(): pbar.update(progress - pbar.n) pbar.close() - print(f"Done".ljust(100)) + print(f"Done".ljust(130)) # get the output #print(ff.stderr) #ffmpeg -i .\GH010149.MP4 -c:v hevc_amf -rc cqp -qp_i 42 -qp_p 42 -quality quality -crf 25 output7.mp4