From 828e1057eb93b4d46ac13a3857eedc4bac9eae27 Mon Sep 17 00:00:00 2001 From: houssemko Date: Fri, 18 Sep 2026 08:18:22 +0100 Subject: [PATCH] Revert fragmented MP4 for live captures --- src/video.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/video.rs b/src/video.rs index 320b212e..b0955e11 100644 --- a/src/video.rs +++ b/src/video.rs @@ -2745,13 +2745,6 @@ async fn run_hls_ffmpeg( } cmd.arg("-c") .arg("copy") - // Fragmented MP4: every fragment self-synchronizes, so joins - // and encoder discontinuities in endless live windows can't - // drift audio away from video — and a killed capture stays - // playable. A regular moov-at-end file would go out of sync - // and be unrecoverable on hard kill alike. - .arg("-movflags") - .arg("frag_keyframe+empty_moov") .arg(&out_path) .stdin(std::process::Stdio::null()) .stdout(std::process::Stdio::piped())