This commit is contained in:
ladislav.dusa
2024-09-25 16:28:36 +02:00
parent f5095d1f23
commit ebc38ea27d

View File

@@ -274,7 +274,7 @@ if _ACTION == "encode":
myCmd = [
"/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 {p} to {export_name} in {_DAY_DIR}...")
ff = FfmpegProgress(myCmd)
with tqdm(total=100, position=1, desc="Encode") as pbar: