feat: 滤镜调色 - 预设库 + 全局滤镜配置 + FFmpeg参数生成 #397
Reference in New Issue
Block a user
Delete Branch "feat/filter-preset"
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?
功能
视频滤镜调色完整后端能力:
滤镜预设库(20个)
API 接口
/api/v1/edit-plans/filter-presets— 滤镜预设列表(分类筛选+关键词搜索)/api/v1/edit-plans/{plan_id}/filter— 获取全局滤镜配置/api/v1/edit-plans/{plan_id}/filter— 更新全局滤镜配置核心实现
build_ffmpeg_filter(preset_id, intensity)生成 FFmpeg eq 滤镜字符串测试
79f2aaf015to11545c406cCI全绿,自动审批通过。
ea7e7a1b22to0cbedb7142- 20个滤镜预设(基础/电影/复古/黑白/风格化 5大类) - GET /filter-presets 滤镜预设列表(分类筛选+关键词搜索) - GET /{plan_id}/filter 获取全局滤镜配置 - PUT /{plan_id}/filter 更新全局滤镜配置 - 支持强度调节 0-100、自定义微调(亮度/对比/饱和/色温) - build_ffmpeg_filter() 生成 FFmpeg eq 滤镜字符串 - FilterConfig 加入计划配置schema,向后兼容 - 26个单元测试全覆盖0cbedb7142toa57bc5aab7