fix: 渲染失败三重修复 - legacy fps滤镜 + 横屏过滤 + legacy分辨率读取 #500
Reference in New Issue
Block a user
Delete Branch "fix/render-fps-and-landscape"
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?
问题背景
第十二轮一键生成测试再次出现渲染失败 exit=234,排查发现三个独立Bug:
修复清单
P0: legacy路径fps滤镜缺失
_build_clip_filter函数签名有fps参数,但函数体完全没使用fps={fps}滤镜apps/api/app/services/video_compose_service.py_build_clip_filterP1: 自动选素材无横屏过滤
auto_select_video_assets只过滤了编码格式,完全没有横竖屏判断width > height横屏过滤,正方形放过,尺寸未知放过apps/api/app/api/routes/_helpers.pyauto_select_video_assetsP2: legacy路径不读取plan配置的分辨率
_render_with_legacy硬编码1280x720,不读 plan.config.export.resolutionapps/worker/worker_app/tasks/edit_plan_generation.py_render_with_legacy测试
关联Issue
CI全绿,自动审批通过。
CI全绿,自动审批通过。