mirror of
https://gitlab.sectorq.eu/jaydee/python.git
synced 2025-12-14 10:44:52 +01:00
rebase
This commit is contained in:
@@ -274,7 +274,7 @@ if _ACTION == "encode":
|
|||||||
myCmd = [
|
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",
|
"/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}...")
|
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:
|
||||||
|
|||||||
Reference in New Issue
Block a user