Scroll to navigation

SRT-MUX(1) User Commands SRT-MUX(1)

NAME

srt-mux - SRT subtitle processing tool

DESCRIPTION

usage: srt mux [-h] --input FILE [--output FILE] [--no-strict] [--debug]

[--ignore-parsing-errors] [--encoding ENCODING] [--ms MILLISECONDS] [-w WIDTH] [-t] [--no-time-matching]

Merge multiple subtitles together into one.

options:

show this help message and exit
the files to process
the file to write to (default: stdout)
allow blank lines in output, your media player may explode
enable debug logging
try to keep going, even if there are parsing errors
the encoding to read/write files in (default: utf8)
if subs being muxed are within this number of milliseconds of each other, they will have their times matched (default: 600)
how many subs to consider for time matching at once (default: 5)
use SSA-style tags to place files at the top and bottom, respectively. Turns off time matching
don't try to do time matching for close subtitles (see --ms)

examples:

Merge English and Chinese subtitles
$ srt mux -i eng.srt -i chs.srt -o both.srt
Merge subtitles, with one on top and one at the bottom
$ srt mux -t -i eng.srt -i chs.srt -o both.srt
December 2022 srt-mux 3.5.2