Communitygithub.com

prathameshp107/video-editing

使用內建 Chatterbox TTS 模型,在本機以授權發言者的語音生成旁白。支援安裝的檢查點所涵蓋的任何語言。音訊後製與配樂混音為獨立步驟。

video-editing 是什麼?

此技能讓 AI 語音合成僅在獲得發言者明確同意後,於本機環境中安全執行。其核心是 Chatterbox TTS 模型,支援多語言(取決於安裝的檢查點),並依賴於 `private/voice/` 目錄內由 `prepare_voice_reference.py` 處理的高品質語音參考錄音,以確保語音特徵準確複製。所有處理(包括模型、虛擬環境與腳本)均位於 Git 忽略的 `private/` 目錄下,避免敏感資料意外提交。技能提供 `scripts/voiceover_generate.py` 腳本,支援產生新 WAV 檔案、乾運行驗證路徑、以及為不同發言者指定參考檔案。產生的旁白不會直接嵌入影片時間軸,需搭配 `video-semantic-search` 進行畫面對齊,並使用 `audio-finisher` 進行最終混音。此技能特別適合注重資料主權與發言者授權的開發者,是建構隱私、安全語音內容工作流程的關鍵元件。

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

在你喜歡的 AI 中提問

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

說明文件

旁白產生器

當創作者希望為影片加入已授權或提供語音的發言者旁白時,請使用此技能。經授權的語音參考錄音應存放於 private/voice/ 目錄下;保留原始檔案於其旁。模型與本機執行環境位於 private/models/ 與 private/voice_env/ 目錄下。所有私人檔案皆以 Git 忽略,絕不可將參考檔案或模型檔案發布、提交或隨專案匯出分享。

請使用簡短、易於朗讀的句子撰寫旁白文稿。在生成前,務必確認姓名、地名與專業術語的發音。生成新的 WAV 檔案時,請不要覆寫先前的錄音:

# Windows (PowerShell)
.\private\voice_env\Scripts\python.exe scripts/voiceover_generate.py --text-file projects/my-video/voiceover.txt --out projects/my-video/work/voiceover_take_01.wav

# macOS / Linux
python3 scripts/voiceover_generate.py --text-file projects/my-video/voiceover.txt --out projects/my-video/work/voiceover_take_01.wav

在載入模型之前,請先使用 --dry-run 參數驗證參考檔案路徑、模型目錄、文字分割方式與輸出路徑。若要切換為其他經授權的發言者,請先使用 scripts/prepare_voice_reference.py 腳本準備一段 3–60 秒、僅含語音且無背景噪音的乾淨錄音,再透過 --reference 參數傳遞。錄音中若有雜訊或音樂,可能導致輸出音訊帶有偽影。請聆聽每一次生成的錄音,檢查是否有漏字、語調不自然或誤讀人名等問題。僅需重新生成表現不佳的句子,保留已選擇的錄音於專案資料夾中。建議將長篇文稿拆分為場景單元的檔案,以便後續根據影片畫面調整時間。

內建的 Chatterbox 檢查點語言取決於放置於 private/models/ 目錄下的模型。請確認該模型支援目標語言,並在生成完整文稿前先進行簡短測試。例如,印地語檢查點無法正確處理馬拉地語或英語;請安裝相容的多語言檢查點並驗證其效果。scripts/voiceover_generate.py 不會將旁白自動放置到影片時間軸上。請使用 video-semantic-search 進行畫面對齊,並在語音、音樂與音效混音完成後,使用 audio-finisher 進行最終處理。所有處理流程均在本機進行,並使用自由開源軟體。

給開源貢獻者:private/ 資料夾已刻意設為 Git 忽略。若要在新的工作空間使用此技能,請取得經授權的語音參考錄音、將相容的 Chatterbox 模型檢查點放置於 private/models/ 目錄下、在 private/voice_env/ 中建立具備模型依賴項的虛擬環境,然後執行 --dry-run 以確認路徑設定無誤。

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

Match narration or dialogue to indexed footage and audit a video timeline for off-topic shots using local, free tools. Use for footage searches and voiceover-to-picture alignment; do not treat filename similarity as visual proof.

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.

相關技能