.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2. .TH SRT-LINEAR-TIMESHIFT "1" "December 2022" "srt-linear-timeshift 3.5.2" "User Commands" .SH NAME srt-linear-timeshift \- SRT subtitle processing tool .SH DESCRIPTION usage: srt linear\-timeshift [\-h] [\-\-input FILE] [\-\-output FILE] [\-\-inplace] .TP [\-\-no\-strict] [\-\-debug] [\-\-ignore\-parsing\-errors] [\-\-encoding ENCODING] \fB\-\-from\-start\fR FROM_START \fB\-\-to\-start\fR TO_START \fB\-\-from\-end\fR FROM_END \fB\-\-to\-end\fR TO_END .PP Perform linear time correction on a subtitle. .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\-\-from\-start\fR FROM_START, \fB\-\-f1\fR FROM_START the first desynchronised timestamp .TP \fB\-\-to\-start\fR TO_START, \fB\-\-t1\fR TO_START the first synchronised timestamp .TP \fB\-\-from\-end\fR FROM_END, \fB\-\-f2\fR FROM_END the second desynchronised timestamp .TP \fB\-\-to\-end\fR TO_END, \fB\-\-t2\fR TO_END the second synchronised timestamp .SS "examples:" .IP Stretch out a subtitle so that second 1 is 2, 2 is 4, etc .IP \f(CW$ srt linear-timeshift --f1 00:00:01,000 --t1 00:00:01,000 --f2 00:00:02,000 --t2 00:00:03,000\fR