DOKK / manpages / debian 12 / python3-srt / srt-normalise.1.en
SRT-NORMALISE(1) User Commands SRT-NORMALISE(1)

srt-normalise - SRT subtitle processing tool

usage: srt normalise [-h] [--input FILE] [--output FILE] [--inplace] [--debug]

[--ignore-parsing-errors] [--encoding ENCODING]

Takes a badly formatted SRT file and outputs a strictly valid one.

show this help message and exit
the file to process (default: stdin)
the file to write to (default: stdout)
modify file in place
enable debug logging
try to keep going, even if there are parsing errors
the encoding to read/write files in (default: utf8)

Normalise a subtitle
$ srt normalise -i bad.srt -o good.srt
December 2022 srt-normalise 3.5.2