diff --git a/voicevox-remotion-template/README.md b/voicevox-remotion-template/README.md index def6c42..9c1c38f 100644 --- a/voicevox-remotion-template/README.md +++ b/voicevox-remotion-template/README.md @@ -55,6 +55,14 @@ - 音声タイミング: `src/data/voicevox-manifest.json` (自動生成) - 映像の構成: `src/yukkuri-composition.tsx` +## 字幕方針 + +本テンプレートは、短編 VOICEVOX ドラマ動画や、実写映像を背景にした解説動画での利用を主用途としています。 + +そのため、字幕は `@remotion/captions` の `Caption` 型 JSON による単語単位・時刻単位の正式な字幕データとしては扱わず、`src/data/script.ts` の `say(...)` / `show(...)` に紐づく発話単位・シーン単位の表示テキストとして扱います。 + +`say(...)` の字幕は VOICEVOX で生成した音声尺、または未生成時の推定尺に同期して表示します。SRT/VTT 互換、単語単位ハイライト、自動文字起こし字幕が必要になった場合は、その時点で `@remotion/captions` の導入を検討します。 + ## VOICEVOX設定 - `VOICEVOX_URL` (既定: `http://host.docker.internal:50021`) - 話者とスタイルは `src/data/script.ts` の `characters.*.voicevox` で指定します。