Communitygithub.com

ukvalley/video-editing-skills

用于编辑Hinglish口播短视频和产品广告短视频(1080x1920,适配Instagram/Shorts)的端到端管线,包括去除重拍、收紧停顿、罗马字卡拉OK字幕、词同步动态图形、分层音效、背景音乐、专业调色及-14 LUFS导出。

video-editing-skills 是什么?

该技能定义了一套完整的视频编辑工作流,专门用于处理Hinglish(印地语与英语混合)口播素材和产品广告素材,输出格式为1080x1920的竖屏短视频,适用于Instagram Reels、YouTube Shorts等平台。它涵盖了从原始素材探针、语音检测与转录、最佳片段选取、字幕罗马化、自动剪辑构建(收紧停顿、去除填充词、镜头缩放切换),到基础渲染、字幕与图形合成(支持卡拉OK式高亮罗马字字幕、词同步动态图形、分层音效与背景音乐避让)、专业调色(-14 LUFS响度标准化)以及最终导出的全过程。技能还内置了缩略图自动生成功能。该工作流与`video-editor-pro`技能协同工作,需要特定的工作室目录结构(`$VIDEO_STUDIO`,默认`~/video-editing`),并假设用户已了解其参考文件夹结构和经验教训。它适用于用户提供口播/演讲素材,并下达“编辑这个视频”、“从收件箱新建项目”、“制作产品广告”或要求重新渲染/调整现有口播视频版本等指令的场景。

兼容平台✓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 口播 / 产品广告短视频

与 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 中的简要说明(平台、信息、行动号召、外观、音乐)。

管线

  1. 素材探针 + 联系表(使用 video-editor-pro/scripts/probe.py、contact_sheet.sh)。设置 export PATH=/opt/homebrew/opt/ffmpeg-full/bin:$PATH。
  2. 查找语音:静音检测 → 区域;对每个区域运行 whisper-cli -m ~/.cache/whisper-cpp/ggml-medium.bin -l hi。
  3. 拍摄表格:在 notes.md 中创建(台词 → 拍摄 → 保留)。保留最后一段干净的拍摄;丢弃错误开始、口误、杂乱的“accha”。→ clips.json。
  4. 短语:phrases.json,包含源入点/出点以及手动罗马化的字幕文本(英文单词保留英文拼写)。仅在此处修正字幕。
  5. build_segments.py:将停顿收紧至约0.1秒,在呼吸中点剪辑,去除填充词;根据 brand.json 交替缩放画面([1.0,1.04] ↔ [1.13,1.16]);仅在进行章节切换时使用转场(抽拉、缩放冲击、故障、在行动号召处闪烁)。写入 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式数据图形,章节切换处的转场,响亮的分层音效,清晰的全分辨率图形(绝不使用模糊的背景板),真实logo的结束卡片(光泽 + 行动号召点击),卡拉OK罗马字母幕。产品广告:在浅色画布上使用客户品牌颜色(例如紫色→蓝色渐变 #683CEC→#185CE8),品牌套件位于 assets/brand/<client>/,行动号召与广告按钮匹配(“了解更多”点击)。将新的可复用图形添加到 toolkit/,而不是项目文件夹。

缩略图(始终生成)

每次导出(以及每次预览时)都生成 exports/vN_cover_reels_1080x1920.jpg(所有文本位于中心1080x1440区域 = Instagram 3:4网格裁剪)和 exports/vN_thumb_youtube_1280x720.jpg,使用最清晰的全分辨率照片/帧,按视频风格调色,并配有粗体 Montserrat Black 标题 + 品牌黄色高亮 + 真实logo。使用 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").

相关技能