Instead of remuxing, --merge-output-format to mp4 instead of mkv. Might help with audio desync issues?

This commit is contained in:
barelyprofessional
2025-08-24 02:39:55 -05:00
parent 624d4dcc41
commit bbfdf1e9f4

View File

@@ -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 --remux-video mp4 {streamUrl}";
$"--write-info-json --wait-for-video 15 --merge-output-format mp4 {streamUrl}";
}
else if (captureMethod == StreamCaptureMethods.Streamlink)
{