SRT-FIXED-TIMESHIFT(1)

πŸ“¦
version 3.5.3 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu questing

✨ NAME ✨

srt-fixed-timeshift β€” the SRT subtitle processing tool that scooches your subs around in time, bestie πŸ’–


πŸŽ€ DESCRIPTION πŸŽ€

Okay so real talk: this lil command shifts a subtitle by a fixed number of seconds. That's it, that's the whole vibe. Everything's too early? Too late? Bump it. Slay. πŸ‘‘

Here's the whole usage situation, verbatim, no edits:

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

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

🌸 options: 🌸

  • -h, --help β€” show this help message and exit (your emotional support flag fr)
  • --input FILE, -i FILE β€” the file to process (default: stdin)
  • --output FILE, -o FILE β€” the file to write to (default: stdout)
  • --inplace, -p β€” modify file in place (yes she's editing the original, main character energy)
  • --no-strict β€” allow blank lines in output, your media player may explode πŸ’€ (like, they literally said that, I'm not being dramatic)
  • --debug β€” enable debug logging
  • --ignore-parsing-errors, -c β€” try to keep going, even if there are parsing errors
  • --encoding ENCODING, -e ENCODING β€” the encoding to read/write files in (default: utf8)
  • --seconds SECONDS β€” how many seconds to shift

πŸ¦‹ examples: πŸ¦‹

Make all subtitles 5 seconds later:

$ srt fixed-timeshift --seconds 5

Make all subtitles 5 seconds earlier (yes, negative numbers, she's flexible):

$ srt fixed-timeshift --seconds -5

That's the whole page, gorgeous. Go shift some subs. πŸ’œ

srt-fixed-timeshift 3.5.3 β€” June 2023 β€” ok bye ily, drink water πŸ«ΆπŸ’…βœ¨

πŸ“¦ where this page comes from