From f6581ad1d4961f300cd4df28e83539d87331d477 Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Sun, 10 May 2026 23:01:32 -0500 Subject: [PATCH] Drop Twitter media re-encode to 20 FPS as it's pretty slow and bump threads though it probably won't help much --- KfChatDotNetBot/Commands/XeetEmbedCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KfChatDotNetBot/Commands/XeetEmbedCommand.cs b/KfChatDotNetBot/Commands/XeetEmbedCommand.cs index da212cf..50a474a 100644 --- a/KfChatDotNetBot/Commands/XeetEmbedCommand.cs +++ b/KfChatDotNetBot/Commands/XeetEmbedCommand.cs @@ -248,7 +248,7 @@ public class XeetEmbedCommand : ICommand var ffmpegPath = await SettingsProvider.GetValueAsync(BuiltIn.Keys.FFmpegBinaryPath); - var ffmpegArgs = $"-i \"{tempVideoPath}\" -vf \"fps=30,scale='min(640,iw)':'min(480,ih)':force_original_aspect_ratio=decrease\" -c:v libwebp -lossless 0 -quality 75 -loop 0 -an \"{tempWebpPath}\""; + var ffmpegArgs = $"-i \"{tempVideoPath}\" -vf \"fps=20,scale='min(640,iw)':'min(480,ih)':force_original_aspect_ratio=decrease\" -c:v libwebp -threads 4 -lossless 0 -quality 75 -loop 0 -an \"{tempWebpPath}\""; var processInfo = new ProcessStartInfo {