Communitygithub.com

prathameshp107/video-editing

使用捆绑的 Chatterbox TTS 模型在本地方言中生成旁白,支持已同意说话者的声音。适用于安装的检查点所支持的任何语言。音频后期处理和配乐混合是单独的步骤。

video-editing 是什么?

此技能能够根据用户授权的声音,在本地使用 Chatterbox TTS 模型生成语音旁白。用户将已同意的参考录音放置在 `private/voice/` 目录下,模型和运行时环境位于 `private/models/` 和 `private/voice_env/` 中,所有私有文件通过 Git 排除。该技能要求编写简短、可朗读的句子,检查名称、地名和技术术语的发音,然后调用 `scripts/voiceover_generate.py` 脚本生成 WAV 文件。支持使用 `--dry-run` 预先验证路径和模型。对于不同的授权说话者,需要预先通过 `scripts/prepare_voice_reference.py` 准备清晰无噪音的 3-60 秒语音参考片段。生成的每个片段都应仔细审查,避免漏词、不自然表达和错误发音。长脚本建议按场景分割,便于与视频素材对齐。该技能仅提供语音生成,不负责视频时间线对齐(需使用 `video-semantic-search`)或音频混音(需使用 `audio-finisher`)。支持多种语言,具体取决于放置在 `private/models/` 中的模型检查点,但必须确认模型与目标语言兼容。该技能完全本地运行,仅依赖自由软件,适合开源贡献者使用。

兼容平台~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.

相关技能