From d7d68c0cebb5bbcda67f7ec0f3fe6d1709f66c15 Mon Sep 17 00:00:00 2001 From: CI Bot Date: Sun, 23 Aug 2026 16:24:38 +0000 Subject: [PATCH] style: auto-format with black + isort + prettier [skip ci-format-check] --- apps/worker/video_processing/render_audio.py | 28 +++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) 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)