将漂移字幕与已完成视频音频重新对齐
Uses Subaligner to retime an existing subtitle file against the final audio track, then outputs a corrected subtitle asset. This is for subtitle drift, forced alignment, or batch retiming, not for full video editing or general media management.
Prerequisites
FFmpeg
Installation
Requirements and caveats from upstream:
-
-
- Note that subaligner[stretch], subaligner[dev] and subaligner[harmony] require eSpeak to be pre-installed:
Basic usage or getting-started notes:
- <details>
- <summary>Install dependencies for enabling translation and transcription</summary>
- <pre><code>pip install 'subaligner[llm]'</code></pre>
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/baxtree/subaligner/HEAD/README.md
Documentation
- https://subaligner.readthedocs.io/en/latest/