From 1890cea3ee11e1235c63096e89a587323fd0fddb Mon Sep 17 00:00:00 2001 From: Kevin Wong Date: Tue, 20 Jan 2026 17:33:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E8=BE=A8=E7=8E=87=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/services/lipsync_service.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/backend/app/services/lipsync_service.py b/backend/app/services/lipsync_service.py index b826609..6d531ef 100644 --- a/backend/app/services/lipsync_service.py +++ b/backend/app/services/lipsync_service.py @@ -205,12 +205,14 @@ class LipSyncService: temp_output = tmpdir / "output.mp4" # 视频预处理:压缩高分辨率视频以加速处理 - preprocessed_video = tmpdir / "preprocessed_input.mp4" - actual_video_path = self._preprocess_video( - video_path, - str(preprocessed_video), - target_height=720 - ) + # preprocessed_video = tmpdir / "preprocessed_input.mp4" + # actual_video_path = self._preprocess_video( + # video_path, + # str(preprocessed_video), + # target_height=720 + # ) + # 暂时禁用预处理以保持原始分辨率 + actual_video_path = video_path # 构建命令 cmd = [