SRT-MUX(1)
π SRT-MUX(1) β the srt-mux era π
okay bestie, pull up a chair π«Ά this is the manual page for srt-mux, aka the SRT subtitle processing tool, and yes it's literally as iconic as it sounds. it's giving "I merge your subs so you don't have to". no cap.
β¨ NAME β¨
srt-mux β SRT subtitle processing tool π
πΈ DESCRIPTION πΈ
here's the whole vibe, straight up:
usage: srt mux [-h] --input FILE [--output FILE] [--no-strict] [--debug]
[--ignore-parsing-errors] [--encoding ENCODING] [--ms
MILLISECONDS] [-w WIDTH] [-t] [--no-time-matching]
so what does it do?? it merges multiple subtitles together into one. that's it. that's the whole thing. multiple sub files walk in, one sub file walks out ππ¦
π options: π
-h,--helpβ shows you this help message and then dips. exit stage left. π¨--input FILE,-i FILEβ the files to process. yes you can pass it more than once, that's the whole point bestie π--output FILE,-o FILEβ the file to write to. default?stdout. so if you don't say where, it just screams into your terminal π--no-strictβ allows blank lines in the output. and likeβ¦ your media player may explode π that's a direct quote, not me being dramatic (okay it's a little me being dramatic, but the manpage said it first)--debugβ turns on debug logging. for when you need to see everything π--ignore-parsing-errors,-cβ tries to keep going, even if there are parsing errors. main character energy: refuses to stop ββ¨--encoding ENCODING,-e ENCODINGβ the encoding to read/write files in. default:utf8πΈ--ms MILLISECONDSβ if the subs being muxed are within this number of milliseconds of each other, their times get matched up π«Ά default:600-w WIDTH,--width WIDTHβ how many subs to consider for time matching at once. default:5-t,--top-and-bottomβ uses SSA-style tags to place the files at the top and the bottom, respectively. this turns off time matching, just so you know π--no-time-matchingβ don't even try to do time matching for close subtitles (peep--msif you wanna know the deets) π¦
π examples: π
merge English and Chinese subtitles β a classic, honestly:
$ srt mux -i eng.srt -i chs.srt -o both.srt
merge subtitles, with one on top and one at the bottom β stacking era:
$ srt mux -t -i eng.srt -i chs.srt -o both.srt
lowkey reminder: -t kills time matching. that's not a bug, that's just the deal π
and that's the page!! srt-mux 3.5.3, born June 2023, still slaying π if you made it this far you're officially a subtitle girlie now, iykyk. mwah πβ¨π¦
π¦ where this page comes from
- debian trixie: python3-srt 3.5.3-1 Β· MIT
- ubuntu noble: python3-srt 3.5.3-1 Β· MIT
- ubuntu questing: python3-srt 3.5.3-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms