v0.2.14: FFmpeg HLS resilience and aria2c multi-threading fixes

This commit is contained in:
2026-01-07 22:35:58 +09:00
parent 340ed8833e
commit d6819447d7
6 changed files with 461 additions and 67 deletions

View File

@@ -80,6 +80,15 @@ class FfmpegHlsDownloader(BaseDownloader):
except Exception as ce:
logger.error(f"Failed to read cookies_file: {ce}")
# 입력 전 설정 (Reconnection & HTTP persistence fix)
cmd.extend([
'-reconnect', '1',
'-reconnect_at_eof', '1',
'-reconnect_streamed', '1',
'-reconnect_delay_max', '5',
'-http_persistent', '0'
])
# 입력 URL
cmd.extend(['-i', url])