This commit is contained in:
eric
2025-12-12 20:42:10 -06:00
parent 1ef411a2d0
commit 90bb33c9af

View File

@@ -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",