subtitle-studio
Run the following command in DeepSeek Harness:
dsh plugin install JohnXu22786/subtitle-studio
Paste the following prompt into your AI chat to install this plugin:
Install the subtitle-studio plugin in DeepSeek Harness by running the install command; the full source repository is available at https://github.com/JohnXu22786/subtitle-studio
About this plugin
Translating subtitles into multiple languages sounds straightforward until you actually do it: parse SRT or VTT, call an LLM sentence by sentence, merge the bilingual output, validate alignment, and repeat across an entire directory — all while fighting encoding quirks, malformed timecodes, empty translations, and timeline overlaps. subtitle-studio packages this whole pipeline into a single zero-runtime-dependency workflow. Its subtitle parsers are built from a ground-up tolerant state machine that copes with missing sequence numbers, CRLF line endings, UTF-8 / UTF-16 BOMs, and malformed timecode lines, always producing clean UTF-8 output with millisecond-accurate timing.
The translation layer speaks any OpenAI-compatible HTTP endpoint (DeepSeek by default) or the native dsh ctx.llm seam, batching cues by a character budget, aligning results through JSON payloads keyed by cue index, retrying with bounded attempts, and injecting a JSON glossary as mandatory terminology. Bilingual merging offers stacked or interleaved layouts with the timeline copied verbatim from the source so it cannot drift. Alignment validation checks count mismatches, missing or extra cues, empty translations, overlong cues, and timeline overlaps. Directory batch mode adds a bounded concurrency pool, an atomic checkpoint for pause-and-resume, and per-model token cost estimation, with the output tree mirroring the input so same-named files never collide.
Whether you are a creator batch-translating course or film subtitles, or a developer integrating subtitle translation into a dsh workflow, subtitle-studio exposes the same engine through five dsh tools (sub_parse, sub_translate, sub_merge, sub_export, sub_glossary) and a full-featured CLI — turning subtitle translation from a custom script exercise into a configuration task.
Use Cases
- Batch-translate course or film subtitles into multiple target languages
- Automate subtitle parsing, translation, and bilingual merging inside a dsh workflow
- Process legacy SRT/VTT files with encoding quirks or malformed timecodes
Best For
- Creators batch-translating subtitles for courses or films
- Developers integrating subtitle translation into dsh workflows
- Engineers dealing with legacy subtitle files that have encoding or format issues
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.