Youtube Chinese Localizer logo

Youtube Chinese Localizer

Community
jiayuqi7813
youtube-chinese-localizer

Localize YouTube or other foreign-language videos into Chinese. Use when Codex needs to turn a YouTube URL or local video into Simplified Chinese subtitles, Mandarin dubbing, and a final exported video; also use for requests about 自动下载 YouTube 视频、生成中文字幕、中文配音、混音、烧录字幕、导出成片.

Overview

Publisherjiayuqi7813
Repositoryvideo-Zebra-china
Skill nameyoutube-chinese-localizer
Stars
97
Forks
33
Bundled files
5
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 5 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by jiayuqi7813 on GitHub. Read the source before you install it.

Installation

Install the Youtube Chinese Localizer AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/jiayuqi7813/video-Zebra-china/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jiayuqi7813/video-Zebra-china.git \
  .claude/skills/youtube-chinese-localizer
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Youtube Chinese Localizer in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Youtube Chinese Localizer on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Youtube Chinese Localizer is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

YouTube Chinese Localizer

Overview

Turn a YouTube URL or local video into a Chinese-localized deliverable:

  • download or ingest the source video
  • transcribe speech into timestamped segments
  • translate lines into natural Simplified Chinese
  • synthesize Mandarin dubbing
  • mix the dub with optional low-volume source audio
  • export a final MP4 with burned-in subtitles or a sidecar subtitle track

Prefer the bundled script for repeatable work instead of reassembling the pipeline by hand.

Workflow

  1. Confirm the input.

Accept either:

  • a YouTube URL
  • a local video file
  • a pre-existing transcript JSON when transcription has already been done elsewhere
  1. Check runtime prerequisites.

Read references/runtime-requirements.md before first use or whenever the environment is missing tools. At minimum, the workflow expects ffmpeg. For YouTube URLs it also expects yt-dlp. For local speech-to-text it prefers faster-whisper. Translation uses Volcengine TranslateText; dubbing uses Volcengine TTS.

  1. Run the pipeline script.

Use the default command first:

bash
scripts/run_localize_video.sh \
  --input "https://www.youtube.com/watch?v=..." \
  --workdir ./runs/demo \
  --cookies-from-browser edge

Useful variants:

bash
scripts/run_localize_video.sh \
  --input /path/to/video.mp4 \
  --workdir ./runs/local-video \
  --voice zh_female_qingxin \
  --background-volume 0.12
bash
scripts/run_localize_video.sh \
  --input /path/to/video.mp4 \
  --workdir ./runs/from-transcript \
  --transcript-json /path/to/segments.json \
  --skip-transcription
bash
scripts/run_localize_video.sh \
  --input "https://www.youtube.com/watch?v=..." \
  --workdir ./runs/subtitles-only \
  --skip-tts
  1. Verify the outputs.

Expect these files inside the work directory:

  • source.*: downloaded or copied source video
  • audio.wav: extracted mono wav for speech processing
  • transcript.json: timestamped source segments
  • translated_segments.json: translated segments with Chinese text
  • subtitles.zh.srt: Simplified Chinese subtitles
  • dub_track.wav: synthesized Chinese dub track when TTS is enabled
  • final_audio.wav: mixed final audio
  • final.mp4: exported video deliverable
  1. Review quality before handing off.

Check:

  • subtitles stay aligned with scene changes
  • Chinese phrasing is concise enough for speech
  • dub volume is dominant and intelligible
  • the original soundtrack, if retained, does not overpower speech
  • no segment overflows badly past its subtitle time slot

Decision Rules

Prefer this order of execution:

  1. Use a provided transcript JSON if it already contains timestamps.
  2. Otherwise use local faster-whisper if available.
  3. Only download with yt-dlp when the input is an online URL.
  4. Use Volcengine translation credentials for subtitle translation and Volcengine TTS credentials for dubbing.
  5. If TTS is unavailable, still produce the Chinese SRT and stop there instead of guessing.

Keep the translated Chinese concise. It is better to slightly compress the spoken line than to preserve every filler word and overrun the dub timing.

Failure Handling

  • If yt-dlp is missing, install it or ask for a local video file.
  • If YouTube blocks anonymous download, rerun with --cookies-from-browser edge or another installed browser.
  • If faster-whisper is missing, install it or require --transcript-json.
  • If Volcengine translation credentials are missing and the transcript lacks translated_text, stop and request either VOLCENGINE_ACCESS_KEY plus VOLCENGINE_SECRET_KEY or a pre-translated transcript.
  • If Volcengine TTS credentials are missing, keep generating Chinese subtitles and stop before dubbing.
  • If subtitle burn-in fails because of an ffmpeg path issue, keep subtitles.zh.srt and export without burn-in rather than losing the localized result.

Resources

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Youtube Chinese Localizer AI skill do?

Localize YouTube or other foreign-language videos into Chinese. Use when Codex needs to turn a YouTube URL or local video into Simplified Chinese subtitles, Mandarin dubbing, and a final exported video; also use for requests about 自动下载 YouTube 视频、生成中文字幕、中文配音、混音、烧录字幕、导出成片.

Why use Youtube Chinese Localizer on TypingMind?

Because you install it once and use it with any model. Youtube Chinese Localizer is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Youtube Chinese Localizer in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/jiayuqi7813/video-Zebra-china/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Youtube Chinese Localizer?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Youtube Chinese Localizer?

As many as you like. As long as a model supports skills, you can use Youtube Chinese Localizer with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Youtube Chinese Localizer AI skill free?

It is published on GitHub by jiayuqi7813. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