fix: 渲染失败三重修复 - legacy fps滤镜 + 横屏过滤 + legacy分辨率读取 #500

Merged
auto-approve-bot merged 1 commits from fix/render-fps-and-landscape into develop 2026-07-18 13:11:59 +08:00

1 Commits

Author SHA1 Message Date
CI Bot 28e7931388 fix: 渲染失败三重修复 - legacy fps滤镜 + 横屏过滤 + legacy分辨率读取
CI Build & Deploy Pipeline / Build Staging API Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Staging Web Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Staging Worker Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production API Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production Web Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production Worker Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Staging E2E Tests (pull_request) Has been skipped
CI Build & Deploy Pipeline / Staging API Integration Tests (pull_request) Has been skipped
CI Build & Deploy Pipeline / Deploy Production (pull_request) Has been skipped
CI Build & Deploy Pipeline / Production Browser E2E (pull_request) Has been skipped
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 16s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 29s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 49s
AI Code Review / AI Code Review (pull_request) Failing after 1m32s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Successful in 1m44s
Auto Approve CI PRs / Auto Approve on CI Green (pull_request) Successful in 2m8s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 1m22s
Auto Merge CI PRs / Auto Merge on CI Green + Approved (pull_request) Successful in 3m35s
Preview Cleanup / Cleanup Preview Environment (pull_request) Failing after 0s
## P0: legacy路径fps滤镜缺失导致concat失败
- _build_clip_filter有fps参数但从未使用
- concat要求所有输入帧率一致,不同帧率必崩
- 修复:在crop后setpts前增加fps滤镜,统一到目标帧率

## P1: 自动选素材无横屏过滤
- 只过滤了编码格式,完全没有横竖屏判断
- 横屏素材混入竖屏剪辑,裁剪后画面不可用
- 修复:width > height的横屏素材过滤掉
- 兼容:正方形放过,尺寸未知放过,metadata兜底

## P2: legacy路径不读取plan配置的分辨率
- 硬编码1280x720,忽略plan.config.export.resolution
- 导致模板配置的1080x1920不生效
- 修复:从plan.config读取resolution和fps传给build_compose_command

55个单元测试全过
2026-07-18 13:07:49 +08:00