Communitygithub.com

ukvalley/video-editing-skills

端對端的剪輯流程,用於製作 Hinglish 談話頭影片與產品廣告 Reels(1080x1920,Instagram/Shorts),涵蓋刪除 NG 片段、收緊停頓、羅馬拼音卡拉 OK 字幕、字詞同步動態圖形、分層音效、背景音樂、專業調色及 -14 LUFS 輸出。

video-editing-skills 是什麼?

這項技能提供一個完整的端對端影片製作工作流程,專為創作 Hinglish(混雜印地語與英語)談話頭影片及產品廣告 Reels 而設計。其目標輸出格式為 1080x1920,適用於 Instagram Reels 與 YouTube Shorts。技能會自動處理 NG 片段移除、收緊空白停頓、基於語音辨識的羅馬拼音卡拉 OK 字幕、與口語單字同步的動態圖形、分層音效設計與背景音樂配置,並進行專業調色與規範化的音訊輸出(-14 LUFS)。它支援在 `~/video-editing` 工作區內建立新專案,使用 Whisper 進行語音辨識,並透過 `video-editor-pro` 與 `thumbnail-designer` 等相關技能來實現渲染與縮圖製作。使用者只需提供談話頭或產品廣告素材,並下達「剪輯這支 Reel」或「製作一個產品廣告」等指令,此技能便能自動執行完整流程。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ukvalley/video-editing-skills/tree/HEAD/skills/hinglish-talking-head-reel

在你喜歡的 AI 中提問

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

說明文件

Hinglish 談話頭 / 產品廣告 Reel

與 video-editor-pro 搭配使用(請先閱讀其 references/studio-folder-structure.md 和 lessons-and-feedback.md)。工作目錄:工作室($VIDEO_STUDIO,預設為 ~/video-editing)。將您自己最滿意的專案視為參考實作,並在工作室的 CLAUDE.md 中記錄其路徑。

每個專案的資料夾結構

projects/YYYY-MM-DD_<slug>/
  notes.md   raw/   edit/   work/   exports/
  edit/: clips.json  phrases.json  build_segments.py  segments.json  edit.json  compose.py  captions.ass  gfx_plan.json

