From 93d87f05827892f5ed047ecfad82b4ccb847a628 Mon Sep 17 00:00:00 2001 From: Accusys Date: Thu, 14 May 2026 18:38:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20trace=20video=20normal=20mode=20?= =?UTF-8?q?=E2=80=94=20remove=20-an=20to=20preserve=20audio?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/media_api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/media_api.rs b/src/api/media_api.rs index d1c54e2..de70069 100644 --- a/src/api/media_api.rs +++ b/src/api/media_api.rs @@ -328,7 +328,7 @@ async fn trace_video( let tmp_str = tmp.to_str().unwrap_or("").to_string(); let result = ffmpeg_cmd() .args(["-ss", &seek.to_string(), "-i", &video_path, "-t", &duration.to_string(), - "-c", "copy", "-an", "-y", &tmp_str]) + "-c", "copy", "-y", &tmp_str]) .output() .map_err(|_| StatusCode::INTERNAL_SERVER_ERROR)?; if !result.status.success() {