How the pairing works
A bilingual subtitle is two translations of the same cue, stacked. The naive approach — line 1 of file A with line 1 of file B — breaks as soon as one file has a merged cue, a missing line or a different offset. This tool pairs by start time: for each cue in the primary file it looks for the nearest unused cue in the second file within a tolerance window (default 900 ms), so a one-cue drift or a missing line does not shift everything after it.
Things to check before merging
- Fix the timing of both files first. Merging two files that are each out of sync by a different amount produces alternating wrong lines.
- Match the cue splits. If one language splits a sentence into two cues and the other keeps it in one, bilingual output looks ragged. Merging tolerates it; viewers notice it.
- Order matters. Original-on-top is the convention for language learning; translated-on-top is more readable for general audiences — both are a click.
No cue is silently dropped
Second-language cues that never found a partner are appended with their own timing instead of being discarded, so a missing line is visible in the output rather than invisible. The QC pass then flags the resulting overlaps or short cues.