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: video rendering issue in windows

tribhuwan-kumarbb8f2fd761a1
diff --git a/screenpipe-server/src/video.rs b/screenpipe-server/src/video.rs
index 9ebd3f1cf..b495dc5d1 100644
--- a/screenpipe-server/src/video.rs
+++ b/screenpipe-server/src/video.rs
@@ -357,10 +357,10 @@ async fn start_ffmpeg_process(output_file: &str, fps: f64) -> Result<Child, anyh
if env::consts::OS == "windows" {
// TODO switch back to libx264 when ffmpeg is updated in pre_build.js
- // Use MPEG-4 encoder for Windows
+ // Use H264_mf encoder for Windows
args.extend_from_slice(&[
"-vcodec",
- "mpeg4",
+ "h264_mf",
"-q:v",
"5", // Adjust quality (1-31, lower is better)
"-preset",