SkillsGrove
SkillsGrove/Producción de vídeo/wlzh/skills/video-voice-changer

video-voice-changer

Instalación

$npx skills add https://github.com/wlzh/skills --skill video-voice-changer
$git clone --depth 1 https://github.com/wlzh/skills.git /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/video-voice-changer ~/.claude/skills/video-voice-changer
Instala por favor esta Agent Skill por mí: https://github.com/wlzh/skills/tree/0033febb02fce2b1b6feb258ccf2bd0e1bd5d316/video-voice-changer. Lee primero su SKILL.md y sus scripts, y solo instálala en mi carpeta de skills cuando hayas confirmado que es segura.

Resumen

Descripción original · MIT视频变声处理工具 - 从视频提取音频,调用 voice-changer skill 变声后合并回视频。用户要求视频变声、给视频换声音、视频音色转换或处理视频音频时使用。
El SKILL.md siguiente se reproduce de wlzh/skills (commit 0033feb) bajo la licencia MIT. El texto no se ha modificado; solo se omiten los metadatos de cabecera del archivo, las imágenes se muestran como enlaces y los archivos muy largos se truncan. Copyright 2024 wlzh. Licencia: LICENSE. Solo se muestra el archivo de instrucciones; consulta el repositorio original para ver los scripts.

video-voice-changer Skill

版本: v1.1.1 默认行为: 创建 输入文件名_vc.后缀,只有传入 --overwrite 才覆盖原视频。

概述

video-voice-changer 是一个视频变声处理 skill,它对视频文件中的音频进行变声处理,然后将处理后的音频与原视频重新合并。

功能特性

  • 视频音频提取与变声
  • 复用 voice-changer skill 的配置
  • 支持多种声音预设
  • 保持原视频质量(仅替换音频)
  • 临时文件自动清理
  • 默认不覆盖原文件(创建新文件)

使用方法

# 基本用法(创建新文件: input_vc.mp4)
python3 ~/.claude/skills/video-voice-changer/scripts/video_voice_change.py input.mp4

# 指定声音类型
python3 ~/.claude/skills/video-voice-changer/scripts/video_voice_change.py input.mp4 -v male_deep

# 指定输出文件
python3 ~/.claude/skills/video-voice-changer/scripts/video_voice_change.py input.mp4 -o output.mp4

# 覆盖原视频文件(需加 --overwrite 参数)
python3 ~/.claude/skills/video-voice-changer/scripts/video_voice_change.py input.mp4 --overwrite

# 保留提取的原始音频
python3 ~/.claude/skills/video-voice-changer/scripts/video_voice_change.py input.mp4 --keep-audio

# 查看帮助
python3 ~/.claude/skills/video-voice-changer/scripts/video_voice_change.py --help

声音预设

直接使用 voice-changer skill 的配置文件中的预设:

  • female_1 - 女声(轻柔)
  • female_2 - 女声(明亮)
  • female_3 - 女声(甜美)
  • male_deep - 男声(低沉)
  • male_normal - 男声(正常)
  • child - 童声
  • robot - 机器人

依赖

  • FFmpeg / FFprobe
  • Python 3.8+
  • voice-changer skill
Ver el texto completo de la licencia (MIT)
MIT License

Copyright (c) 2024 wlzh

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.