New answers tagged

2

The ttconv Python package will do it. It can be installed with pip.


1

Found out that ffmpeg works on the text based subtitle file just as well: $ cat subtitles.srt 1 00:00:06,000 --> 00:00:20,000 This is demo subtitle 1 2 00:00:20,000 --> 00:00:40,000 This is demo subtitle 2 $ ffmpeg -i subtitles.srt -ss 5 -t 60 -y cut.srt $ cat cut.srt 1 00:00:01,000 --> 00:00:15,000 This is demo subtitle 1 2 00:00:15,000 --> ...


Top 50 recent answers are included