From 2cdf1aac28e1fc1bfdbb85689794b8a2cc89c383 Mon Sep 17 00:00:00 2001 From: jaydee Date: Thu, 26 Sep 2024 18:40:38 +0200 Subject: [PATCH] bitwarden --- handle_imported_video.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handle_imported_video.py b/handle_imported_video.py index 6c37117..e981837 100644 --- a/handle_imported_video.py +++ b/handle_imported_video.py @@ -183,7 +183,7 @@ if _ACTION == "join": ] if _TEST: print(" ".join(myCmd)) - print(f"Joining {len(parts)} files to {export_name} in {_DAY_DIR}...") + print(f"Joining {len(parts)} files to {export_name} in {_DAY_DIR}...".ljust(100)) try: os.remove(export_name) except: @@ -292,7 +292,7 @@ if _ACTION == "encode": "/opt/ffmpeg/ffmpeg", "-i", p, "-c:v", "hevc_amf", "-rc", "cqp", "-qp_i", _QUALITY[0], "-qp_p", _QUALITY[1], "-quality", "quality", "-crf", _QUALITY[2], "-y", export_name , "-f", "null", "/dev/null", ] #print(myCmd) - print(f"Encoding {p} to {export_name} in {_DAY_DIR}...") + print(f"Encoding {p} to {export_name} in {_DAY_DIR}...".ljust(100)) ff = FfmpegProgress(myCmd) with tqdm(total=100, position=1, desc="Encode") as pbar: for progress in ff.run_command_with_progress():