Back to Skills

video-translation

Translate and dub videos from one language to another, replacing the original audio with TTS while keeping the video intact.

509stars75forksUpdated 6/2/2026

Security Assessment

Low Risk(75/100)

Detected risks:

Secret Exposure([SKILL.md] API_KEY=)
Sensitive File Access([SKILL.md] .env)
Security Score75/100

About video-translation

The video-translation skill translates the spoken content of a video from one language into another and produces a dubbed version while preserving the original video stream. It is designed for situations where users want to consume video content in a preferred language without manually creating subtitles, generating voiceovers, or editing media files. The workflow downloads a video and its subtitles, translates the subtitle content into a target language, generates timeline-aligned speech using text-to-speech (TTS), and replaces the original audio track with the newly generated dubbed audio.

The skill provides an end-to-end workflow for video localization. It can download videos and subtitle files through the youtube-downloader skill, translate subtitle text while preserving SRT structure and timing, generate dubbed audio from the translated subtitles using the tts skill, and merge the generated audio back into the original video. The workflow supports specifying source and target languages, uses subtitle timestamps to maintain synchronization, and can leverage the original video audio track as a reference for voice cloning and emotion matching. It also supports an optional reference audio source for voice cloning scenarios.

This skill is intended for users who want to watch or share videos in a different language, including multilingual audiences, content consumers, educators, and creators who need localized video versions. Common use cases include translating foreign-language YouTube videos, creating dubbed versions of existing content, and making video material more accessible to speakers of different languages. The skill is most suitable when subtitle data is available and a complete translated video with replaced audio is required.

FAQ

What inputs are required to use this skill?

You must provide a video URL and the target language for translation. The source language can also be specified if needed.

How does the skill keep the dubbed audio synchronized with the video?

The workflow translates subtitle files while preserving their timestamps and uses those timestamps to generate timeline-aligned audio.

Can the generated voice resemble the original speaker?

Yes. The workflow can use the original video audio track as a reference for voice cloning and emotion matching during TTS generation.

Does the skill modify the video itself?

The video content remains intact. The workflow replaces the original audio track with generated dubbed audio and produces a new video file.

What dependencies are required?

The skill depends on the youtube-downloader skill for downloading videos and subtitles and the tts skill for generating dubbed audio.

All Files

3 files
scripts/srt_to_duck.py1.3 KB
View
scripts/replace_audio.sh2.1 KB
View
SKILL.md4.9 KB
View

Install video-translation

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

noizai/skills