videoSrc 属性将 public/ 前缀传递给 staticFile(),导致 Remotion 类型错误

作者: tradeshum创建于 2026年8月28日更新于 2026年8月31日

在 `tools/video/remotion_caption_burn.py` 中, `_render_remotion()` 将 `props["videoSrc"]` 设置为 `f"public/talking-head/{video_filename}"`。Remotion 的 `staticFile()` 明确拒绝包含 `public/` 前缀的路径 (它期望的路径是相对于 `public/` 的)。这会导致每次渲染都出现 `TypeError: 使用 staticFile() 时请不要包含 public/ 前缀` 的错误。

内容来源: calesthio/OpenMontage