Scroll to navigation

SRT-FIXED-TIMESHIFT(1) User Commands SRT-FIXED-TIMESHIFT(1)

NAME

srt-fixed-timeshift - SRT subtitle processing tool

DESCRIPTION

usage: srt fixed-timeshift [-h] [--input FILE] [--output FILE] [--inplace]

[--no-strict] [--debug] [--ignore-parsing-errors]
[--encoding ENCODING] --seconds SECONDS

Shifts a subtitle by a fixed number of seconds.

options:

show this help message and exit
the file to process (default: stdin)
the file to write to (default: stdout)
modify file in place
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)
how many seconds to shift

examples:

Make all subtitles 5 seconds later
$ srt fixed-timeshift --seconds 5
Make all subtitles 5 seconds earlier
$ srt fixed-timeshift --seconds -5
December 2022 srt-fixed-timeshift 3.5.2