Communitygithub.com

EyalZameret/Dudu-Director-Video-kit

Dudu(AIプロモーションビデオディレクター)が参考動画リンク(YouTube等)から学習するために使用します。動画をダウンロードし、カット検出、各ショットのフレームレビュー、構造化分析を library/study/<id>/analysis.md に書き込み、library/INDEX.md を更新後、動画を削除します。

Dudu-Director-Video-kit とは?

このスキルは、Dudu(AIプロモーションビデオディレクター)に、YouTubeやその他の動画サイトの参考動画から自動的に学習する能力を与えます。Claudeが直接動画リンクを視聴できない問題を解決し、yt-dlpとffmpegを用いて動画をダウンロード、カット検出、各ショットのフレーム抽出、音声解析を行います。分析結果は構造化されたanalysis.mdとして保存され、ライブラリのインデックスに追加されます。このスキルは、動画の構成、カメラワーク、演技、サウンドデザインといった要素を詳細に分析し、今後の広告制作に再利用可能なテクニックを抽出するのに役立ちます。

対応✓Claude Code~Codex CLI~Cursor✓Gemini CLI
npx skills add https://github.com/EyalZameret/Dudu-Director-Video-kit/tree/HEAD/.claude/skills/dudu-study

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

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

ドキュメント

Dudu: 参考動画からの学習

Claudeはリンクを直接視聴できません。YouTube URLを開いてもタイトルと説明しか表示されません。このスキルは、yt-dlpとffmpegを使用してDuduに"視覚"を与えます。

1. 抽出

python tools/study_video.py "<url>"            # --threshold 0.2 でソフトカット、0.4 で動きの多いシーン

library/study/<video-id>/ に書き込みます:

  • meta.json: タイトル、チャンネル、長さ
  • shots.json: 各ショットの開始、終了、長さ、統計情報(10秒あたりのカット数、中央値のショット長)
  • shots-N.png: ショットごとにラベル付けされた1フレーム、1シート12枚
  • transcript.txt: キャプション(ある場合) ダウンロードした動画は最後に削除されます。

ダウンロードが HTTP 403 または「ページをリロードする必要があります」で失敗した場合は、yt-dlpを更新し(pip install --user -U yt-dlp)、Node.jsがPATHに含まれていることを確認してください。このツールは --js-runtimes node --remote-components ejs:github を渡して、YouTubeのJavaScriptチャレンジを解決します。

2. 視覚(画像)

全ての shots-N.png と shots.json を読みます。以下の5つの技術を研究します:

  • 演出: ビート、ストーリーが遅くなったり速くなったりする箇所、各シーケンスの目的。
  • カメラ: ショットごとに、サイズ(EWS/WS/MS/MCU/CU/ECU/insert/POV)、アングル、レンズの感じ(ワイド/標準/望遠)、光、動き。
  • 演技: 表情、目、身体、感情の起伏、ストーリーを伝える瞬間。
  • ストーリーボード: ショットごとの文法(イベント→反応→詳細)。
  • サウンド: 手順3を参照。

3. 聴覚(サウンド)

Claudeは音を聞くことができないため、2つのソースを使用しクロスチェックします:

  1. 測定: audio.json(0.5秒ごとおよびショットごとのラウドネス、無音部分)、waveform.png および spectrogram.png(赤い線=カット、白い目盛り=10秒)。濃く密集した帯=アクション音楽または効果音;上部が暗い帯=ハイカット(「水中」);明確な水平線=トーンまたは声;ギャップ=無音。
  2. Geminiの耳(オプション、所有者に確認): GeminiはYouTubeリンクを音声付きで視聴できます。dudu-browser を使用して、新しいGeminiチャット(プレーンチャット、ツールなし)を開き、英語で、タイムスタンプ付きのセクションごとのサウンド内訳(音楽、効果音、無音、会話、カットのヒット)と演技の内訳を依頼し、不確かな場合は「わからない」と言うように指示します。 所有者がGeminiを持っていない場合は、測定のみに頼り、その旨を analysis.md に記載します。両方のソースが一致するものを保持します。Geminiのみが報告したもの(特に正確な会話のセリフ)は、「Geminiによる検証済み」とマークします。

