translate-srt

Extract and translate subtitles into bilingual SRT files from videos or YouTube URLs.

Updated Jan 26, 2026
One-click install
npx skills add https://github.com/ricoisme/vscode-agents --skill translate-srt-ricoisme
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: translate-srt
Source: https://github.com/ricoisme/vscode-agents/tree/main/skills/translate-srt
Command: npx skills add https://github.com/ricoisme/vscode-agents --skill translate-srt-ricoisme

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ffmpeg, yt-dlp, openai-whisper, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of extracting, transcribing, and translating subtitles from video files or YouTube URLs, generating bilingual SRT files.

Core Features & Use Cases

  • Subtitle Extraction & Translation: Extracts existing subtitles from video files (MKV, MP4) and translates them.
  • Audio Transcription & Translation: Uses Whisper to transcribe audio from videos without subtitles and then translates the transcription.
  • Bilingual SRT Generation: Creates two SRT files: one in the target language and one in the source language, named consistently with the video file.
  • YouTube Support: Can download and translate subtitles from YouTube videos.
  • Multi-language Support: Supports 19 languages for translation.

Quick Start

Use the translate-srt skill to translate the video file 'my_vacation.mp4' from English to Japanese.

Frequently Asked Questions about translate-srt

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I translate video subtitles into a bilingual SRT file?

You can generate bilingual SRT files by providing a local MKV or MP4 file or a YouTube URL. The Skill extracts or transcribes audio, translates the text, and outputs dual-language SRT files named consistently with the source video.

Can I transcribe and translate audio from a video without subtitles?

Yes, you can transcribe and translate audio from videos without subtitles using openai-whisper. The Skill transcribes the spoken audio, translates the text, and generates the corresponding bilingual SRT files.

Do I need to install ffmpeg and yt-dlp to translate subtitles from YouTube URLs?

Yes, translating subtitles from YouTube URLs requires installing ffmpeg, yt-dlp, and openai-whisper, alongside Python 3.10+. These dependencies handle video downloading, audio extraction, and transcription.

What languages are supported when translating SRT files?

Translating SRT files supports 19 languages, including English, Japanese, Traditional Chinese, Korean, Russian, French, German, and Spanish. You can generate dual-language subtitles for diverse video content.

How do I extract and translate subtitles from a local MP4 file?

To extract and translate subtitles from a local MP4 file, the Skill processes the video directly, extracts the existing subtitle track, translates the text, and outputs a bilingual SRT file.

Are there limitations when using Whisper for audio transcription and translation?

The main limitation when using Whisper for audio transcription and translation is its dependency on local environment configurations. It requires Python 3.10+ and ffmpeg to process audio and generate SRT files.