Skip to content

Pipeline Workflow

omerninyo edited this page Sep 15, 2026 · 1 revision

End-to-End Subtitle Translation & Repair Workflow

Language / שפה: English | עברית

This document describes the universal, production-tested workflow for translating or repairing subtitles for any movie or TV series.

graph TD
    A["Raw Video File / External SRT"] --> B["rightsub extract / sync"]
    B --> C["rightsub prompt-gen"]
    C --> D["Parallel AI Translation (SubSwarm - Gemini Flash-Lite)"]
    D --> E["rightsub merge (SubRefine: BiDi + RLM + 1:1 Timing)"]
    E --> F["rightsub qa (Automated Discrepancy & Verification Check)"]
    F --> G["Deployment to Media Server (Plex / Infuse)"]
Loading

Step 1: Subtitle Extraction & Preparation

If embedded in a video:

./rightsub extract "Movie.mkv" -o "Movie.en.srt"

Step 2: Prompt Generation

Generate wave files and prompts tailored to the movie/show:

./rightsub prompt-gen "Movie.en.srt" --title "Inception" --genre "Sci-Fi Thriller" --context "Dream architecture, heist, Cobb and Mal"

Step 3: Parallel AI Translation (SubSwarm)

Invoke Gemini 3.5 Flash-Lite agents concurrently (up to 4 agents per wave) using wave_01.json, wave_02.json.

Step 4: Merging with RLM & Sanitization (SubRefine)

./rightsub merge "Movie.en.srt" "translated_batches_dir" -o "Movie.he.srt"

Step 5: Automated QA Audit

./rightsub qa "Movie.en.srt" "Movie.he.srt"

🌐 Navigation / ניווט

🇺🇸 English Documentation


🇮🇱 תיעוד בעברית


📦 Quick Links

Clone this wiki locally