diff --git a/apps/worker/video_processing/unified_render_service.py b/apps/worker/video_processing/unified_render_service.py index 86ea5027c..f03b3788f 100755 --- a/apps/worker/video_processing/unified_render_service.py +++ b/apps/worker/video_processing/unified_render_service.py @@ -2301,13 +2301,13 @@ class UnifiedRenderService: filters.append(f"eq=contrast={contrast:.3f}") elif filt == "color_balance": - # RGB 通道偏移:color_balance=rs=...:gs=...:bs=... + # RGB 通道偏移:colorbalance=rs=...:gs=...:bs=... r = pixel_pert.get("color_r", 0) g = pixel_pert.get("color_g", 0) b = pixel_pert.get("color_b", 0) if r != 0 or g != 0 or b != 0: # color_balance 参数范围 -1.0 ~ 1.0,这里用 /100 转换 - filters.append(f"color_balance=rs={r/100:.3f}:gs={g/100:.3f}:bs={b/100:.3f}") + filters.append(f"colorbalance=rs={r/100:.3f}:gs={g/100:.3f}:bs={b/100:.3f}") @staticmethod def _clip_volume(clip: ResolvedClip) -> float: