1

Topic: Subtitle speed changer,..

Here's a small tool I wrote to change the timestamps in different subtitle formats (idx/sub, srt, ass, ttxt).

Welcome to 'SubtitleSpeedChanger'!! written by Selur
subtitleSpeedChange --input "Path to subtitle file" --speed factor --delay delayMs --output "Path to output file"
 i.e.: subtitleSpeedChange --input "d:\InputSubtitle.idx" --speed 0.892 --delay 10 --output "Path to output file"
Side notes:
  [*] --input "Path to subtitle file"
        specifies the input file
  [*] --speed
        also accepts toFPS/fromFPS; and
  [*] --outfps
        alternative to --speed causes subtitleSpeedChange to guess the fps of the input subtitle and calculate the speed with the output to match the output fps

win32binary and source code can be grabbed here.

Cu Selur

2

Re: Subtitle speed changer,..

Sounds interresting. Under what license is the source code?

3

Re: Subtitle speed changer,..

Free, Public Domain, do not really care, do with it what you want.
.pro file might need updating to compile with Qt5, but other than that the code should compile&work on linux&mac too.
(haven't looked at the code for nearly 3 years)

Cu Selur

4

Re: Subtitle speed changer,..

It compiles without problems with Qt4 and Qt5. wink

5

Re: Subtitle speed changer,..

btw. commited the code to github: https://github.com/Selur/Subtitle-Speed-Changer

Cu Selur

6

Re: Subtitle speed changer,..

The program doesn't convert special characters like äöüßáè€ correctly when I was trying it with an ass file.

7

Re: Subtitle speed changer,..

Yup that might be. smile
It assumes the input is utf-8 coded iirc. smile