格式化srt字幕
- 中文编码转换为UTF8
- 时间戳格式化 0: 1: 2,342 --> 0: 1: 5,334 to 00:01:02,342 --> 00:01:05,334
- 字幕序号强制从1开始
- 删除UTF8 BOM
go get github.com/emptyhua/srtformat
Usage: srtformat [options] <input.srt>
options:
-save
Save formated srt instead of printing out.