This commit is contained in:
zaiun xu
2026-04-13 14:50:44 +08:00
parent 5a0d7ba11b
commit 6f006def64
5 changed files with 144 additions and 0 deletions

View File

@@ -542,6 +542,11 @@ def _transcode_to_h264(src: Path, dst: Path) -> bool:
return _transcode_with_x264(src, dst)
def transcode_src_to_h264_dst(src: Path, dst: Path) -> bool:
"""将 MP4 转码为 H.264;供 biomass 水上视频等复用 FishMeasure 同款 ffmpeg 逻辑。"""
return _transcode_to_h264(src, dst)
def _publish_media(
left: Optional[Path],
right: Optional[Path],