跳到正文
Skillpedia
视频剪辑11k · #11831

video-localization

它能做什么

这个技能为视频协调字幕翻译和导出工作,例如带字幕的视频和配音版本。适合希望让视频以另一种语言呈现的创作者。

适用场景

  • ✓当你想把视频本地化为另一种语言并加上字幕时。
  • ✓当你需要双语字幕文件或带字幕的视频的时候。
  • ✓当你需要一份与原片保持同步的配音版本的时候。

技能链接

https://github.com/nexmoe/VidBee/blob/main/skills/video-localization/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/nexmoe/VidBee/blob/main/skills/video-localization/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请把这段视频本地化为日语并加上字幕,同时也做一份双语字幕文件。”

每周 5 个新技能,1 分钟读完。

工作原理

AI 会先执行翻译步骤,然后把字幕导出为 SRT 或 VTT 文件,或将其封装进 MKV,并可以添加同步的本地配音。原始视频和字幕都会保留。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Video localization

Use the attached video's existing download, transcript, and timestamps. Never ask the user to install Python or deploy another application. Preserve original media and subtitles.

  1. Establish the requested deliverables and target language when provided. Load the installed translate skill using the native read tool and its path from the available skill catalog. Follow it in this session, passing the requested target language, any explicit subtitle layout limits, whether dubbing is requested and the requirement for a complete saved subtitle track. It owns language defaults, existing-track reuse, terminology, translation, polishing, subtitle length/width constraints, split/alignment rechecks, timing and batch saves. Its required references/subtitle-constraints.txt supplies the adapted VideoLingo policy. If that skill or policy is unavailable, report the missing dependency rather than improvising a second translation workflow.
  2. Continue only after translate has verified the complete track and returned its actual sourceKey and any subtitleLayout exceptions. A saved track alone does not prove layout compliance. Report unresolved default-budget exceptions alongside usable outputs; an unresolved strict user limit remains an incomplete requirement. If requested, load export_subtitles with that key: srt/vtt exports files, mkv muxes selectable subtitles, and mp4 burns subtitles. bilingual=true includes the currently viewed original text without changing the user's source selection; target line breaks do not reflow that original track. Preserve its timing rather than copying upstream gap filling or short-cue extension.
  3. For dubbing, follow translate section 6 to prepare contextual numeric readings and any necessary spoken repairs. Load manage_tts_model and search the official sherpa-onnx catalog with action=status, query, language or family; follow nextOffset for more results. The available models extend beyond the original presets. Use refresh=true for newly published models. Inspect the saved default, language hints, download size, voice defaults/ranges and installed state. Honor the requested model; otherwise use the saved default when compatible. If another model is required for the target language, choose a compatible model for this call and explain the choice. Pass its exact modelId to create_dubbed_video for this task; use action=select only when the user requests a persistent default change. Models and required vocoders/phonemizers download automatically on first use. Use action=prepare to inspect actual native voice ranges and bundled reference WAVs before choosing a specific voice. Omit voice for the model's language default; IDs are model-specific. Pocket and ZipVoice require reference audio: reference.file is a bundled WAV name returned by preparation, relative to the model directory. ZipVoice also requires reference.text to exactly transcribe that WAV; use its returned transcript or verified publisher documentation, never invent one. Pocket can use a bundled default reference without text. Load create_dubbed_video with the verified sourceKey and its sparse speechOverrides; these bind one-based saved cue indices and exact originalText to spoken text without rewriting display subtitles. Choose background=separate to preserve accompaniment while removing original vocals, or remove when the user wants dubbed voice only. Do not describe source separation as voice cloning. Keep the default maximum speed unless the user requests another limit. If a cue cannot fit, pass the actual fitting error back to translate, shorten only that cue's spoken wording without losing meaning, and retry the same sourceKey while retaining all valid overrides. Limit the whole request to 3 dubbing attempts, then report remaining failures. Verify the tool's actual modelId, voice and applied override count. Never silently cut off words or claim success after an error.
  4. Deliver the requested outputs and their saved paths. Distinguish saved subtitles from a completed rendered video. A tool failure or partial translation is not a finished deliverable. Avoid a lengthy narration of intermediate steps.
常见问题

我的原始文件会被保留吗?

会。该技能要求保留原始媒体和字幕。

我需要安装 Python 吗?

不需要。该技能的设计无需安装 Python,也无需部署其他应用。

它能导出哪些字幕格式?

它可以导出 SRT 和 VTT 文件,也可以把字幕添加到 MKV 文件中。

详情

作者的原始描述

Coordinate the translate skill, bilingual subtitle exports, subtitled videos and synchronized local dubbing. Use for video localization, bilingual subtitles, or dubbed videos.

repo: nexmoe/VidBee

热度

GitHub 星标
11k
排名
#11831
许可证
MIT
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能