Communitygithub.com

DomCamillo2/ビデオ編集

ポートレート写真や動画をランドスケープ編集に収めたり、混合アスペクト比を同じメディアのぼかしたコピーでリフレームします。黒い枠や顔・身体の切り抜きを防ぐために使用します。プライバシーの匿名化やぼやけた被写体のシャープ化には使用しません。

ビデオ編集 とは?

このスキルは、異なるアスペクト比のポートレート写真や動画をランドスケープ(横長)のキャンバスに編集する際、従来のような黒い枠(レターボックス)や被写体の不自然な切り抜きを防ぐために設計されています。背景に同じソースメディアのぼかした複製を配置し、前景の被写体を元のアスペクト比で表示することで、視覚的に自然な仕上がりを実現します。対応プラットフォームは明示されていませんが、フレームベースのレンダラーやRemotionなどの合成ツールでの利用を想定しており、アニメーションやモーションを安全に適用するための具体的な手順が含まれています。このスキルは、単なる自動枠検出ではなく、人物や重要なオブジェクトの安全領域を考慮した手動調整を重視しており、各ショットのフレーミング値、保護領域、開始/中間/終了の静止画を確認しながら編集を進めることが推奨されています。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/DomCamillo2/VideoEditting/tree/HEAD/.agents/skills/video-portrait-framing

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

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

ドキュメント

被写体を維持し、未使用部分をソフトに処理する

まずターゲットのアスペクト比と保護するコンテンツを確認します。ソースの回転を補正してから寸法を計算します。各アセットは個別に確認してください。1つのグローバルクロップではすべてのグループショットを保護できません。

  1. 同じソースの複製を背景として配置し、coverでキャンバスを埋めます。ブラーのサンプリングやカメラモーションで透明/暗いエッジが露出しないよう、十分に拡大します。強くぼかし、必要に応じて軽く暗く/彩度を下げ、シャープな前景が支配的になるようにします。明るいエッジと暗いエッジの両方を確認します。
  2. 前景は元のアスペクト比を維持して配置します。containで開始します。キャンバスW,H、向きを考慮したソースw,hの場合、スケールはmin(W/w, H/h)です。背景のcoverスケールはmax(W/w, H/h)です。引き伸ばして埋めることは絶対にしないでください。
  3. 保護領域をマークします。該当する顔、頭部、ジェスチャー、全身の動きが重要な場合は足、および文脈上のオブジェクトです。これらの領域がショット全体を通してキャンバス内に収まる場合にのみ、前景サイズを大きくします。被写体認識による配置は視覚確認後に行います。人物を自動的に中央から押し出さないでください。
  4. ポートレートグループ全体を大きくすると人物が欠けてしまう場合は、目に見えるぼかしたサイド領域を受け入れます。「小さな枠」のリクエストを満たすために頭部をこっそり切り抜かないでください。2枚の写真を意図的に並べるような代替案には編集上の理由と一貫したタイミングが必要です。
  5. オプションの軽いモーション:十分な安全マージンがある場合のみ、選択した基本フレーミングに対して約103〜107%の相対スケール。タイトなポートレートは静止したままでも構いません。最大スケールとすべてのパンの極値を確認してください。すべての写真にモーションが必要なわけではありません。
  6. 動画の場合、前景と背景は同一のソース時間、トリム、速度マッピング、向きに保ちます。背景音声はミュートにし、意図したオーディオトラックのみを使用します。ぼかした複製が被写体から目に見えて遅れないようにします。
  7. キャプション、場所名、エフェクトは保護領域や宛先のUIオーバーレイから遠ざけます。実際の表示サイズで確認します。意図的にぼかしたパディングを使って、使用できない前景フォーカスを隠してはいけません。

フレームベースのレンダラーでは、現在のフレームからモーションを導き出します。Remotionではレンダー同期を備えたメディアコンポーネントを使用します。CSSのぼかしは静的にできますが、ウォールクロックCSSアニメーションは信頼性のある動画クロックではありません。

ショットごとのフレーミング値、保護領域/メモ、開始/中間/終了の静止画、およびレビュー済みの動画範囲を提供します。最終エンコードをクリッピング、黒/透明エッジ、背景のちらつき、フレームの不一致、引き伸ばしについて検査します。自動ブラック検出だけでは人物が安全にフレーミングされていることを証明できません。

Individual skills in this repo

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

DomCamillo2/VideoEditting

Mix music, dialogue, authentic location sound and comedic sound effects for an edit. Use for ducking, song transitions, J/L cuts, intelligibility and clean endings; not as a substitute for beat detection or actual listening.

DomCamillo2/VideoEditting

Cut photos or video on audible musical beats, downbeats and phrase changes, or diagnose an edit that feels off beat. Use for music-led timing and transitions; do not equate waveform peaks or automatic markers with verified musical accents.

DomCamillo2/VideoEditting

Establish a film or reel brief, including tone, humor, travel type, route and relevant vehicle details. Use when these choices are missing or the user changes direction; skip for a small revision with an established brief.

DomCamillo2/VideoEditting

Reconstruct capture order, trip chapters and road/ferry map segments from photo/video metadata and visible evidence. Use when travel chronology or route labels matter; do not invent exact dates or transport links from filenames alone.

DomCamillo2/VideoEditting

Add playful video gags such as person cutouts, spins, loading effects, face-zoom transitions or tracked scooter flames. Use when humor is requested in the current brief; do not add unsolicited meme edits to a serious film.

DomCamillo2/VideoEditting

Prepare a reviewable preview, verify the final encoded video and hand off a versioned editing project. Use before export or when diagnosing black borders, crop errors, missing assets, drift, color or audio problems; do not claim creative QA from a successful build alone.

DomCamillo2/VideoEditting

Cull and rank photos or video excerpts, remove repetitive selections, and compare blurry versus sharp takes. Use for bursts, near-duplicates, contact sheets and best-moment selection; never delete source media or judge focus only from a blurred background.

DomCamillo2/VideoEditting

Onboard a new user to the VideoEditting toolkit by choosing all or selected editing skills, assessing useful MCP integrations and setting up approved tools before the film brief. Use for first-time adoption or setup changes, not every editing revision or repository maintenance task.

関連スキル