Communitygithub.com

EyalZameret/Dudu-Director-Video-kit

Dudu(AIプロモーションビデオディレクター)のステージ7で使用されます。各クリップの実際の動きを測定し、すべてのショットをアクション部分でカットし、問題と解決策をカラーグレーディングし、tools/build_cut.pyを使用してラフカットをffmpegで組み立てます。

Dudu-Director-Video-kit とは?

このスキルは、AIプロモーションビデオディレクター「Dudu」のパイプラインにおけるステージ7「ラフカット」を担当します。固定長5秒のクリップをそのまま繋げると動きが遅く感じられるため、このスキルでは各クリップの動きを半秒単位で測定し、実際のアクションがある部分だけを切り取ることで、テンポの良い編集を実現します。測定には`tools/motion_report.py`を使用し、動きの数値に基づいてカットの判断を行います。また、問題提起のパートは冷たい色調(cold)、転換点以降は暖かい色調(warm)でカラーグレーディングし、ffmpegを用いて最終的なラフカット動画を出力します。このスキルはClaude CodeやCursorなどのAIエージェント上で動作し、動画編集プロセスを自動化・効率化します。

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

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

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

ドキュメント

Dudu: ラフカット

ジェネレーターは固定長5秒のクリップを返します。そのまま再生すると遅く感じられます。最初のカットでは、レビュアーから「カットがとても遅い」と言われ、測定すると52秒のうち実際にアクションがあるのは約30秒だけでした。

1. 測定

python tools/motion_report.py project/clips/*.mp4 を実行すると、半秒ごとの動きを表示します:

  • 0.1-0.5: 静止; 1-3: スローカメラムーブ; 3+: アクション。 数値ではわからない瞬間(小さな光の色変化など)は、その領域をトリミングしてタイル表示します: ffmpeg -i shot10.mp4 -vf "fps=2,crop=360:200:X:Y,tile=5x2" -frames:v 1 detail.png(imageio-ffmpegがインストールしたffmpegのパスは次のコマンドで確認:python -c "import imageio_ffmpeg; print(imageio_ffmpeg.get_ffmpeg_exe())")。

2. カットの決定

  • library/INDEX.md を参照して、オーナーが希望するペースの基準を確認し、その数値(10秒あたりのカット数、中央値のショット長)に合わせます。
  • ペースは一定ではなく曲線である(library/study/V5AFQaEbHQU 参照):穏やかなオープニングは間を保ち、問題提起の部分は圧縮し、クライマックスは1秒未満に断片化し、転換点とCTAは呼吸を整えます。
  • アクションがある秒だけを残します。ほとんどのショットは1.5~4秒になります。オープニングとCTAは長めに残しても構いません(ロゴや台詞に時間が必要なため)。
  • 問題提起のパートでは速いカットで緊張感を高め、転換点では呼吸を整えます。
  • 失敗(顔の変化、モーフィング)の前でカットします。失敗したショットはキーフレーム静止画にスローズームを加えて置き換えます。
  • ダイアログは次のショットにまたがることがあります(Jカット/Lカット)。そのため、長い台詞が長いショットを強制することはありません。

3. ビルド

project/cut.json を書き(project/cut.example.json 参照)、python tools/build_cut.py project/cut.json を実行します。

  • 編集内でグレーディング:問題ショットはcold、転換点以降はwarm。グレードは穏やかに保ち、青を影に押し込まないでください。
  • 出力:H.264 [email protected]、yuv420p、bt709、1080p30。古いWindows Media Playerで青いブロックノイズが見える場合、それはプレーヤーのデコーダーが原因です。ffmpegでフレームを抽出し、彩度を上げて確認してください(eq=saturation=4)。フレームがきれいならファイルは正常です。
  • 結果を確認するには:python tools/contact_sheet.py project/out/roughcut-vN.mp4 --every 2.5 --cols 6 を実行します。

4. 次: サウンド

まず映像を確定させてから、dudu-sound(ステージ8)をロードします:1つの連続した音楽トラック、効果音とボイスを tools/mix_audio.py でミックスします。クリップごとに生成されたオーディオは1つのトラックに結合されません。

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 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) to learn from a reference video link (YouTube and most video sites). Downloads it for private analysis, detects every cut, reviews one frame per shot, writes a structured analysis into library/study/<id>/analysis.md and updates library/INDEX.md, then deletes the video. Use when the owner shares a link and says "learn from this", "study this", "do it like this", or asks for a style taken from an ad.

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.

関連スキル