Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/choueric/mergesub
Merge srt subtitle files.
https://github.com/choueric/mergesub
golang srt subtitles
Last synced: about 2 months ago
JSON representation
Merge srt subtitle files.
- Host: GitHub
- URL: https://github.com/choueric/mergesub
- Owner: choueric
- License: gpl-3.0
- Created: 2017-02-07T01:20:54.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-13T05:58:58.000Z (almost 8 years ago)
- Last Synced: 2024-06-21T14:34:09.638Z (7 months ago)
- Topics: golang, srt, subtitles
- Language: Go
- Size: 25.4 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mergeSub
Merge srt subtitle files.
# Usage
```sh
mergeSub -i cd1.srt;cd2.srt -o output.srt -t 00:59:00,300
```* -i: input srt files. Use `;` to divide them.
* -o: output merged srt file.
* -t: offset between srt files. The format is same as the timecode in srt.
* -f: specify output file format, unix or dos.
* -d: verbose debug output.# TODO
- [x] Text section of a SRT item may have empty line.
- [x] detect dos and unix formats and add option to specify the format (dos or unix)
for the output file.