bitwarden

This commit is contained in:
jaydee
2024-09-26 18:40:38 +02:00
parent 4e056847d5
commit 2cdf1aac28

View File

@@ -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():