No commit activity in last 3 years
No release in over 3 years
For check encoding and srt subtitle number sequence
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 0.13
~> 12.3
~> 3.9

Runtime

~> 1.0
 Project Readme

SRT subtitle validator & converter

Check SRT file and try to fix it.

  • Convert to UTF-8
  • Convert line-endings to UNIX/Linux
  • Recreate number counter sequence

Why?

Because in my case Plex server & TV doesn't show subtitle correctly.

Installation

gem install 'srt_subtitle_validator'

Usage

  • Process files are overwritten with results.
  • For all processed files are created backup.

For analyze

srt_checker check <path to SRT file(s)>

For direct convert

srt_checker convert <path to SRT file(s)>

General options

--output, -o : Specify output directory of file. By default its same as input

--without_backup : Skip creating backup files.

--encoding, -e : Encoding of input file. By default it's windows-1250