This commit is contained in:
Nirvana
2026-02-08 20:43:22 +01:00
parent 1306b0fc1e
commit 5f2b83bca2
+2
View File
@@ -743,12 +743,14 @@ class UltimateService:
# Map all video (will be just one due to highest_quality_only), all audio, and optional subtitles
ffmpeg_cmd = (
f'pipe://ffmpeg -loglevel fatal '
f'-re '
f'-fflags +genpts+discardcorrupt '
f'-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 2 '
f'-i "{stream_url}" '
f'-map 0:v -map 0:a? '
f'-c copy '
f'-f mpegts '
f'-flush_packets 1 '
f'-mpegts_flags resend_headers '
f'-metadata service_name="{channel_name}" '
f'pipe:1'