fix(ai-avatar): 全盘修复 FFmpeg 渲染滤镜链路(exit 234 P0) #1868
Reference in New Issue
Block a user
Delete Branch "fix/ffmpeg-filter-comprehensive-fix"
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?
问题
AI 数字人渲染失败,FFmpeg 退出码 234,错误
Invalid argument for option filter_complex。经全盘梳理,发现 6 处根因(不是单点补丁,是整条滤镜链路的系统性问题):
font=bold是无效 drawtext 参数——直接导致 filter_complex 解析失败(exit 234)修复
packages/domain/video_filter_builder.py
font=bold无效参数;bold 无显式描边时自动用borderw=3 + 同色描边模拟粗体视觉效果(filter_str, final_label)元组,标签契约清晰apps/api/app/services/ai_avatar_render_service.py
_probe_video_resolution()用 ffprobe 探测实际分辨率-map 0:a?+-c:a aac -b:a 128k,音频不再丢验证
test_bold_true_does_not_use_font_bold_param防回归关联:#1798 AI 数字人渲染合成
🚀 预览环境已部署
🗑️ 预览环境已清理
PR #1868 已关闭或合并,对应的预览环境已被清理。