CCExtractor Development

[Side task] Write a small program to merge .srt files

Sometimes you might have two subtitle files that you want to merge together in a single file. It can be helpful for when you are going to combine two files from the same movie or get a file with all subtitles from a lot of movies to work on them later. The task is to get the paths of the .srt files (from arguments or standard input) and create another file, with subtitles sorted by their time stamps.

Hint: You may do this task on any platform. Use of open source libraries in your program is not prohibited.

Task tags

  • merge
  • tool
  • program
  • srt
  • side task

Students who completed this task

Aadi Bajpai, Felix-1, chuan ouyang

Task type

  • code Code
close

2017