Communitygithub.com

prathameshp107/video-editing

將旁白或對話與已編索引的素材對齊,並使用本地免費工具稽核影片時間軸中離題的鏡頭。適用於素材搜尋與配音與畫面對齊;切勿將檔名相似性視為視覺證據。

video-editing 是什麼?

此技能提供一套完整的影片語義搜尋與時間軸稽核工作流程,專為旁白與畫面對齊及確保最終時間軸忠於敘事而設計。開發者可透過本技能依序執行多個 Python 腳本,先從本機影片取樣並建立包含視覺描述的索引檔,再將腳本或逐字稿分割為時間節拍並對應至視覺概念,最後搜尋索引檔找出最符合的鏡頭。本技能支援本機工具鏈,無需依賴雲端服務或付費 API。工作流程的核心在於以人眼驗證為最終依據,腳本僅提供候選搜尋,且強烈建議使用者針對專案自訂概念辭典以提升精確度。此技能特別適合處理如美食旅遊 vlog 等主題明確的影片,但透過修改腳本中的 `CONCEPTS` 字典可通用於其他類型。

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

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

影片語義搜尋

當剪輯需要為某句口白找到最能說明的鏡頭,或需檢查最終時間軸是否遵循旁白時使用此技能。

  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 進行快速候選搜尋。它永遠無法確認對齊,因為像「食物」這樣的廣義類別可能掩蓋精確的錯配。
  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 字典)是針對原始創作者專案中的印度美食旅遊 vlog 調整的。若影片類型或語言不同,請編輯該字典以反映您的素材中出現的主題、動作與地點。稽核邏輯與證據系統可適用於任何詞彙。

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.

相關技能