This commit is contained in:
eric
2025-12-13 07:19:06 -06:00
parent b7ad10bb8d
commit 5770049fbc

View File

@@ -1751,7 +1751,8 @@ def start_record(url_data: tuple, count_variable: int = -1) -> None:
"-headers", douyin_headers,
"-i", real_url,
"-vf", "scale=1080:1920:force_original_aspect_ratio=decrease:flags=lanczos,pad=1080:1920:(ow-iw)/2:(oh-ih)/2:black",
# "-vf", "scale=1080:1920:force_original_aspect_ratio=decrease:flags=lanczos,pad=1080:1920:(ow-iw)/2:(oh-ih)/2:black",
"-vf", "scale=720:1280:force_original_aspect_ratio=decrease,pad=720:1280:(ow-iw)/2:(oh-ih)/2:black",
"-c:v", "libx264",
"-preset", "superfast",