Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix encoding issues

Louis Beaumont25e1bb5c6a5e
diff --git a/screenpipe-audio/src/core.rs b/screenpipe-audio/src/core.rs
index 9d14c585a..a32bde0fa 100644
--- a/screenpipe-audio/src/core.rs
+++ b/screenpipe-audio/src/core.rs
@@ -202,7 +202,11 @@ async fn run_ffmpeg(
"-c:a",
"aac",
"-b:a",
- "128k",
+ "64k", // Reduced bitrate for higher compression
+ "-profile:a",
+ "aac_low", // Use AAC-LC profile for better compatibility
+ "-movflags",
+ "+faststart", // Optimize for web streaming
"-f",
"mp4",
output_path.to_str().unwrap(),