feat: 片段调整 - 调速 + 音量 + 裁剪 + 批量调速 #400
Reference in New Issue
Block a user
Delete Branch "feat/clip-adjustments"
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?
功能
片段调整完整后端能力:
API 接口
/api/v1/edit-plans/clips/{clip_id}/speed— 调速(0.25~4.0倍)/api/v1/edit-plans/clips/{clip_id}/volume— 音量调节(0~2.0倍)/api/v1/edit-plans/clips/{clip_id}/trim— 裁剪(trim_start + trim_end)/api/v1/edit-plans/clips/{clip_id}/adjustments— 统一调整(speed+volume+trim 同时改)/api/v1/edit-plans/{plan_id}/clips/batch-speed— 批量调速核心实现
测试
8b15283a67toe3e5b1ad9cCI全绿,自动审批通过。
e96ea13f0cto48290dad7048290dad70to9ac04a6077- PUT /clips/{id}/speed 调速(0.25~4.0倍) - PUT /clips/{id}/volume 音量调节(0~2.0倍) - PUT /clips/{id}/trim 裁剪(trim_start + trim_end) - PUT /clips/{id}/adjustments 统一调整(speed+volume+trim) - POST /{plan_id}/clips/batch-speed 批量调速 - 裁剪时长校验,不能超过片段总时长 - 音量/裁剪存储在 clip.config,零侵入数据模型 - 25个单元测试全覆盖9ac04a6077toe7bdc48c49