Two languages. One subtitle.
Turn a private media library into a bilingual learning library — with two subtitle languages in the player you already use.
Download the beta · See the safe demo · Star SubDuet
Built by NLINEA · A project of The Unbound Company · Project case study
SubDuet is the bridge between a private media collection and language learning. It finds or
generates missing subtitles, translates when needed, aligns two tracks by time, and saves one
portable Movie.mul.srt beside the video.
No custom player. No browser extension. No SubDuet account. No analytics.
SubDuet is beta software. Start with the safe demo, two SRT files, or a copy of one video.
Previously PairCue. This is the same project with a new name. Existing settings and the
paircue command still work; see Upgrading from PairCue.
| What matters | SubDuet's approach |
|---|---|
| Any useful language pair | Source and learning languages are independent; support depends on your files or chosen provider |
| Your existing player | The result is an ordinary bilingual SRT for Plex, Jellyfin, Emby, Kodi, Infuse, VLC, and more |
| A first result without setup | The owned demo needs no media, server, account, key, FFmpeg, or network |
| Local and reversible | Existing subtitle files are aligned through temporary copies and stay unchanged by default |
If SubDuet would make your library more useful, star the project. It helps other language learners discover it while the beta is still small.
Open SubDuet and press Try safe demo. It creates this project-owned English–Spanish result in your Downloads folder without reading your library or making a network request:
1
00:00:01,000 --> 00:00:03,520
¿Por dónde empezamos?
Where should we begin?The complete synthetic demo belongs to SubDuet and can be regenerated locally.
No Python or terminal is required. Download, unzip, then open SubDuet.
| Your computer | Beta download |
|---|---|
| Apple silicon Mac | SubDuet for Apple silicon |
| Intel Mac | SubDuet for Intel Mac |
| Windows | SubDuet for Windows |
| Linux | SubDuet for Linux |
The beta apps are not yet signed. On macOS, right-click SubDuet and choose Open the first time.
Windows may show an unrecognized-publisher warning. Download only from this repository; every
release includes SHA256SUMS.txt.
SubDuet asks where you watch first, then reveals only what your chosen result needs.
| Start here | Bring | Get |
|---|---|---|
| Try safe demo | Nothing | A tiny owned bilingual SRT |
| Choose two SRTs | Two language tracks | A new aligned .mul.srt; both inputs stay untouched |
| Try one video | One local video | Reused, found, generated, or translated subtitles plus .mul.srt |
| Automate my library | A folder or Plex, Jellyfin, or Emby connection | New videos processed in the background |
The shortest useful path is Choose two SRTs. Select the subtitle spoken in the video, then the language you want to read or learn. SubDuet refuses to publish the result when timing confidence is too low.
For command-line users:
subduet pair Movie.ja.srt Movie.en.srt -o Movie.mul.srtThe CLI refuses an existing output. Choose a new filename, or explicitly add --overwrite to
replace that output; neither input can be replaced, even with this option. Desktop Quick Pair
keeps its existing numbered-copy behavior.
Timing pairing can be partial when it meets the configured minimum (70% by default). A partial result is saved with Review needed, and its source-only and target-only output SRT cue numbers are listed. All unmatched text remains in the file; no missing translation is invented. Inspect those cues before using the result. A saved file is not confirmation of complete pairing or translation quality. Require every input cue to have a timing match with:
subduet pair Movie.ja.srt Movie.en.srt -o Movie.strict.mul.srt --min-match-ratio 1Full timing coverage can also need readability review. CLI, desktop Quick Pair, and library results list the output cue, measured value, and proposed limit for long lines, too many lines, or long duration. These warnings preserve the emitted text and timing; they do not split cues or declare translations correct. The generic draft profile uses 42 Unicode codepoints per line in each language, two lines per language, four total lines, and 7000 ms maximum duration. These are configurable review thresholds, not universal rules or proof of playback readability.
For example, save {"target_line_codepoints_max": 22} as readability.json to use a tighter
target-language line threshold:
subduet pair Movie.en.srt Movie.zh-TW.srt -o Movie.mul.srt --readability-profile readability.jsonSee readability profiles for all fields and library configuration. Desktop Quick Pair uses the generic profile.
SubDuet takes the least invasive route that can produce a complete result:
existing tracks → optional subtitle search → optional speech generation
→ timing alignment → optional translation → AI final check → Movie.mul.srt
- Two existing languages are paired without a translation provider.
- Search uses the documented OpenSubtitles.com API and your own account or key.
- Speech generation and translation are opt-in and use the endpoint you configure.
- When enabled, the AI final check reviews the draft through that same translation connection.
- A translation is published only when every cue passes both completeness checks.
- Automatic processing and desktop Quick Pair never overwrite a previous bilingual output.
CLI pairing only replaces an output when you explicitly pass
--overwrite.
FFmpeg is optional and not bundled. Pairing two SRT files, the safe demo, search, and translation can work without it. Embedded-subtitle extraction, audio alignment, and speech generation need a separate FFmpeg installation.
English and Chinese are defaults, not limits. Use Japanese + English, English + Japanese,
Spanish + French, zh-HK + English, or another pair supported by your subtitle files or provider.
Choose which language appears on top. Regional tags and custom wording guidance are supported.
Movie.mul.srt uses the standard multilingual language tag and remains a normal sidecar subtitle.
The media servers below can be discovered directly; other players simply read the finished file.
| Library source | Discovery | New-item trigger |
|---|---|---|
| Plex | Authenticated library API | Polling or native webhook |
| Jellyfin | Authenticated user-items API | Polling or Webhook Plugin |
| Emby | Authenticated user-items API | Polling or webhook |
| Kodi, Infuse, VLC, NAS, or folders | Recursive file scan | Polling |
- The setup and dashboard stay on this device and load no remote app assets.
- SubDuet has no account, analytics SDK, or automatic telemetry.
- Existing SRT files remain byte-for-byte unchanged by default, including during audio alignment.
- Automated gates check tracked files, Git history, and release packages for common credential and private AI-context patterns without printing suspected values.
- Media stays local unless you explicitly enable a transcription provider; subtitle dialogue stays local unless you explicitly enable search or translation.
- AI requests never include video, local paths, media-server credentials, or API keys in their request body. Remote AI endpoints must use HTTPS; loopback AI can run without a key.
- Each release runs tests, dependency vulnerability and license checks, and includes an SBOM plus checksums.
Provider features are governed by that provider's terms, privacy policy, retention, and pricing. Read Security before exposing any service beyond a trusted home network.
New here? Start with the 10-minute beta mission or Troubleshooting.
- Documentation map
- Configuration and language examples
- Docker and NAS
- Support and safe bug reporting
- Public roadmap
- Architecture and trust boundaries
- Contributing
- Release changes
Questions belong in GitHub Discussions. For a reproducible problem, use the guided bug form. Nothing is collected automatically. Never post credentials, private paths, library screenshots, or subtitle content you do not have permission to share.
SubDuet requires Python 3.11 or newer:
python3 -m pip install .
subduetCheck a saved configuration without displaying secrets using subduet doctor. See
Contributing for the development environment and full test suite.
SubDuet is independently implemented and is not affiliated with Plex, Jellyfin, Emby, Synology, subtitle providers, or model providers. Copied or closely adapted code from other subtitle products is not accepted.
MIT. Dependency, FFmpeg, provider, and content boundaries are documented in Dependency policy and Third-party notices.

