fix(gpu-direct): passthrough template title/subtitle/BGM config #2093
Reference in New Issue
Block a user
Delete Branch "fix/gpu-direct-template-config-passthrough"
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?
问题
GPU 直连渲染 MVP 硬编码标题/字幕/BGM 样式,模板配置字段被忽略:
修改
build_direct_render新增title_config/subtitle_config/bgm_config/static_subtitle_text参数_hex_to_drawtext_color:#RGB/#RRGGBB/#RRGGBBAA/命名颜色→drawtext颜色格式_position_to_drawtext_xy:top/center/bottom → x/y 表达式_build_drawtext_filters:阴影层(同字偏移)+ 主字层,支持 borderw/stroke 和 shadow_try_gpu_direct整包透传 cfg[title]/[subtitle]/[bgm];非自动字幕时填 static_subtitle_text;extra_audio_tracks volume 从 audio_tracks_config 读取(配音)而非硬编码 1.0DirectRenderPlan暴露 filter_complex 字段便于测试测试
影响范围
仅 GPU 直连渲染路径(_try_gpu_direct),CPU 路径无改动;旧参数(title_text/tts_audio)保留兼容,不会回退。
🚀 预览环境已部署
🗑️ 预览环境已清理
PR #2093 已关闭或合并,对应的预览环境已被清理。