建立方式:執行 ./new-project.sh <name>(會將 inbox/* 搬移到 raw/)。填寫 notes.md 簡報(平台、訊息、CTA、風格、音樂)。

流程

  1. 探查 + 連絡表:對原始素材執行 video-editor-pro/scripts/probe.py 和 contact_sheet.sh。設定 export PATH=/opt/homebrew/opt/ffmpeg-full/bin:$PATH。
  2. 找出語音:使用 silencedetect 找出靜音區域;對每個區域執行 whisper-cli -m ~/.cache/whisper-cpp/ggml-medium.bin -l hi。
  3. 拍攝記錄表:在 notes.md 中記錄(台詞 → 拍攝次數 → 保留的)。保留最後一次乾淨的拍攝;捨棄口誤、結巴、多餘的「阿恰」。→ 產生 clips.json。
  4. 片語:建立 phrases.json,包含來源的 in/out 時間點以及手動羅馬拼音化的字幕文字(英文單詞保留英文拼寫)。僅在此處修正字幕。
  5. build_segments.py:將停頓收緊至約 0.1 秒,在吸氣中點進行剪輯,刪除填充詞;根據 brand.json 交替切換畫面縮放([1.0,1.04] ↔ [1.13,1.16]);僅在章節變更時套用轉場(甩鏡、縮放衝擊、故障特效、CTA 閃爍)。輸出 segments.json + edit.json。
  6. 基本渲染:使用 assets/luts/looks.json 中的風格(一般辦公室使用 warm_clean + 暗角 0.25;高級影片使用 premium_cinematic 調色 + 最後處理;先中和色偏)。執行 python3 ~/.claude/skills/video-editor-pro/scripts/edl_render.py edit/edit.json。
  7. compose.py:圖形來自 toolkit/gfx*.py,錨定在口語單字上(透過 toolkit/timeline.py),使用 drawtext 產生的標題(brand.json)、卡拉 OK ASS 字幕(Montserrat Black 100,每行 3 個單字,Y=0.7,大寫,黃色高亮),音效排程(+6 dB,轉場 +9 dB,分層),背景音樂在語音之下降低音量。標誌:--preview(快速預覽)、--gfx(重新渲染圖形)、--stills(圖形靜態圖)。
  8. 預覽 → 批准 → 最終版:先執行 compose.py --preview + 標準化 → 輸出為 exports/vN_preview_<what>.mp4,並等待使用者批准;然後執行完整渲染:normalize_audio.sh work/mix.mov work/norm.mov --target -11 --tp -1.5 → ffmpeg -c:v copy -c:a aac -b:a 320k -movflags +faststart exports/vN_<what>.mp4 → 必須通過 qc.py --platform reels。
  9. 填充詞/結巴檢查:重新轉錄經靜音門控處理的片段,檢查畫面,然後將結果附加到 notes.md 的編輯日誌中。

預設風格(使用者已批准)

若未特別要求,則採用完整處理方案:高級調色、與單字同步的 B-roll 風數據圖形、章節變更處的轉場、響亮的分層音效、清晰的全解析度圖形(絕不使用模糊的底板)、帶光澤與 CTA 點擊的真實標誌結尾卡、羅馬拼音卡拉 OK 字幕。產品廣告:使用客戶品牌顏色搭配淺色畫布(例如紫→藍漸層 #683CEC→#185CE8),品牌素材包位於 assets/brand/<client>/,CTA 與廣告按鈕匹配(例如「點擊了解更多」)。將新的可重用圖形加入 toolkit/,而非專案資料夾。

縮圖(務必執行)

每次匯出時(以及每次預覽時)都應一併產生 exports/vN_cover_reels_1080x1920.jpg(所有文字需位於中央 1080x1440 的 Instagram 3:4 網格裁切範圍內)和 exports/vN_thumb_youtube_1280x720.jpg。使用最清晰的全解析度照片/影格,調色風格與影片一致,搭配粗體 Montserrat Black 標題、品牌黃色高亮以及真實標誌。請使用 thumbnail-designer 技能。

Individual skills in this repo

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

ukvalley/video-editing-skills

Produce many performance-ad creatives from one shoot or edit for Meta (Facebook/Instagram) and YouTube ads — modular hooks × bodies × CTAs matrix, 9:16 / 4:5 / 1:1 / 16:9 versions with platform safe zones, UGC/talking-head and product-demo styles, burned captions for sound-off, offer/price supers, consistent naming for testing, and a creative test plan. Use when the user says "ad variants", "make 5/10 ad creatives", "hook variations", "test different hooks", "Meta ad creatives from this video", "resize this ad for all placements", or works on paid campaigns for clients.

ukvalley/video-editing-skills

Build music-only cinematic reels (no speech) from phone clips and photos, cut on the song's beat grid with true slow-mo, bloom/vignette/grain grade, flash+boom on the drop, shutter SFX on photos and bold title cards — e.g. car delivery, wedding, travel, celebration, unboxing reels in ~/video-editing. Use when the user supplies a song plus clips/photos and wants a "cinematic reel", "beat-synced edit", or "delivery/celebration video".

ukvalley/video-editing-skills

Edit raw camera footage into a cinematic, beat-synced vertical reel (Instagram Reels / YouTube Shorts) using FFmpeg — e.g. car delivery, event, product or travel reels. Use when the user asks for a cinematic reel, car delivery reel, beat-sync edit or B-roll montage from their clips.

ukvalley/video-editing-skills

Turn slides, a PDF deck, course notes or a webinar outline into a long-form narrated training/course video (10–60 min, 16:9) — script per slide, ElevenLabs narration with word timings (Prem / Indian-English voices), each slide built up part-by-part on spoken cues with an easing camera, push transitions, progress bar and chapter markers, ducked music bed, light SFX, YouTube chapters and lesson splits. Use when the user says "make a course video", "training video from this PDF/deck", "narrate these slides", "lesson/module video", or gives a deck and wants a long educational video ("normal editing, not heavy motion graphics").

相關技能