Project

srttool

0.0
No commit activity in last 3 years
No release in over 3 years
Srttool is a cli command to manipulate subrip text (srt)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

srttool

SRTTool is a cli command to manipulate subrip text (.srt) file.

It utilizes srt library to parse .srt files.

Installation

$ gem install srttool

Subcommands

  1. Split
srctool split -i '00:10:00,000' subtitle.srt
# generates subtitle-001.srt, ...

srctool split -i '00:10:00,000' -p 'movie' subtitle.srt
# generates movie-001.srt, ...

srctool split -i '00:10:00,000' --output-dir '/home/user/' subtitle.srt
# generates /home/user/subtitle-001.srt, ...

srctool split -i '00:10:00,000' --starting-index 5 subtitle.srt
# generates /home/user/subtitle-005.srt, ...