feat: 滤镜调色引擎 - 8种预设 + 基础调色 + 分段应用 #300
Reference in New Issue
Block a user
Delete Branch "feat/color-grading-engine"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
功能说明
在统一渲染管道中加入画面色彩调整能力,基于 FFmpeg eq + colorbalance + hue 滤镜组合实现。
核心能力
基础调色 5 参数
8 种风格预设
使用模式
降级策略
滤镜实现
系统集成
clip.config.color_grade读取配置,零侵入数据模型测试覆盖
70 个新增单测 + 84 个现有测试,共 154 个全绿,零回归
文件变更
apps/worker/video_processing/color_grade_engine.py(调色引擎核心)apps/worker/video_processing/unified_render_service.py(接入调色,直通+filter_complex 双路径)tests/unit/test_color_grade_engine.py(70 个单测)3 files changed, 999 insertions(+)
✅ 代码审计通过
仅3个文件/999行,非常聚焦。
审查要点确认:
架构亮点: eq + colorbalance + hue 三级滤镜组合,参数映射公式清晰,易扩展
15f9e4761etoe47583a3c3