's'
This commit is contained in:
5
main.py
5
main.py
@@ -1746,7 +1746,8 @@ def start_record(url_data: tuple, count_variable: int = -1) -> None:
|
||||
"-reconnect_streamed", "1",
|
||||
"-reconnect_at_eof", "1",
|
||||
"-reconnect_delay_max", "10",
|
||||
# "-http_persistent", "1", #移除无效的
|
||||
"-http_persistent", "1",
|
||||
"-http_seekable", "0", # 新增:优化 HLS 非可寻址流
|
||||
"-multiple_requests", "1",
|
||||
|
||||
# 输入端:让 YouTube 认为这是“完美真人源”
|
||||
@@ -1756,7 +1757,7 @@ def start_record(url_data: tuple, count_variable: int = -1) -> None:
|
||||
"-thread_queue_size", "32768",
|
||||
"-user_agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36",
|
||||
"-headers", douyin_headers,
|
||||
"-http_seekable", "0", # 新增:优化 HLS 非可寻址流
|
||||
|
||||
"-i", real_url,
|
||||
|
||||
# 视频参数:YouTube 2026 年权重天花板配置
|
||||
|
||||
Reference in New Issue
Block a user