4. storyboard.json と analysis.md を書く(同じフォルダ)

  • storyboard.json: 各ショットに size, angle, lens, light, move, action, acting, sound, why を含め、sequences にグループ化します。スキーマは tools/storyboard.py にあります。python tools/storyboard.py library/study/<id>/storyboard.json でレンダリングし、スクリーンショットで確認します。
  • analysis.md: ヘッダー(ソース、長さ、タイプ、測定値) → 構造 → 何を盗むか → カメラ演出 → 演技 → サウンドデザイン(時間/サウンド/テクニックのテーブル) → 30〜60秒の広告向けに(最も再利用可能な3つの手法) → コピーしないもの(実在の人、ブランド、長さ) → 再利用する数値。 テクニックを記述します。説明ではなく、「彼女が車を運転する」ではなく、「アクションビートで顔のクローズアップとワイドのイベントショットを交互に配置する」のように。

5. ライブラリインデックスを更新

library/INDEX.md に行を追加します: id、タイトル、タイプ、ペース(10秒あたりのカット数、中央値)、およびこの参考動画を再利用する価値がある1〜2のテクニック。

6. 使用する

ブリーフ、スクリプト、ショットリスト、カットを書く際は、library/INDEX.md で一致する参考動画を確認し、どのテクニックをどこから借用しているかを述べます。所有者が「あの広告のように」と言った場合は、まずその analysis.md を開きます。

ルール

  • 学習のみ、映像、フレーム、音楽、肖像を再利用しないでください。ダウンロードはプライベート分析用であり、削除されます。一度、ダウンロードがサイトの利用規約に違反する可能性があることを所有者に伝えてください。
  • フレームシートはローカルに留めます(gitで無視)。analysis.md、shots.json、meta.json はコミットしても構いません。
  • 所有者に、最も有用な3〜5のテクニックを、証拠としてショット番号を付けて、所有者の言語で報告します。

Individual skills in this repo

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

EyalZameret/Dudu-Director-Video-kit

Used by Dudu (AI promo video director) to drive Gemini (Nano Banana images, Veo video), ChatGPT (GPT Image) and Kling (image-to-video) in a Playwright browser the owner logged into. Contains the working click paths, upload and download recipes, and the fixes for every failure we hit.

EyalZameret/Dudu-Director-Video-kit

Used by Dudu (AI promo video director) for stage 7. Measures where each clip actually moves, cuts every shot to its action, color grades problem vs solution, and assembles the rough cut with ffmpeg via tools/build_cut.py.

EyalZameret/Dudu-Director-Video-kit

Used by Dudu (AI promo video director) for stage 6. Picks the animation model with a one-shot A/B test, writes image-to-video motion prompts for Kling (and Veo / Seedance), and reviews every clip with contact sheets and a motion report.

EyalZameret/Dudu-Director-Video-kit

Used by Dudu (AI promo video director) at every gate. Checks script claims against project/product.md, structure and pacing, and reviews images and clips with keep/fix/regenerate decisions into project/qa-notes.md.

EyalZameret/Dudu-Director-Video-kit

Used by Dudu (AI promo video director) for stages 1-2. Interviews the owner for the brief and writes a 12-shot promo script (problem-agitate-solve, about 70/30 problem/solution, minimal dialogue, one CTA) into project/brief.md and project/script.md.

EyalZameret/Dudu-Director-Video-kit

Switch this session to Dudu (דודו), the AI promo video director, until the owner leaves Dudu mode.

EyalZameret/Dudu-Director-Video-kit

Used by Dudu (AI promo video director) after the picture cut. Designs the sound (cue sheet synced to cuts), generates music, effects and voice (Gemini, TTS, recordings, free libraries), and mixes it onto the cut with tools/mix_audio.py into a finished film.

EyalZameret/Dudu-Director-Video-kit

Used by Dudu (AI promo video director) for stages 3-5. Builds the style and character bible, the 12-shot list, reference sheets, location frames and the 12 keyframe prompts for Gemini / Nano Banana or ChatGPT / GPT Image, and reviews every generated image.

関連スキル