This commit is contained in:
2025-06-17 21:02:58 +02:00
parent e4ba7a9e4a
commit 3bc6a7ecfa

View File

@@ -381,7 +381,7 @@ def encode_videos(_DEV,_SOURCE_DIR,_DAY_DIRS):
myCmd = [
"/usr/bin/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)
d_print(" ".join(myCmd))
print(f"Encoding {p} to {export_name} in {_DAY_DIR}...".ljust(100))
ff = FfmpegProgress(myCmd)