Communitygithub.com

akshayDev17/ai-explainer-video

動画のセグメントから1本の動画を組み立てます。各ウィンドウをサイレントでレンダリングし、連結し、ナレーションを一度だけ多重化して検証します。コース教材からの解説動画パイプラインのステージ8です。

ai-explainer-video とは?

このスキルは、`explainer-video-from-coursework` パイプラインの最終ステージ(ステージ8/8)であり、レンダリングステージ全体のオーケストレーターとして機能します。各セグメントを個別のウィンドウでサイレントレンダリングし(ナレーションを多重化しない)、その後 `ffmpeg` の `-c copy` で連結し、計測済みの単一ナレーショントラックを一度だけ多重化して、サンプルレベルで音声が一致するか検証します。 `--only <key>` オプションで単一セグメントのみをテスト実行可能です。前提条件として、スクリプト、`timeline.json`、`manifest.json`、`narration.wav` が揃っており、マシンに `ffmpeg` とヘッドレスChromiumがインストールされている必要があります。このスキルは `node` コマンドで実行し、出力は `--dest` で指定した場所にMP4ファイルとしてコピーされます。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/akshayDev17/ai-explainer-video/tree/HEAD/skills/craft-video-assemble

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

craft-video-assemble — 完成動画

explainer-video-from-coursework パイプラインの一部 — ステージ8/8。 レンダリングステージのオーケストレーターです。

パイプラインのツールとシーンホストは、同じ階層の explainer-video-from-coursework スキルにあります。 これらは node ../explainer-video-from-coursework/tools/<tool>.mjs のように実行し、このスキルのフォルダを基準として解決します。 プロジェクトから実行するため、out/ スクラッチはノートの隣に作成されます。

前提条件: スクリプト、out/<name>/<NN>/timeline.json、manifest.json、および narration.wav が存在すること。また、マシンに ffmpeg とヘッドレスChromiumがインストールされていること(SETUP.md を参照)。

[setup] / Playwright cache not found の失敗は、ffmpeg または Chromium がないことを意味します。 該当する SETUP.md の手順をユーザーに伝え、再実行してください。

node ../explainer-video-from-coursework/tools/assemble.mjs --script out/<name>/scripts/<NN>-*.json \
                        --work out/<name>/<NN> --name <output> \
                        --dest <destination>

各セグメント: それぞれ独自のホストと設定を通じて自身のウィンドウをサイレントでレンダリングします。パーツは意図的に無音にしています。なぜなら、各セグメントにナレーションを多重化すると、境界ごとにトラック全体が再開されるからです。その後、連結(-c copy)、計測済みの単一ナレーショントラックを一度だけ多重化し、検証します。--only <key> は単一セグメントをレンダリングし、スモークテストとして利用できます。

アサーション: すべてのセグメントにタイムラインウィンドウと manifest.json エントリがあること · ウィンドウがタイムラインを隙間なくタイルしていること · 完成したオーディオがナレーションとサンプルレベルで一致すること。

完了条件: 実行が終了コード 0 で終了し、[done] …<output>.mp4 と audio ok が表示されること。MP4 は --dest にコピーされます。

メンテナンス

このファイルを変更する場合、またはユーザーがこのステージの変更を依頼した場合、 メインの explainer-video-from-coursework スキルの 「ステージ8 — /assemble」 セクションを 一致するように調整する必要があることをユーザーに伝え、返信でそのセクション名を指定してください。

Individual skills in this repo

This repo contains 8 individual skills — each has its own dedicated page.

akshayDev17/ai-explainer-video

Synthesize narration and build the measured timeline for one video. Stage 4 of explainer-video-from-coursework — the one-shot TTS primitive.

akshayDev17/ai-explainer-video

Retitle and curate the videos in an explainer-video plan — write enrichment.json and merge it. Stage 2 of explainer-video-from-coursework; run it alone to retitle an existing plan.

akshayDev17/ai-explainer-video

Decompose a coursework notes directory into an explainer-video plan and prove no content-bearing section is dropped. Stage 1 of explainer-video-from-coursework; run it alone to (re)plan a directory.

akshayDev17/ai-explainer-video

Generate YouTube chapters and English captions for one finished video. Stage 6 of explainer-video-from-coursework.

akshayDev17/ai-explainer-video

Render one scene config over one time window to an MP4 (or a handful of QA stills). Stage 7 of explainer-video-from-coursework — the render primitive.

akshayDev17/ai-explainer-video

Author and iterate the animated visuals for one video's segments. Stage 5 of explainer-video-from-coursework; it re-invokes the audio stage when a beat needs a hold.

akshayDev17/ai-explainer-video

Write and validate the spoken narration for one explainer-video. Stage 3 of explainer-video-from-coursework; run it alone to (re)write a video's script.

akshayDev17/ai-explainer-video

Plan an explainer-video series from a directory of coursework notes — decompose into videos (proving nothing is dropped), retitle and curate, write the narration, synthesize the audio, author the visuals, then render and assemble the finished cut. Use when the user wants to turn structured coursework notes into explainer videos.

関連スキル