I'm searching for a command line tool that can shift the timing of a subtitle file (*.srt, *.ass).
21 Answer
You can try:
Subsync.
Subsync is a command line tool to syncronize srt subtitles.
You can use it to fix subtitles with both constant and variable time shift.
Ffsubsync
Language-agnostic automatic synchronization of subtitles with video,
so that subtitles are aligned to the correct starting point within the video.