From 8ae98322a2779c200a1f24ae95c8786aba01b3ad Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Thu, 21 Aug 2025 03:44:51 -0500 Subject: [PATCH] Updated yt-dlp stream capture to ask it to remux to mp4 as it uses mkv for PeerTube --- KfChatDotNetBot/Services/StreamCapture.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KfChatDotNetBot/Services/StreamCapture.cs b/KfChatDotNetBot/Services/StreamCapture.cs index e09c5d2..8924ada 100644 --- a/KfChatDotNetBot/Services/StreamCapture.cs +++ b/KfChatDotNetBot/Services/StreamCapture.cs @@ -107,7 +107,7 @@ public class StreamCapture(string streamUrl, StreamCaptureMethods captureMethod, captureLine = $"{_settings[BuiltIn.Keys.CaptureYtDlpBinaryPath].Value} -o \"{_settings[BuiltIn.Keys.CaptureYtDlpOutputFormat].Value}\" " + $"--user-agent \"{_settings[BuiltIn.Keys.CaptureYtDlpUserAgent].Value}\" " + $"--cookies-from-browser {_settings[BuiltIn.Keys.CaptureYtDlpCookiesFromBrowser].Value} " + - $"--write-info-json --wait-for-video 15 {streamUrl}"; + $"--write-info-json --wait-for-video 15 --remux-video mp4 {streamUrl}"; } else if (captureMethod == StreamCaptureMethods.Streamlink) {