.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH SRT-DEDUPLICATE "1" "June 2023" "srt-deduplicate 3.5.3" "User Commands" .SH NAME srt-deduplicate \- SRT subtitle processing tool .SH DESCRIPTION usage: srt deduplicate [\-h] [\-\-input FILE] [\-\-output FILE] [\-\-inplace] .TP [\-\-no\-strict] [\-\-debug] [\-\-ignore\-parsing\-errors] [\-\-encoding ENCODING] [\-t MILLISECONDS] .PP Deduplicate repeated subtitles. .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-input\fR FILE, \fB\-i\fR FILE the file to process (default: stdin) .TP \fB\-\-output\fR FILE, \fB\-o\fR FILE the file to write to (default: stdout) .TP \fB\-\-inplace\fR, \fB\-p\fR modify file in place .TP \fB\-\-no\-strict\fR allow blank lines in output, your media player may explode .TP \fB\-\-debug\fR enable debug logging .TP \fB\-\-ignore\-parsing\-errors\fR, \fB\-c\fR try to keep going, even if there are parsing errors .TP \fB\-\-encoding\fR ENCODING, \fB\-e\fR ENCODING the encoding to read/write files in (default: utf8) .TP \fB\-t\fR MILLISECONDS, \fB\-\-ms\fR MILLISECONDS how many milliseconds distance a subtitle start time must be within of another to be considered a duplicate (default: 5000ms) .SS "examples:" .IP Remove duplicated subtitles within 5 seconds of each other .IP \f(CW$ srt deduplicate -i duplicated.srt\fR .IP Remove duplicated subtitles within 500 milliseconds of each other .IP \f(CW$ srt deduplicate -t 500 -i duplicated.srt\fR .IP Remove duplicated subtitles regardless of temporal proximity .IP \f(CW$ srt deduplicate -t 0 -i duplicated.srt\fR