diff --git a/apps/worker/video_processing/render_audio.py b/apps/worker/video_processing/render_audio.py index e01a22f51..e53eefec3 100755 --- a/apps/worker/video_processing/render_audio.py +++ b/apps/worker/video_processing/render_audio.py @@ -288,19 +288,21 @@ def concat_main_audio( ] if trim_start > 0: command.extend(["-ss", f"{trim_start:.3f}"]) - command.extend([ - "-i", - str(clip.local_path), - "-vn", - "-acodec", - "aac", - "-b:a", - "128k", - "-ar", - "48000", - "-ac", - "2", - ]) + command.extend( + [ + "-i", + str(clip.local_path), + "-vn", + "-acodec", + "aac", + "-b:a", + "128k", + "-ar", + "48000", + "-ac", + "2", + ] + ) # 单 clip 简单模式:将所有音频滤镜合并为单个 -af 参数(避免多个 -af 冲突) af_parts: list[str] = [] vol = _clip_volume(clip)