Anyone know if there are any tools that can adjust timestamps for subtitle files (.srt)? Just downloaded my first one and it is 15 seconds behind my MP4 file...

Basically i want to subtract 15 seconds from timestamps like this:

00:50:53,620 --> 00:50:57,320

so they become

00:50:38,620 --> 00:50:42,320

@Ichinin Subtitle Workshop should be able to do this, though it's a Windows utility
https://subworkshop.sourceforge.net/index.php
@dan Latest release: 2013(!) LOL, I may still try this, don't wanna spend time writing another console app I use maybe 2 times in my life.
@Ichinin text file formats probably don’t change that much. Maybe Wine can just run it?

@dan I still have windows machines, it's just my laptops that has gone full Linux.

Also i wrote a bit of .NET code for it in 2 minutes.

@Ichinin The answwer to any question "is there a tool that can do X to video" is almost always `ffmpeg -X`.
In this case:
`ffmpeg -itsoffset 15 -i /path/to/your/subtitles.srt /path/to/your/subtitles_delayed.srt`
#ffmpeg #foss
@Ichinin I found this out after spending ages writing a python script to do it ofc.
@stib Works, but for me i had to use -itsoffset -15 to shift it back in time.