improved yt-dlp

This commit is contained in:
Simon
2026-02-08 20:11:07 +00:00
parent 313ba70fec
commit 407e3bf9c6

View File

@@ -275,8 +275,8 @@ def stream_video():
ydl_opts = {
# 'format': 'best[protocol*=m3u8]/best[ext=mp4]/best',
'format_sort': ['res', 'fps', 'vcodec:avc1', 'acodec:aac'],
'quiet': True,
'no_warnings': True,
'quiet': False,
'no_warnings': False,
'socket_timeout': 30,
'retries': 3,
'fragment_retries': 3,