From 90bb33c9af09e57e2a7a67ba0f99a12bd07bf07c Mon Sep 17 00:00:00 2001 From: eric Date: Fri, 12 Dec 2025 20:42:10 -0600 Subject: [PATCH] 's' --- main.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index a202fb5..8dc7dca 100644 --- a/main.py +++ b/main.py @@ -1689,9 +1689,9 @@ def start_record(url_data: tuple, count_variable: int = -1) -> None: MAX_RETRY_DELAY = 90 INITIAL_RETRY_DELAY = 3 NO_FRAME_TIMEOUT = 120 - START_CHECK_AFTER = 25.0 - STALE_OUTPUT_SECONDS = 40 - STDERR_QUEUE_TIMEOUT = 1.0 + START_CHECK_AFTER = 120 #25.0 + STALE_OUTPUT_SECONDS = 300 # 5 分钟内没日志才认为真的僵死, + STDERR_QUEUE_TIMEOUT = 3.0 #1.0 END_KEYWORDS = [ "connection reset by peer", @@ -1734,7 +1734,7 @@ def start_record(url_data: tuple, count_variable: int = -1) -> None: ) ffmpeg_command = [ "nice", "-n", "-19", "ffmpeg", - "-loglevel", "info", + "-loglevel", "warning", "-stats", "-stats_period", "10", "-cpu-used", "4", "-threads", "4",