ffmpeg 参数

This commit is contained in:
Jerry Yan 2025-03-04 16:11:56 +08:00
parent 9385945030
commit d8ab94fcba

View File

@ -1,8 +1,7 @@
import time import time
import uuid import uuid
from typing import Any
ENCODER_ARGS = ("-c:v", "h264_nvenc",) ENCODER_ARGS = ("-c:v", "h264_nvenc", "-cq:v", "24", "-preset:v", "p7", "-tune:v", "hq",)
PROFILE_LEVEL_ARGS = ("-profile:v", "high", "-level:v", "4") PROFILE_LEVEL_ARGS = ("-profile:v", "high", "-level:v", "4")