#subtitle #file-offset #timestamp #cli #srt #subtract

app subshift

A tool to add or subtract offsets to the timestamps in a .srt subtitle file

1 unstable release

0.1.0 Oct 12, 2021

#6 in #file-offset

MIT license

8KB
100 lines

subshift

A tool to add or subtract offsets to the timestamps in a .srt subtitle file. After offsets are applied the original file will be backed up to .orig

USAGE:
    subshift.exe --file <FILE> --offset <OFFSET>

FLAGS:
    -h, --help       Print help information
    -V, --version    Print version information

OPTIONS:
    -f, --file <FILE>        The path to the subtitle file
    -o, --offset <OFFSET>    The shift offset. To increment by half a second provide +500, To
                             decrement -500.

Dependencies

~3.5MB
~61K SLoC