Communitygithub.com

prathameshp107/video-editing

ナレーションやダイアログに合うインデックス化された映像を検索し、ローカルかつ無料のツールを使ってタイムラインからトピック外のショットを監査します。フッテージ検索やナレーションと映像の一致確認に使用します。ファイル名の類似性を視覚的な証拠として扱わないでください。

video-editing とは?

このスキルは、ビデオ編集者やAIエージェントが、ナレーションやダイアログに最も適したショットをインデックス化された映像から検索したり、完成したタイムラインがナレーションに従っているかを監査するためのものです。ローカルで無料のツール(Pythonスクリプト)を使用し、映像からショットをサンプリングしてインデックスを作成し、スクリプトやトランスクリプトを視覚的なビートに分割し、意味やストーリー上の位置に基づいて検索します。最終的な検証は、人間が確認したフレームのSHA-256ハッシュを用いた視覚的な証拠に基づいて行われ、ファイル名やメタデータに依存しません。このスキルは主にClaude CodeやCodexなどのエージェント向けに設計されており、`scripts/index_media.py`、`scripts/search_index.py`、`scripts/match_timeline.py`、`scripts/audit_visual_beats.py`という4つのスクリプトで構成されています。`match_timeline.py`のコンセプト辞書は特定のプロジェクト(インド料理や旅行ブログ)向けに調整されており、異なる種類の映像では編集が必要です。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/prathameshp107/video-editing/tree/HEAD/.agents/skills/video-semantic-search

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

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

ドキュメント

動画セマンティック検索

編集において、ナレーションのセリフに最も合うショットが必要な場合や、完成したタイムラインがナレーションに従っているかを確認する場合に使用します。

  1. scripts/index_media.py --media-dir <ソース> --out <レビュー> を実行して、ローカルの動画をサンプリングし、コンタクトシートと shot_index.json を作成します。ローカルにキャッシュされた faster-whisper モデルが利用可能な場合のみ、--transcribe を追加します。フレームを確認し、各ショットに観察された短い説明とタグ(ソースファイルとソース時間を含む)を記述します。作成者の主張は、ファイル内で見えるまたは聞こえるものとは別に保持します。
  2. スクリプトまたはトランスクリプトをタイムドビートに分割します。各ビートを、場所、アクション、オブジェクト、ストーリー上の役割を含む視覚的概念にマッピングします。タイミングが不明な場合は、スクラッチ音声読み上げから推定し、音声生成後に修正します。
  3. scripts/search_index.py --index <shot_index.json> --query <ナレーションビート> で shot_index.json を検索します。意味とストーリー上の位置をファイル名の一致よりも優先します。行が視覚的に確認できない主張を行う場合は、関連する状況ショットを選択し、その主張をナレーションのみとしてマークします。
  4. 実際のナレーション音声を短い視覚的ビートに分割します。TTSのパート境界や単語のタイムスタンプが利用可能な場合はそれを使用します。「カウンター」と「鶏料理」の両方を含む行は、別々のビートに分割する必要があります。計画されたスクリプトのウィンドウだけでなく、レンダリングされた音声の配置時間を使用します。
  5. scripts/match_timeline.py は高速な候補検索のみに使用します。これは、"food" のような広いカテゴリが正確な不一致を隠す可能性があるため、アライメントを保証することはできません。
  6. 候補ショットについて、レンダリングされたフレームを検査し、human_verified エビデンスと確認された各フレームのSHA-256を使用して、正確な可視オブジェクト/アクションを記録します。scripts/audit_visual_beats.py --beats <beats.json> --evidence <visual_evidence.json> --out <report.json> を実行します。重要なエビデンスがない場合は MISSING、補足的なエビデンスがない場合は PARTIAL として扱います。ナレーションのみの主張は明示的に残します。
  7. ナレーションビートを移動するか、別のショットを選択し、監査を再実行して、ビート境界でレンダリングされた動画を確認します。ソース映像は変更しないでください。

各プロジェクトに固有の語彙を使用して、ビート/エビデンス/クリティカル要件方式を使用します。ファイル名、トランスクリプト、または編集ラベルに記載されているからといって、ショットにオブジェクトやアクションが含まれていると想定しないでください。このリポジトリでは、無料のローカル処理のみを使用します。

オープンソースユーザーへの注意: .agents/skills/video-semantic-search/scripts/match_timeline.py 内の概念語彙(CONCEPTS 辞書)は、元の作成者のプロジェクトのインド料理と旅行ブログ向けに調整されています。異なる動画タイプや言語の場合は、その辞書を編集して、映像に表示される被写体、アクション、場所を反映させてください。監査ロジックとエビデンスシステムは、どの語彙でも機能します。

Individual skills in this repo

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

prathameshp107/video-editing

Inventory and classify footage, photos, audio, and factual evidence before a footage-based video edit; record required shots and source-backed labels in this repository.

prathameshp107/video-editing

Measure and finish the mixed audio of a Reel, Short, long video, or audio-only deliverable with local FFmpeg and an encoded-output check.

prathameshp107/video-editing

Prepare source-linked cutaway clips for any long or short video, with timecodes, rights, clear names, format-aware framing, and a contact sheet.

prathameshp107/video-editing

Compare multiple frames from videos or photos across cameras, lighting, and output formats, then review a deliberate color adjustment.

prathameshp107/video-editing

Audit the picture and audio at edit boundaries in a rendered video, catching clipped speech, sudden sound changes, black frames, awkward dissolves, and visible jump cuts.

prathameshp107/video-editing

Reframe a selected source range for wide YouTube, vertical Reels or Shorts, square, or portrait-feed delivery with fit or intentional crop.

prathameshp107/video-editing

Design and add short motion graphics inside an existing video, such as titles, maps, labels, lower thirds, photo moves, and transitions, using Remotion or HyperFrames where appropriate.

prathameshp107/video-editing

Prepare source-backed cover art, title or caption, credits, and optional long-form chapters for YouTube videos, Shorts, Instagram Reels, or other delivery formats.

prathameshp107/video-editing

Review a finished video export for story coverage, readable text, framing, motion graphics, audio, and technical integrity before delivery.

prathameshp107/video-editing

Build a coherent travel, food, visit, or topic-driven video from inventoried footage, choosing story beats, clip order, pacing, still-photo placement, and an edit decision list.

prathameshp107/video-editing

Turn explicit creator feedback on pacing, framing, titles, transitions, and audio into a reusable style note without overgeneralizing one-off corrections.

prathameshp107/video-editing

Plan and quality-check footage-based travel, food, or visit vlogs in this repository, including source inventory, story structure, required-shot coverage, portrait framing, photos, titles, audio, and export review.

prathameshp107/video-editing

Generate narration locally in a consented speaker's voice using the bundled Chatterbox TTS model. Works with any language supported by the installed checkpoint. Audio finishing and soundtrack mixing are separate steps.

関連スキル