bitwarden

This commit is contained in:
jaydee
2024-09-25 08:41:32 +02:00
parent 83417c237a
commit 6ce2a7faec

View File

@@ -259,7 +259,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", "/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(myCmd)
print(f"Encoding files...") print(f"Encoding {p} to {export_name} in {_DAY_DIR}...")
ff = FfmpegProgress(myCmd) ff = FfmpegProgress(myCmd)
with tqdm(total=100, position=1, desc="Encode") as pbar: with tqdm(total=100, position=1, desc="Encode") as pbar:
for progress in ff.run_command_with_progress(): for progress in ff.run_command_with_progress():